Skip to content

Integrate u-boot-seco-imx/seco_lf_v2021.04_develop-c57

GitBot requested to merge u-boot-seco-imx/seco_lf_v2021.04_develop-c57 into kirkstone

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/e7ada2397532f3139b270336526b1b17a6c5ca72

[C57][C57-68] Add support to all DDR sizes & minor fix

Add support to all the DDR sizes according to SECO_CODE_X pins. Without this some boards don't work due to the wrong size of memory allocated.

Minor fixes:

  • 1024x600 LVDS name fix
  • boot IDs fix in seco_imx8qxp_c57.h
  • strap fix adding pull-up on SECO_CONFIG_CODE4

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/6fd353b118cb35711015493277ed61e3fde9a9df

[C57] Fix "Unknown command 'load'" error

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/a9fa2fa465f1a71b4cd254552d974b94cd293dd4

[C57][NON-FUNCTIONAL] Code clean-up

Refactor and removed from the device-tree the unnecessary nodes inherited from NXP's iMX8QXP-MEK reference project.

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/7e86909e4874ed8d35c4b1b8be74bf7a24283076

[C57][C57-15] Fix strap and boot from USB

Fix the handling of GPIOs at boot time to successfully:

  • readout the pins defining Seco code (both HW revision and RAM configuration).
  • handle the USB related pins.

The boot from USB is now working replacing load with fatload in fdt_load2ram and kernel_load2ram.

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/d9006d86493ad12ce67a1619479c716b2797e10c

[C57][C57-12][C57-13] Add UART2 to the list of power-on devices

This fix keeps the UART2 powered even after the boot process is complete. The previous commit didn't prompt any output on the serial port and the string "Starting kernel..." and the kernel itself were not visible.

The boot via network is now working with seco_config env. configuration. The boot via MMC needs to replace load with fatload in the variables fdt_load2ram and kernel_load2ram.

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/e85b26168c48740b8207ea8eec2020ed77fa1e63

[C57] Add board-related routines and setup the device tree

Adapt the reference NXP project to the actual C57 board. Changes:

  • correct C57 device tree
  • add strap configuration files
  • add environment configuration header
  • add TI PHY to the defconfig
  • shrink spl.c from unneeded features of NXP reference project
  • add informations needed by seco_config

Starting from this commit the bootloader is reached but it's not currently able to boot. Some tested functions (such as ping via Ethernet) are working.

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/1f24e20910725304e301850b66373e195335b213

[C57] Set UART2 as debug serial and eMMC part. 0 as environment

Changing these configurations the fastboot is working and the environment can be accessed.

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/3d84551d17d8c1938d022906d146a232b0d4ee95

[C57] Adapt iMX8QXP-Mek to build for Seco C57

  • defconfig sorted CONFIGs and configured to build for C57
  • fix arch/arm/dts/Makefile: C57 device tree blob moved under CONFIG_ARCH_IMX8
  • fix arch/arm/mach-imx/imx8/Kconfig adding TARGET_SECO_IMX8QXP_C57
  • add to proto_seco.h the CONFIG_TARGET_SECO_IMX8QXP_C57 flag to handle the usdhc
  • add Seco common dependencies to imx8qxp-c57.c
  • adapt seco_imx8qxp_c57.h to Seco-style headers (NOTE: the content must be reviewed)

This commit builds the uboot but it has not been tested.

--

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/a5fc72ce59467bd022759a9c4a09ab3ae694d57f

[iMX8QXP][C57] Init porting derived from iMX8QXP-Mek

Merge request reports

Loading