LS1028rdb linux boot issue

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

LS1028rdb linux boot issue

902 Views
sjane
Contributor I

Hi All,

I fused the sd card using flex-installer. I am getting the error as follows:

U-Boot 2022.04+fsl+g7376547b9e4 (Mar 01 2023 - 07:35:40 +0000)

SoC: LS1027A Rev1.0 (0x870b0510)
Clock Configuration:
CPU0(A72):1500 MHz CPU1(A72):1500 MHz
Bus: 400 MHz DDR: 1600 MT/s
Reset Configuration Word (RCW):
00000000: 3c004010 00000030 00000000 00000000
00000010: 00000000 018f0000 0030c000 00000000
00000020: 020031a0 00002580 00000000 00003296
00000030: 00000000 00000010 00000000 00000000
00000040: 00000000 00000000 00000000 00000000
00000050: 00000000 00000000 00000000 00000000
00000060: 00000000 00000000 200e705a 00000000
00000070: bb580000 00000000
Model: LS1028A RDB Board
Board: LS1027A Rev1.0-unknown, Version: O, boot from SD
FPGA: v255 (unknown)
SERDES1 Reference : Clock1 = 161.13MHz Clock2 = 161.13MHz
DRAM: 3.9 GiB
DDR 3.9 GiB (DDR4, 32-bit, CL=11, ECC on)
Using SERDES1 Protocol: 47960 (0xbb58)
PCIe1: pcie@3400000 Root Complex: no link
PCIe2: pcie@3500000 Root Complex: no link
Core: 41 devices, 21 uclasses, devicetree: separate
WDT: Started watchdog@c000000 with servicing (60s timeout)
WDT: Started watchdog@c010000 with servicing (60s timeout)
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
EEPROM: Read failed.
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
Net: Could not get PHY for emdio-3: addr 2

eth1: enetc-2, eth2: swp0, eth3: swp1, eth4: swp2, eth5: swp3
Hit any key to stop autoboot: 0
Trying load HDP firmware from SD..
switch to partitions #0, OK
mmc0 is current device
Device: FSL_SDHC
Manufacturer ID: 3
OEM: 5344
Name: SS16G
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

MMC read: dev # 0, block # 18944, count 512 ... 512 blocks read: OK
Loading hdp firmware from 0x00000000a0000000 offset 0x0000000000002000
Loading hdp firmware Complete
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /ls1028ardb_boot.scr
1038 bytes read in 2 ms (506.8 KiB/s)
## Executing script at 80000000
45062656 bytes read in 1873 ms (22.9 MiB/s)
27597 bytes read in 3 ms (8.8 MiB/s)
## Flattened Device Tree blob at 90000000
Booting using the fdt blob at 0x90000000
"Synchronous Abort" handler, esr 0x96000021
elr: 0000000082021344 lr : 0000000082021340 (reloc)
elr: 00000000fbd42344 lr : 00000000fbd42340
x0 : 00000000ffffff9b x1 : 00000000fbb2f6f8
x2 : 00000000ffffff9b x3 : 0000000000000000
x4 : 0000000000000041 x5 : 0000000000000000
x6 : 0000000000000007 x7 : 00000000fbb2f6f8
x8 : fffffffffffffff0 x9 : 0000000000000008
x10: 0000000000004800 x11: 00000000fbb136fc
x12: 0000000000000000 x13: 0000000000000200
x14: 00000000fbb15a60 x15: 0000000000000020
x16: 00000000fbd642a4 x17: 0000000000000000
x18: 00000000fbb1cda0 x19: 0000000000000031
x20: 00000000fbde4960 x21: 00000000fbb2f6f8
x22: 0000000000000003 x23: 0000000000000000
x24: 00000000fbdd0068 x25: 00000000fbb2f908
x26: 0000000000000000 x27: 0000000000000000
x28: 00000000fbb2fb60 x29: 00000000fbb137b0

Code: aa1503e1 91004260 94017e44 34fffe20 (f9400273)
Resetting CPU ...

0 Kudos
Reply
3 Replies

868 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please use LSDK 21.08 pre-build images.

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/flex-installer && chmod +x flex-installer && sudo mv flex-installer /usr/bin

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/firmware_ls1028ardb_sdboot.img

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/boot_LS_arm64_lts_5.10.tgz

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz

 

$ flex-installer -i pf -d /dev/sdb

$ flex-installer -f firmware_ls1028ardb_sdboot.img -b boot_LS_arm64_lts_5.10.tgz -r rootfs_lsdk2108_ubuntu_main_arm64.tgz -d /dev/sdb

Please note /dev/sdb is SD device name on the host PC.

Then configure your target board boot from SD card.

 

0 Kudos
Reply

862 Views
sjane
Contributor I

Hi,

Thanku for ur reply. I did that also but still i am getting stuck at that point. My board is slightly modified than the rdb . I have connected different phy on sgmii link with phy address as 36. Also modified the dts file according. Still that synchronous abort error persists. This is happening in langdale branch compilation.  I compiled the mickeldore branch there it is working fine without modifying any dts files .

with regards,

Smita

 

0 Kudos
Reply

857 Views
yipingwang
NXP TechSupport
NXP TechSupport

Which version LSDK are you using now? Which version LSDK does your u-boot come from?

Please use flex-installer script downloaded from that version LSDK.

Please use the original dtb file first without your modification.

0 Kudos
Reply