LS1021ATSN-PA print "ERROR: Did not find a cmdline Flattened Device Tree"

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1021ATSN-PA print "ERROR: Did not find a cmdline Flattened Device Tree"

3,392件の閲覧回数
nuktx
Contributor I

I need to start the LS1021ATSN-PA. I have prepare the SD card according to LS1021ATSN-PA Getting Start Guide,
when I insert the SD card to the board, 

While starting it prints:

U-Boot SPL 2015.01+ls1+g3281947 (May 11 2016 - 20:03:32)

U-Boot 2015.01+ls1+g3281947 (May 11 2016 - 20:03:32)

CPU: Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)
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: 30000000 08007900 60025a00 21046000
00000020: 00000000 00000000 00000000 10002000
00000030: 20124800 8804b340 00000000 00000000
Board: LS1021ATSN
CPLD: V2.5
I2C: ready
DRAM: 1 GiB
Using SERDES1 Protocol: 48 (0x30)
MMC: FSL_SDHC: 0
EEPROM: Invalid ID (ff ff ff ff)
PCIe1: Root Complex no link, regs @ 0x3400000
PCIe2: disabled
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.
Phy 0 not found
PHY reset timed out
eTSEC1 [PRIME], eTSEC2, eTSEC3
Hit any key to stop autoboot: 0
4149432 bytes read in 331 ms (12 MiB/s)
0 bytes read in 113 ms (0 Bytes/s)
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.12.37-rt51+ls1+gaaa395f
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4149368 Bytes = 4 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree

this is my env config:

setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait
setenv load_kernel ext2load mmc :1 82000000 boot/uImage-ls1021atsn.bin
setenv load_dtb ext2load mmc :1 8f000000 boot/uImage-ls1021a-tsn.dtb
setenv bootcmd 'mmc rescan; run load_kernel load_dtb; bootm 82000000 - 8f000000'
setenv eth2addr 00:1f:7b:63:02:6e
setenv eth1addr 00:1f:7b:63:02:6f
setenv ethaddr 00:1F:7B:63:02:CA
setenv ethact eTSEC1
setenv ethprime eTSEC1
saveenv

How can i resolve this?

0 件の賞賛
返信
1 返信

3,374件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please execute the following command in u-boot to check whether the device tree can be printed.

=> ext2load mmc :1 8f000000 boot/uImage-ls1021a-tsn.dtb

=> fdt addr 0x8f000000
=> fdt print

0 件の賞賛
返信