LX2160A RDB BOOT TinyLinux failed

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

LX2160A RDB BOOT TinyLinux failed

34 Views
WuzengLi
Contributor I

Hello,

I created firmware image using LLDP. The log output is stuck at 

[ 0.637690] Machine: NXP Layerscape LX2160ARDB
[ 0.642182] SoC family: QorIQ LX2160A
[ 0.645875] SoC ID: svr:0x87361020, Revision: 2.0
[ 0.651873] 21c0000.serial: ttyAMA0 at MMIO 0x21c0000 (irq = 33, base_baud = 0) is a SBSA
[ 0.660167] printk: console [ttyAMA0] enabled
[ 0.664566] printk: bootconsole [pl11] disabled

 All Boot log

NOTICE: BL2: v2.6(release):devtool-patched-0-g7ce4ec545-dirty
NOTICE: BL2: Built : 02:22:22, Jul 12 2024
NOTICE: Fixed DDR on board
NOTICE: DDR4 UDIMM with 1-rank 64-bit bus (x16)

NOTICE: 16 GB DDR4, 64-bit, CL=22, ECC off, 256B
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.6(release):devtool-patched-0-g7ce4ec545-dirty
NOTICE: BL31: Built : 02:22:22, Jul 12 2024
NOTICE: Welcome to lx2160ardb BL31 Phase


U-Boot 2022.04+fsl+g181859317bf (Jul 12 2024 - 02:02:05 +0000)

SoC: LX2160AE Rev2.0 (0x87361020)
Clock Configuration:
CPU0(A72):2200 MHz CPU1(A72):2200 MHz CPU2(A72):2200 MHz
CPU3(A72):2200 MHz CPU4(A72):2200 MHz CPU5(A72):2200 MHz
CPU6(A72):2200 MHz CPU7(A72):2200 MHz CPU8(A72):2200 MHz
CPU9(A72):2200 MHz CPU10(A72):2200 MHz CPU11(A72):2200 MHz
CPU12(A72):2200 MHz CPU13(A72):2200 MHz CPU14(A72):2200 MHz
CPU15(A72):2200 MHz
Bus: 750 MHz DDR: 3200 MT/s
Reset Configuration Word (RCW):
00000000: 5883833c 24580058 00000000 00000000
00000010: 00000000 0c010000 00000000 00000000
00000020: 384001a0 00002580 00000000 02000009
00000030: 08050400 00000001 00000000 00000000
00000040: 00000000 00000000 00000000 00000000
00000050: 00000000 00000000 00000000 00000000
00000060: 00000000 00000000 00027019 00000000
00000070: 0c06000c 00150000
Model: NXP Layerscape LX2160ARDB Board
Board: LX2160AE Rev2.0-RDB, Board version: O, firmware version: V0710.0, boot from invalid setting, xmap: 7
FPGA: v255.255
SERDES1 Reference: Clock1 = 161.13MHz Clock2 = 161.13MHz
SERDES2 Reference: Clock1 = 100MHz Clock2 = 100MHz
SERDES3 Reference: Clock1 = 100MHz Clock2 = 100MHz
I2C: Bus 0 has no device with address 0x77
PCA: No PCA9547 device found
I2C: Bus 0 has no device with address 0x77
PCA: No PCA9547 device found
core voltage not adjusted
DRAM: 15.9 GiB
DDR 15.9 GiB (DDR4, 64-bit, CL=22, ECC off)
DDR Controller Interleaving Mode: 256B
I2C: Bus 0 has no device with address 0x77
PCA: No PCA9547 device found
Core: 37 devices, 17 uclasses, devicetree: separate
Using SERDES1 Protocol: 6 (0x6)
Using SERDES2 Protocol: 0 (0x0)
SERDES2[PRTCL] = 0x0 is not valid
Using SERDES3 Protocol: 3 (0x3)
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from SPIFlash... SF: Detected mx25u51245g with page size 256 Bytes, erase size 64 KiB, total 64 MiB
*** Warning - bad CRC, using default environment

EEPROM: Read failed.
In: serial_pl01x
Out: serial_pl01x
Err: serial_pl01x
SEC0: RNG instantiated
Net: Use serDes1 protocol 0x6
DPMAC5@sgmii
Warning: DPMAC5@sgmii (eth0) using random MAC address - 7e:69:8b:ff:a9:4a
, DPMAC9@sgmii
Warning: DPMAC9@sgmii (eth1) using random MAC address - 86:ad:64:8e:55:2c
, DPMAC3@xgmii
Warning: DPMAC3@xgmii (eth2) using random MAC address - 92:f8:9b:d0:8f:54
, DPMAC4@xgmii
Warning: DPMAC4@xgmii (eth3) using random MAC address - 92:79:64:e4:f0:f5

