AnsweredAssumed Answered

U-Boot built by SDK v2.0-1703 for LS1043 not working on LS1043A Gateway

Question asked by Thomas Klein on Aug 17, 2017
Latest reply on Aug 31, 2017 by Bernhard Strasser

Hi,

 

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
bitbake fsl-image-full
bitbake fsl-image-kernelitb

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

RSR/ls1043a-rgw/u-boot-2016.01-v201601.02.1-ls1043a-rgw.bin

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)
Initializing DDR....
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)
Clock Configuration:
       CPU0(A53):1600 MHz  CPU1(A53):1600 MHz  CPU2(A53):1600 MHz  
       CPU3(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
CPLD:  Vfb.fb
PCBA:  Vfb.0
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

Thomas

Outcomes