U Boot mmc error when boot from SD card in LS1046ARDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

U Boot mmc error when boot from SD card in LS1046ARDB

1,006 Views
balaka
Contributor III

While setting up the new LS1046A RDB board to project specific distribution by using the SD card. Followed the instructions, jumper settings and switch configurations as provided in the LS1046ARDBGSG.pdf.

But I am facing the below issue and not booting from the SD card:

U-Boot 2021.04-ge2eba0cd58 (Aug 27 2021 - 22:20:55 +0800)

SoC: LS1046AE Rev1.0 (0x87070010)
Clock Configuration:
CPU0(A72):1800 MHz CPU1(A72):1800 MHz CPU2(A72):1800 MHz
CPU3(A72):1800 MHz
Bus: 700 MHz DDR: 2100 MT/s FMAN: 800 MHz
Reset Configuration Word (RCW):
00000000: 0e150012 10000000 00000000 00000000
00000010: 11335559 40005012 40025000 c1000000
00000020: 00000000 00000000 00000000 00238800
00000030: 20124000 00003101 00000096 00000001
Model: LS1046A RDB Board
Board: LS1046ARDB, boot from QSPI vBank 4
CPLD: V2.3
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
DRAM: 15.9 GiB (DDR4, 64-bit, CL=15, ECC on)
DDR Chip-Select Interleaving Mode: CS0+CS1
Using SERDES1 Protocol: 4403 (0x1133)
Using SERDES2 Protocol: 21849 (0x5559)
NAND: 512 MiB
MMC: FSL_SDHC: 0
Loading Environment from SPIFlash... SF: Detected s25fs512s with page size 256 Bytes, erase size 256 KiB, total 64 MiB
OK
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
Net: SF: Detected s25fs512s with page size 256 Bytes, erase size 256 KiB, total 64 MiB
Fman1: Uploading microcode version 106.4.18
eth0: fm1-mac3, eth1: fm1-mac4, eth2: fm1-mac5, eth3: fm1-mac6, eth4: fm1-mac9, eth5: fm1-mac10
Hit any key to stop autoboot: 0
scanning bus for devices...
SATA link 0 timeout.
AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst

Device 0: unknown device
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
** Unable to read file / **
Failed to load '/'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk esdhc@1560000.blk...
Found 4 disks
No EFI system partition
ERROR: invalid device tree
Scanning mmc 0:2...
** Unable to read file / **
Failed to load '/'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
ERROR: invalid device tree
Scanning mmc 0:3...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
ERROR: invalid device tree
starting USB...
Bus usb@2f00000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus usb@3000000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus usb@3100000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@2f00000 for devices... 1 USB Device(s) found
scanning bus usb@3000000 for devices... 1 USB Device(s) found
scanning bus usb@3100000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s)

 

Kindly suggest on the issue?

Tags (1)
0 Kudos
Reply
4 Replies

981 Views
balaka
Contributor III
partitions of the disk is as follows:
=> ls mmc 0:1
6915644 uImage
31455 linux_dt.dtb
System Volume Information/

2 file(s), 1 dir(s)

=> ls mmc 0:2
2916416 minrfs-ls1046ardb-32b.cpio.img
System Volume Information/

1 file(s), 1 dir(s)

=> ls mmc 0:3
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 16384 lost+found
<DIR> 4096 lib
<DIR> 4096 dev
<DIR> 4096 www
<DIR> 4096 root
<SYM> 19 linuxrc
<DIR> 4096 var
<DIR> 4096 mnt
<DIR> 4096 proc
6 counts_per_sec
<DIR> 4096 media
<DIR> 4096 bin
<DIR> 4096 tmp
<DIR> 4096 lib64
<DIR> 4096 etc
<DIR> 4096 sbin
<DIR> 4096 home
<DIR> 4096 run
<DIR> 4096 sys
<DIR> 4096 usr
<DIR> 4096 boot

NOTE: Currently using the SD card which is working in the older version of the LS1046ARDB
CPLD: V2.2
PCBA: V2.0
0 Kudos
Reply

962 Views
Oswalag
NXP TechSupport
NXP TechSupport

If you are using the ls1046ardb board please try to boot from a another sd card with the pre-build firmware from:

https://lsdk.github.io/components.html

 

Oswalag_0-1726688510844.png

 

0 Kudos
Reply

950 Views
balaka
Contributor III
thank you very much for the Information.

Also, could you please suggest how upload this image along with project specific distribution loaded in the SD card.
0 Kudos
Reply

906 Views
Oswalag
NXP TechSupport
NXP TechSupport

You can use the flex-installer tool, for more information please refer to the Layerscape Linux Distribution POC User Guide

 

0 Kudos
Reply