SF: Detected mx25u51245g with page size 256 Bytes, erase size 64 KiB, total 64 MiB
device 0 offset 0x640000, size 0x80000
SF: 524288 bytes @ 0x640000 Read: OK
device 0 offset 0xf00000, size 0x100000
SF: 1048576 bytes @ 0xf00000 Read: OK
device 0 offset 0xa00000, size 0x300000
SF: 3145728 bytes @ 0xa00000 Read: OK
device 0 offset 0xe00000, size 0x100000
SF: 1048576 bytes @ 0xe00000 Read: OK
crc32+
fsl-mc: Booting Management Complex ... SUCCESS
fsl-mc: Management Complex booted (version: 10.35.0, boot status: 0x1)
Hit any key to stop autoboot: 0
=> run xspi_bootcmd
Trying load from flexspi..
SF: Detected mx25u51245g with page size 256 Bytes, erase size 64 KiB, total 64 MiB
device 0 offset 0x1000000, size 0x2800000
SF: 41943040 bytes @ 0x1000000 Read: OK
## Loading kernel from FIT Image at a0000000 ...
Bad FIT kernel image format! (err=-22)
ERROR: can't get kernel image!
=> setenv kernel_s
kernel_size kernel_size_sd kernel_start
=> setenv kernel_size 0x3000000
=> saveenv
Saving Environment to SPIFlash... Erasing SPI flash...Writing to SPI flash...done
OK
=> run xspi_bootcmd
Trying load from flexspi..
SF: Detected mx25u51245g with page size 256 Bytes, erase size 64 KiB, total 64 MiB
device 0 offset 0x1000000, size 0x3000000
SF: 50331648 bytes @ 0x1000000 Read: OK
## Loading kernel from FIT Image at a0000000 ...
Using 'lx2160ardb' configuration
Trying 'kernel' kernel subimage
Description: ARM64 Kernel
Created: 2011-04-05 23:00:00 UTC
Type: Kernel Image
Compression: gzip compressed
Data Start: 0xa00000d0
Data Size: 15615404 Bytes = 14.9 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x84080000
Entry Point: 0x84080000
Hash algo: crc32
Hash value: 09321824
Verifying Hash Integrity ... crc32+ OK
## Loading ramdisk from FIT Image at a0000000 ...
Using 'lx2160ardb' configuration
Trying 'initrd' ramdisk subimage
Description: initrd for arm64
Created: 2011-04-05 23:00:00 UTC
Type: RAMDisk Image
Compression: uncompressed
Data Start: 0xa0ee475c
Data Size: 30631602 Bytes = 29.2 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x00000000
Entry Point: 0x00000000
Hash algo: crc32
Hash value: c3e57452
Verifying Hash Integrity ... crc32+ OK
## Loading fdt from FIT Image at a0000000 ...
Using 'lx2160ardb' configuration
Trying 'fdt-dtb' fdt subimage
Description: nxp-dtb
Created: 2011-04-05 23:00:00 UTC
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0xa2c1aee4
Data Size: 41591 Bytes = 40.6 KiB
Architecture: AArch64
Load Address: 0x90000000
Hash algo: crc32
Hash value: a4c08182
Verifying Hash Integrity ... crc32+ OK
Loading fdt from 0xa2c1aee4 to 0x90000000
Booting using the fdt blob at 0x90000000
Uncompressing Kernel Image
Loading Device Tree to 000000009fff2000, end 000000009ffff276 ... OK
PCIe1: pcie@3400000 disabled
PCIe2: pcie@3500000 disabled
PCIe3: pcie@3600000 disabled
PCIe4: pcie@3700000 disabled
PCIe5: pcie@3800000 Root Complex: x2 gen3
PCIe6: pcie@3900000 Root Complex: no link
fsl-mc: DPL not deployed, DPAA2 ethernet not work

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 5.15.71-rt51 (oe-user@oe-host) (aarch64-fsl-linux-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.38.20220313) #1 SMP PREEMPT_RT Tue Apr 5 23:00:00 UTC 2011
[ 0.000000] Machine model: NXP Layerscape LX2160ARDB
[ 0.000000] earlycon: pl11 at MMIO32 0x00000000021c0000 (options '')
[ 0.000000] printk: bootconsole [pl11] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x000000237fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x237e1d7bc0-0x237e1d9fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x000000237fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000fbdfffff]
[ 0.000000] node 0: [mem 0x0000002080000000-0x000000237fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000237fffffff]
[ 0.000000] On node 0, zone Normal: 16896 pages in unavailable ranges
[ 0.000000] cma: Reserved 32 MiB at 0x00000000f9c00000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 20 pages/cpu s44656 r8192 d29072 u81920
[ 0.000000] pcpu-alloc: s44656 r8192 d29072 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 00 [0] 01 [0] 02 [0] 03 [0] 04 [0] 05 [0] 06 [0] 07
[ 0.000000] pcpu-alloc: [0] 08 [0] 09 [0] 10 [0] 11 [0] 12 [0] 13 [0] 14 [0] 15
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: Spectre-v2
[ 0.000000] CPU features: detected: Spectre-v3a
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 3595776
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf iommu.passthrough=1
[ 0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x00000000f5c00000-0x00000000f9c00000] (64MB)
[ 0.000000] Memory: 12055368K/14612480K available (21248K kernel code, 3354K rwdata, 10192K rodata, 6720K init, 1070K bss, 2524344K reserved, 32768K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms.
[ 0.000000] rcu: RCU_SOFTIRQ processing moved to rcuc kthreads.
[ 0.000000] No expedited grace period (rcu_normal_after_boot).
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 256 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000006200000
[ 0.000000] ITS [mem 0x06020000-0x0603ffff]
[ 0.000000] ITS@0x0000000006020000: allocated 65536 Devices @2080080000 (flat, esz 8, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GICv3: Using preallocated redistributor tables
[ 0.000000] GICv3: using LPI property table @0x000000237fe00000
[ 0.000000] GICv3: CPU0: using reserved LPI pending table @0x000000237fe10000
[ 0.000000] rcu: Offload RCU callbacks from CPUs: (none).
[ 0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c409fb33, max_idle_ns: 440795203156 ns
[ 0.000000] sched_clock: 56 bits at 25MHz, resolution 39ns, wraps every 4398046511103ns
[ 0.008474] Console: colour dummy device 80x25
[ 0.008526] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[ 0.023475] pid_max: default: 32768 minimum: 301
[ 0.028169] LSM: Security Framework initializing
[ 0.032916] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.040610] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.049481] rcu: Hierarchical SRCU implementation.
[ 0.054525] Platform MSI: gic-its@6020000 domain created
[ 0.059958] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[ 0.067567] fsl-mc MSI: gic-its@6020000 domain created
[ 0.073357] EFI services will not be available.
[ 0.078261] smp: Bringing up secondary CPUs ...
[ 0.083164] Detected PIPT I-cache on CPU1
[ 0.087231] GICv3: CPU1: found redistributor 1 region 0:0x0000000006220000
[ 0.094187] GICv3: CPU1: using reserved LPI pending table @0x000000237fe20000
[ 0.101418] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.108377] Detected PIPT I-cache on CPU2
[ 0.112443] GICv3: CPU2: found redistributor 100 region 0:0x0000000006240000
[ 0.119577] GICv3: CPU2: using reserved LPI pending table @0x000000237fe30000
[ 0.126818] CPU2: Booted secondary processor 0x0000000100 [0x410fd083]
[ 0.133787] Detected PIPT I-cache on CPU3
[ 0.137843] GICv3: CPU3: found redistributor 101 region 0:0x0000000006260000
[ 0.144975] GICv3: CPU3: using reserved LPI pending table @0x000000237fe40000
[ 0.152202] CPU3: Booted secondary processor 0x0000000101 [0x410fd083]
[ 0.159168] Detected PIPT I-cache on CPU4
[ 0.163235] GICv3: CPU4: found redistributor 200 region 0:0x0000000006280000
[ 0.170368] GICv3: CPU4: using reserved LPI pending table @0x000000237fe50000
[ 0.177607] CPU4: Booted secondary processor 0x0000000200 [0x410fd083]
[ 0.184547] Detected PIPT I-cache on CPU5
[ 0.188605] GICv3: CPU5: found redistributor 201 region 0:0x00000000062a0000
[ 0.195736] GICv3: CPU5: using reserved LPI pending table @0x000000237fe60000
[ 0.202962] CPU5: Booted secondary processor 0x0000000201 [0x410fd083]
[ 0.209911] Detected PIPT I-cache on CPU6
[ 0.213983] GICv3: CPU6: found redistributor 300 region 0:0x00000000062c0000
[ 0.221116] GICv3: CPU6: using reserved LPI pending table @0x000000237fe70000
[ 0.228354] CPU6: Booted secondary processor 0x0000000300 [0x410fd083]
[ 0.235291] Detected PIPT I-cache on CPU7
[ 0.239350] GICv3: CPU7: found redistributor 301 region 0:0x00000000062e0000
[ 0.246480] GICv3: CPU7: using reserved LPI pending table @0x000000237fe80000
[ 0.253706] CPU7: Booted secondary processor 0x0000000301 [0x410fd083]
[ 0.260645] Detected PIPT I-cache on CPU8
[ 0.264720] GICv3: CPU8: found redistributor 400 region 0:0x0000000006300000
[ 0.271854] GICv3: CPU8: using reserved LPI pending table @0x000000237fe90000
[ 0.279091] CPU8: Booted secondary processor 0x0000000400 [0x410fd083]
[ 0.286022] Detected PIPT I-cache on CPU9
[ 0.290082] GICv3: CPU9: found redistributor 401 region 0:0x0000000006320000
[ 0.297214] GICv3: CPU9: using reserved LPI pending table @0x000000237fea0000
[ 0.304440] CPU9: Booted secondary processor 0x0000000401 [0x410fd083]
[ 0.311362] Detected PIPT I-cache on CPU10
[ 0.315530] GICv3: CPU10: found redistributor 500 region 0:0x0000000006340000
[ 0.322752] GICv3: CPU10: using reserved LPI pending table @0x000000237feb0000
[ 0.330078] CPU10: Booted secondary processor 0x0000000500 [0x410fd083]
[ 0.337100] Detected PIPT I-cache on CPU11
[ 0.341250] GICv3: CPU11: found redistributor 501 region 0:0x0000000006360000
[ 0.348469] GICv3: CPU11: using reserved LPI pending table @0x000000237fec0000
[ 0.355783] CPU11: Booted secondary processor 0x0000000501 [0x410fd083]
[ 0.362791] Detected PIPT I-cache on CPU12
[ 0.366961] GICv3: CPU12: found redistributor 600 region 0:0x0000000006380000
[ 0.374183] GICv3: CPU12: using reserved LPI pending table @0x000000237fed0000
[ 0.381511] CPU12: Booted secondary processor 0x0000000600 [0x410fd083]
[ 0.388522] Detected PIPT I-cache on CPU13
[ 0.392674] GICv3: CPU13: found redistributor 601 region 0:0x00000000063a0000
[ 0.399893] GICv3: CPU13: using reserved LPI pending table @0x000000237fee0000
[ 0.407207] CPU13: Booted secondary processor 0x0000000601 [0x410fd083]
[ 0.414208] Detected PIPT I-cache on CPU14
[ 0.418371] GICv3: CPU14: found redistributor 700 region 0:0x00000000063c0000
[ 0.425593] GICv3: CPU14: using reserved LPI pending table @0x000000237fef0000
[ 0.432914] CPU14: Booted secondary processor 0x0000000700 [0x410fd083]
[ 0.439929] Detected PIPT I-cache on CPU15
[ 0.444081] GICv3: CPU15: found redistributor 701 region 0:0x00000000063e0000
[ 0.451301] GICv3: CPU15: using reserved LPI pending table @0x000000237ff00000
[ 0.458614] CPU15: Booted secondary processor 0x0000000701 [0x410fd083]
[ 0.465339] smp: Brought up 1 node, 16 CPUs
[ 0.469573] SMP: Total of 16 processors activated.
[ 0.474419] CPU features: detected: 32-bit EL0 Support
[ 0.479615] CPU features: detected: CRC32 instructions
[ 0.497180] CPU: All CPU(s) started at EL2
[ 0.501348] alternatives: patching kernel code
[ 0.506436] devtmpfs: initialized
[ 0.513792] KASLR enabled
[ 0.516534] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.526391] futex hash table entries: 4096 (order: 6, 262144 bytes, linear)
[ 0.533721] pinctrl core: initialized pinctrl subsystem
[ 0.539450] DMI not present or invalid.
[ 0.543598] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.550936] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.558452] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.566747] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.574869] audit: initializing netlink subsys (disabled)
[ 0.580398] audit: type=2000 audit(0.520:1): state=initialized audit_enabled=0 res=1
[ 0.580916] thermal_sys: Registered thermal governor 'step_wise'
[ 0.580918] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.588235] cpuidle: using governor menu
[ 0.604909] NET: Registered PF_QIPCRTR protocol family
[ 0.610211] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.617210] ASID allocator initialised with 32768 entries
[ 0.623284] Serial: AMBA PL011 UART driver
[ 0.627466] imx mu driver is registered.
[ 0.631442] imx rpmsg driver is registered.
[ 0.637690] Machine: NXP Layerscape LX2160ARDB
[ 0.642182] SoC family: QorIQ LX2160A
[ 0.645875] SoC ID: svr:0x87361020, Revision: 2.0
[ 0.651873] 21c0000.serial: ttyAMA0 at MMIO 0x21c0000 (irq = 33, base_baud = 0) is a SBSA
[ 0.660167] printk: console [ttyAMA0] enabled
[ 0.664566] printk: bootconsole [pl11] disabled

 

0 Kudos
Reply
0 Replies