I'm trying to get my own build running on a LS1043A gateway. I installed SDK v2.0 and the 1703 update. Then I did the following steps:
. ./fsl-setup-env -m ls1043ardb
I flashed the resulting u-boot-nand to the box's NAND and it bricked the box :-/ I'm trying to recover the box by booting from flash using the u-boot-sdcard from the same built. Turns out that's not working either.
First sign of life I got again was after flashing
from the LS1043-ADK-BIN_v7.0.0.tar package to the SD card. The box now boots from SD card but it doesn't help much as this U-Boot is for NAND boot. Output is as follows:
U-Boot SPL 2016.09 (Jul 06 2017 - 20:20:07)
Applying DDR4 workaround ......
Trying to boot from NAND
U-Boot 2016.092.0+ga06b209 (Aug 09 2017 - 17:28:07 +0200)
SoC: LS1043AE Rev1.1 (0x87920011)
CPU0(A53):1600 MHz CPU1(A53):1600 MHz CPU2(A53):1600 MHz
Bus: 400 MHz DDR: 1600 MT/s FMAN: 500 MHz
Reset Configuration Word (RCW):
00000000: 08100010 0a000000 00000000 00000000
00000010: 14550002 80004002 e0106000 c1002000
00000020: 00000000 00000000 00000000 01030940
00000030: 00000000 24003005 00000096 00000001
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from Invalid setting of SW4
SERDES Reference Clocks:
That's it. So my status is I can boot from SD card but I'm lacking a U-Boot which is booting successfully and which allows me to replace the NAND or NOR U-Boot with a working version.
My questions are:
How do I have to customize the SDK's U-Boot configuration and build to get U-Boot images working on the LS1043A gateway box?
Are there further customizations necessary to get a working kernel, etc. as well?
Thanks in advance