Hello,
I used SD card boot TWR_LS1021 board. I connect TWR-LS1021A with external hard driver. But u-boot cannot detect it. The below is my u-boot log:
U-Boot 2015.01+ls1+g6ba8eed (Sep 01 2015 - 13:21:32)
CPU: Freescale LayerScape LS1021E, Version: 1.0, (0x87081110)
Clock Configuration:
CPU0(ARMV7):1000 MHz,
Bus:300 MHz, DDR:800 MHz (1600 MT/s data rate),
Reset Configuration Word (RCW):
00000000: 0608000a 00000000 00000000 00000000
00000010: 20000000 00407900 60040a00 21046000
00000020: 00000000 00000000 00000000 00038000
00000030: 00080000 881b7340 00000000 00000000
Board: LS1021ATWR
CPLD: V2.2
PCBA: V3.0
VBank: 0
I2C: ready
DRAM: 1 GiB
Using SERDES1 Protocol: 32 (0x20)
Flash: 128 MiB
MMC: FSL_SDHC: 0
PCIe1: Root Complex no link, regs @ 0x3400000
PCIe2: Root Complex no link, regs @ 0x3500000
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
SATA link 0 timeout.
AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc
scanning bus for devices...
Found 0 device(s).
SCSI: Net: eTSEC1 is in sgmii mode.
eTSEC2 is in sgmii mode.
eTSEC1, eTSEC2, eTSEC3 [PRIME]
=>
What is the correct RCW for SD boot and support SATA, USB etc?
Can anybody send me an u-boot image for sd boot and support SATA3.0 device detect?
Thanks,
Jian
I got SATA works on my LS1021TWR.
Thank Sinan and Yiping's help,
Regards,
Jian
Hello Jian Wu,
You didn't enable SATA in RCW, please refer to the following SerDes options for RCW[128:135].
Please use RSR_PPS_70 RCW provided in the prebuilt images ISO.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yiping,
Thanks for your help.
Once I boot up LS1021twr with SD card, how can I update RCW with your attached rcw_1000.bin?
Thanks,
Jian
Any answer and help?
Thanks,
Jian
Any help will be appreciated.
Thanks,
Jian
Hi Jian
Can you try this with mainline u-boot and see
if it works. If you have problem with mainline
u-boot, you could then also ask in u-boot mailing
list and I can be also more help as I am more familiar
with mainline u-boot.
Please give it a try with mainline u-boot.
Regards
Sinan Akman
Hi Sinan,
Thanks for your help.
Can you attach your mainline u-boot image binary for sd boot for me?
Many thanks,
Jian
Hi Jian
I don't think there is a way for me to attach a binary file here.
You can generate the binary image yourself :
git clone git://git.denx.de/u-boot.git u-boot/
cd u-boot
git checkout v2015.10
make distclean
make ls1021atwr_sdcard_defconfig
make all
the binary file you need is : u-boot-with-spl-pbl.bin
Try building the image and this way you can also
debug it if it is failing.
If you have problems, send your e-mail address and
I will e-mail you the binary file.
Regards
Sinan Akman
Hi Sinan,
Thanks a lot for your help.
I got problem to build the SD: u-boot.bin. Could you please send me your SD u-boot binary to try?
My email: jianwu@qnx.com
Thanks a lot,
Jian
Hi Jian
What kind of problems did you have building the u-boot binary.
Can you please send me your build errors.
I will send you the binary in a separate e-mail.
Did Yiping's suggestion not help ?
Please show your build errors here that we can help.
Regards
Sinan Akman