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: edgehog/bsp/nxp/u-boot-seco-imx@e7ada239

[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: edgehog/bsp/nxp/u-boot-seco-imx@6fd353b1

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

--

Commit: edgehog/bsp/nxp/u-boot-seco-imx@a9fa2fa4

[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: edgehog/bsp/nxp/u-boot-seco-imx@7e86909e

[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: edgehog/bsp/nxp/u-boot-seco-imx@d9006d86

[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: edgehog/bsp/nxp/u-boot-seco-imx@e85b2616

[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: edgehog/bsp/nxp/u-boot-seco-imx@1f24e209

[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: edgehog/bsp/nxp/u-boot-seco-imx@3d84551d

[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: edgehog/bsp/nxp/u-boot-seco-imx@a5fc72ce

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

Merge request reports