Unable to boot openwrt

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

Unable to boot openwrt

1,243 Views
zhangjian3
Contributor I

The openwrt system of ls1043a motherboard cannot be started,  the tips are as follows: “FDT and ATAGS support not compiled in - hanging”.Please tell me what I need to do?

This is my email address zhangjian@it525.com

U-Boot 2018.03 (Dec 24 2018 - 01:06:38 +0000)

SoC: unknown (0x87920411)
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: 45580002 00004012 e0025000 c1002000
00000020: 00000000 00000000 00000000 00038800
00000030: 00000000 00001101 00000096 00000001
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 0
CPLD: V2.0
PCBA: V5.0
SERDES Reference Clocks:
SD1_CLK1 = 100.00MHZ, SD1_CLK2 = 100.00MHZ
I2C: ready
DRAM: Initialzing DDR using fixed setting
Configuring DDR for 1600 MT/s data rate
3.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 17752 (0x4558)
SEC0: RNG instantiated
PPA Firmware: Version LSDK-18.09
Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0
QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
Loading Environment from Flash... OK
EEPROM: Read failed.
In: serial
Out: serial
Err: serial
SCSI: PCIe0: pcie@3400000 Root Complex: no link
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 disabled
Error: SCSI Controller(s) 1B4B:9170 not found
Net: Fman1: Uploading microcode version 106.4.18
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6
Hit any key to stop autoboot: 0
starting openwrt ...
Trying load from SD ..
Device: FSL_SDHC
Manufacturer ID: 2
OEM: 544d
Name: SA08G
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.2 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

MMC read: dev # 0, block # 32768, count 81920 ... 81920 blocks read: OK
## Booting kernel from Legacy Image at a0000000 ...
Image Name: ARM64 OpenWrt Linux-4.14.180
Image Type: AArch64 Linux Kernel Image (gzip compressed)
Data Size: 5585812 Bytes = 5.3 MiB
Load Address: 80080000
Entry Point: 80080000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
FDT and ATAGS support not compiled in - hanging
### ERROR ### Please RESET the board ###

0 Kudos
3 Replies

1,184 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello  zhangjian zhang,

Please use NXP latest released OpenWrt.

$ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/openwrt

$ git checkout OpenWrt-19.04
$ make menuconfig

Target System (NXP Layerscape) ---> x x
 Subtarget (ARMv8 64-bit based boards) ---> x x
Target Profile (LS1043ARDB) --->  

$ make

Generate images in bin/targets/layerscape/armv8_64b/.

LS1043ARDB (NOR flash)
Start up from bank0, and program firmware to bank4 with below commands.
Switch to bank4 to start up OpenWrt.

=> tftp a0000000 <firmware_name>-firmware.bin
=> protect off all
=> erase 64000000 +$filesize
=> cp.b a0000000 64000000 $filesize
=> cpld reset altbank

In linux environment, program image to SD card with the following command.

$ dd if=./<image_name>-sdcard.img of=/dev/mmcblkx

0 Kudos

1,182 Views
zhangjian3
Contributor I

I need a complete set of compiler tools and environment, can you provide it to me? Please! 

0 Kudos

1,184 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please create a new thread to track your new requirement.

0 Kudos