Integrate u-boot-seco-imx/seco_lf_v2021.04_develop-c57
[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
--
[C57] Fix "Unknown command 'load'" error
--
[C57][NON-FUNCTIONAL] Code clean-up
Refactor and removed from the device-tree the unnecessary nodes inherited from NXP's iMX8QXP-MEK reference project.
--
[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
.
--
[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
.
--
[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.
--
[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.
--
[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 underCONFIG_ARCH_IMX8
- fix
arch/arm/mach-imx/imx8/Kconfig
addingTARGET_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.
--
[iMX8QXP][C57] Init porting derived from iMX8QXP-Mek