ls1046a - qspi boot - end kernel panic(VFS: Unable to mount root fs on unknown-block(0,0))

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

ls1046a - qspi boot - end kernel panic(VFS: Unable to mount root fs on unknown-block(0,0))

Jump to solution
941 Views
2sanghaesea
Contributor II

Hello,

I’m working with a custom board based on the LS1046A  CPU .

I’ve built a tiny Linux using LSDK 21.08.

 

During the initial boot, I encounter the following kernel panic:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (1,0)

 

Interestingly, if I press the reset button, the system boots normally.

I’m not sure why this issue occurs.

Could you please advise me on how to resolve it?

ㅠㅠㅠㅠ

[bootargs]

bootargs=console=ttyS0,115200 root=/dev/ram0 ramdisk_size=0x2000000 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550000.spi-0:1m(rcw),15m(u-boot),64m(kernel.itb);7e800000.flash:16m(nand_uboot),48m(nand_kernel),1984m(nand_free) panic=1

[U-boot log]

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd082]
[ 0.000000] Linux version 5.10.35-00001-g546bc95aeb91-dirty (cjryu@cjryu) (aarch64-linux-gnu-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #8 SMP PREEMPT Wed Oct 23 00:05:06 UTC 2024
[ 0.000000] Machine model: LS1046A RDB Board
[ 0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[ 0.000000] OF: reserved mem: initialized node qman-fqd, compatible id fsl,qman-fqd
[ 0.000000] OF: reserved mem: initialized node qman-pfdr, compatible id fsl,qman-pfdr
[ 0.000000] OF: reserved mem: initialized node bman-fbpr, compatible id fsl,bman-fbpr
[ 0.000000] cma: Reserved 32 MiB at 0x00000000f9c00000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000008ff7fffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x8ff00fb00-0x8ff011fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x00000008ff7fffff]
[ 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 0x0000000880000000-0x00000008fbffffff]
[ 0.000000] node 0: [mem 0x00000008ff000000-0x00000008ff7fffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ff7fffff]
[ 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 24 pages/cpu s60120 r8192 d29992 u98304
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: EL2 vector hardening
[ 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: Spectre-v2
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1001184
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/ram0 ramdisk_size=0x2000000 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550000.spi-0:1m(rcw),15m(u-boot),64m(kernel.itb);7e800000.flash:16m(nand_uboot),48m(nand_kernel),1984m(nand_free) panic=1
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 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: 3803076K/4069376K available (20416K kernel code, 3074K rwdata, 9948K rodata, 6656K init, 1035K bss, 233532K reserved, 32768K cma-reserved)
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x000000000142f000
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x32c/0x4f0 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[ 0.000003] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[ 0.008923] Console: colour dummy device 80x25
[ 0.013475] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[ 0.023945] pid_max: default: 32768 minimum: 301
[ 0.028682] LSM: Security Framework initializing
[ 0.033461] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.040971] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.049975] rcu: Hierarchical SRCU implementation.
[ 0.056386] EFI services will not be available.
[ 0.061085] smp: Bringing up secondary CPUs ...
[ 0.066100] Detected PIPT I-cache on CPU1
[ 0.066137] CPU1: Booted secondary processor 0x0000000001 [0x410fd082]
[ 0.066199] smp: Brought up 1 node, 2 CPUs
[ 0.080993] SMP: Total of 2 processors activated.
[ 0.085751] CPU features: detected: 32-bit EL0 Support
[ 0.090951] CPU features: detected: CRC32 instructions
[ 0.096147] CPU features: detected: 32-bit EL1 Support
[ 0.121276] CPU: All CPU(s) started at EL2
[ 0.125430] alternatives: patching kernel code
[ 0.130865] devtmpfs: initialized
[ 0.138070] KASLR disabled due to lack of seed
[ 0.142670] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.152527] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.159890] pinctrl core: initialized pinctrl subsystem
[ 0.165934] DMI not present or invalid.
[ 0.170156] NET: Registered protocol family 16
[ 0.175527] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.182764] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.190759] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.198788] audit: initializing netlink subsys (disabled)
[ 0.204354] audit: type=2000 audit(0.136:1): state=initialized audit_enabled=0 res=1
[ 0.205055] thermal_sys: Registered thermal governor 'step_wise'
[ 0.212183] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.218488] OF: /thermal-zones/core-cluster/cooling-maps/map0: could not find phandle
[ 0.232996] thermal_sys: failed to build thermal zone core-cluster: -22
[ 0.239852] cpuidle: using governor menu
[ 0.243898] Bman ver:0a02,02,01
[ 0.249941] qman-fqd addr 0x00000008ff800000 size 0x800000
[ 0.255487] qman-pfdr addr 0x00000008fc000000 size 0x2000000
[ 0.261209] Qman ver:0a01,03,02,01
[ 0.264812] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.271706] ASID allocator initialised with 32768 entries
[ 0.278075] Serial: AMBA PL011 UART driver
[ 0.282283] imx mu driver is registered.
[ 0.286272] imx rpmsg driver is registered.
[ 0.321140] Machine: LS1046A RDB Board
[ 0.324932] SoC family: QorIQ LS1046A
[ 0.328625] SoC ID: svr:0x87070910, Revision: 1.0
[ 0.351896] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.358680] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.365478] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.372253] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.380281] cryptd: max_cpu_qlen set to 1000
[ 0.451089] raid6: neonx8 gen() 3430 MB/s
[ 0.523139] raid6: neonx8 xor() 2560 MB/s
[ 0.595186] raid6: neonx4 gen() 3500 MB/s
[ 0.667237] raid6: neonx4 xor() 2660 MB/s
[ 0.739287] raid6: neonx2 gen() 3093 MB/s
[ 0.811340] raid6: neonx2 xor() 2436 MB/s
[ 0.883391] raid6: neonx1 gen() 2416 MB/s
[ 0.955438] raid6: neonx1 xor() 1939 MB/s
[ 1.027812] raid6: int64x8 gen() 1877 MB/s
[ 1.100174] raid6: int64x8 xor() 1140 MB/s
[ 1.172542] raid6: int64x4 gen() 2036 MB/s
[ 1.244904] raid6: int64x4 xor() 1164 MB/s
[ 1.317274] raid6: int64x2 gen() 1882 MB/s
[ 1.389640] raid6: int64x2 xor() 1053 MB/s
[ 1.462015] raid6: int64x1 gen() 1456 MB/s
[ 1.534384] raid6: int64x1 xor() 783 MB/s
[ 1.538694] raid6: using algorithm neonx4 gen() 3500 MB/s
[ 1.544152] raid6: .... xor() 2660 MB/s, rmw enabled
[ 1.549165] raid6: using neon recovery algorithm
[ 1.554599] ACPI: Interpreter disabled.
[ 1.561953] iommu: Default domain type: Passthrough
[ 1.567162] vgaarb: loaded
[ 1.570082] SCSI subsystem initialized
[ 1.574111] usbcore: registered new interface driver usbfs
[ 1.579685] usbcore: registered new interface driver hub
[ 1.585069] usbcore: registered new device driver usb
[ 1.590982] i2c i2c-0: IMX I2C adapter registered
[ 1.595767] i2c i2c-0: using dma0chan16 (tx) and dma0chan17 (rx) for DMA transfers
[ 1.603766] i2c i2c-1: IMX I2C adapter registered
[ 1.609392] mc: Linux media interface: v0.10
[ 1.613742] videodev: Linux video capture interface: v2.00
[ 1.619327] pps_core: LinuxPPS API ver. 1 registered
[ 1.624356] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.633595] PTP clock support registered
[ 1.637712] EDAC MC: Ver: 3.0.0
[ 1.642046] bman-fbpr addr 0x00000008fe000000 size 0x1000000
[ 1.647798] Bman err interrupt handler present
[ 1.652989] Bman portal initialised, cpu 0
[ 1.657236] Bman portal initialised, cpu 1
[ 1.661372] Bman portals initialised
[ 1.666319] Qman err interrupt handler present
[ 1.671366] QMan: Allocated lookup table at (____ptrval____), entry count 131073
[ 1.679470] Qman portal initialised, cpu 0
[ 1.683703] Qman portal initialised, cpu 1
[ 1.687841] Qman portals initialised
[ 1.691526] Bman: BPID allocator includes range 32:32
[ 1.696678] Qman: FQID allocator includes range 256:256
[ 1.701961] Qman: FQID allocator includes range 32768:32768
[ 1.707640] Qman: CGRID allocator includes range 0:256
[ 1.713032] Qman: pool channel allocator includes range 1025:15
[ 1.719107] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[ 1.725757] fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
[ 1.732376] fsl-ifc 1530000.ifc: IFC version 1.4, 8 banks
[ 1.738038] FPGA manager framework
[ 1.741533] Advanced Linux Sound Architecture Driver Initialized.
[ 1.748865] clocksource: Switched to clocksource arch_sys_counter
[ 1.755177] VFS: Disk quotas dquot_6.6.0
[ 1.759186] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.766258] pnp: PnP ACPI: disabled
[ 1.774419] NET: Registered protocol family 2
[ 1.779218] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 1.787903] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 1.796088] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 1.803827] TCP: Hash tables configured (established 32768 bind 32768)
[ 1.810497] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 1.817338] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 1.824693] NET: Registered protocol family 1
[ 1.829372] RPC: Registered named UNIX socket transport module.
[ 1.835365] RPC: Registered udp transport module.
[ 1.840127] RPC: Registered tcp transport module.
[ 1.844881] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.851395] PCI: CLS 0 bytes, default 64
[ 1.855454] Trying to unpack rootfs image as initramfs...
[ 3.130676] rootfs image is not initramfs (junk within compressed archive); looks like an initrd
[ 3.206211] Freeing initrd memory: 46240K
[ 3.210787] hw perfevents: failed to parse interrupt-affinity[2] for pmu
[ 3.217577] hw perfevents: /pmu: failed to register PMU devices!
[ 3.223666] armv8-pmu: probe of pmu failed with error -22
[ 3.229588] kvm [1]: IPA Size Limit: 44 bits
[ 3.234992] kvm [1]: vgic interrupt IRQ9
[ 3.239057] kvm [1]: Hyp mode initialized successfully
[ 3.245423] Initialise system trusted keyrings
[ 3.249998] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[ 3.256872] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 3.262981] NFS: Registering the id_resolver key type
[ 3.268104] Key type id_resolver registered
[ 3.272330] Key type id_legacy registered
[ 3.276402] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 3.283177] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 3.290666] jffs2: version 2.2. (NAND) ⓒ 2001-2006 Red Hat, Inc.
[ 3.296989] fuse: init (API version 7.32)
[ 3.301129] 9p: Installing v9fs 9p2000 file system support
[ 3.338672] xor: measuring software checksum speed
[ 3.345483] 8regs : 5028 MB/sec
[ 3.351571] 32regs : 5823 MB/sec
[ 3.357887] arm64_neon : 5148 MB/sec
[ 3.362287] xor: using function: 32regs (5823 MB/sec)
[ 3.367395] Key type asymmetric registered
[ 3.371535] Asymmetric key parser 'x509' registered
[ 3.376487] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 3.384029] io scheduler mq-deadline registered
[ 3.388611] io scheduler kyber registered
[ 3.410654] EINJ: ACPI disabled.
[ 3.424664] Bus freq driver module loaded
[ 3.437581] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 3.446046] printk: console [ttyS0] disabled
[ 3.450420] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 48, base_baud = 12500000) is a 16550A
[ 3.459331] printk: console [ttyS0] enabled
[ 3.459331] printk: console [ttyS0] enabled
[ 3.467750] printk: bootconsole [uart8250] disabled
[ 3.467750] printk: bootconsole [uart8250] disabled
[ 3.477939] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 48, base_baud = 12500000) is a 16550A
[ 3.487138] 21d0500.serial: ttyS2 at MMIO 0x21d0500 (irq = 49, base_baud = 12500000) is a 16550A
[ 3.496563] SuperH (H)SCI(F) driver initialized
[ 3.501911] msm_serial: driver initialized
[ 3.518017] brd: module loaded
[ 3.525532] loop: module loaded
[ 3.529979] megasas: 07.714.04.00-rc1
[ 3.535096] imx ahci driver is registered.
[ 3.539711] ahci-qoriq 3200000.sata: supply ahci not found, using dummy regulator
[ 3.547306] ahci-qoriq 3200000.sata: supply phy not found, using dummy regulator
[ 3.554772] ahci-qoriq 3200000.sata: supply target not found, using dummy regulator
[ 3.562562] ahci-qoriq 3200000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[ 3.571564] ahci-qoriq 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[ 3.581899] scsi host0: ahci-qoriq
[ 3.585469] ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 59
[ 3.594752] DBG nand | ret = 0
[ 3.597822] DBG nand | loop 0
[ 3.601146] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x48
[ 3.607528] nand: Micron MT29F16G08ABCCBH1
[ 3.611642] nand: 2048 MiB, SLC, erase size: 512 KiB, page size: 4096, OOB size: 224
[ 3.620415] Bad block table found at page 524160, version 0x01
[ 3.628091] Bad block table found at page 524032, version 0x01
[ 3.634854] nand_read_bbt: bad block at 0x000002d00000
[ 3.640014] nand_read_bbt: bad block at 0x000002d80000
[ 3.645236] 3 cmdlinepart partitions found on MTD device 7e800000.flash
[ 3.651877] Creating 3 MTD partitions on "7e800000.flash":
[ 3.657384] 0x000000000000-0x000001000000 : "nand_uboot"
[ 3.665293] 0x000001000000-0x000004000000 : "nand_kernel"
[ 3.673265] 0x000004000000-0x000080000000 : "nand_free"
[ 3.681276] fsl,ifc-nand 7e800000.nand: IFC NAND device at 0x7e800000, bank 0
[ 3.691183] spi-nor spi1.0: n25q00a (131072 Kbytes)
[ 3.703695] libphy: Fixed MDIO Bus: probed
[ 3.709036] tun: Universal TUN/TAP device driver, 1.6
[ 3.715044] thunder_xcv, ver 1.0
[ 3.718310] thunder_bgx, ver 1.0
[ 3.721567] nicpf, ver 1.0
[ 3.724951] libphy: Freescale XGMAC MDIO Bus: probed
[ 3.731526] libphy: Freescale XGMAC MDIO Bus: probed
[ 3.745075] mdio_bus 0x0000000001afd000: MDIO device at address 0 is missing.
[ 3.752481] libphy: Freescale XGMAC MDIO Bus: probed
[ 3.757965] libphy: Freescale XGMAC MDIO Bus: probed
[ 3.763449] libphy: Freescale XGMAC MDIO Bus: probed
[ 3.768955] libphy: Freescale XGMAC MDIO Bus: probed
[ 3.774436] libphy: Freescale XGMAC MDIO Bus: probed
[ 3.780046] libphy: Freescale XGMAC MDIO Bus: probed
[ 3.785680] libphy: Freescale XGMAC MDIO Bus: probed
[ 3.791152] libphy: Freescale XGMAC MDIO Bus: probed
[ 3.810819] Freescale FM module, FMD API version 21.1.0
[ 3.819661] Freescale FM Ports module
[ 3.823346] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[ 3.829235] fsl_mac 1ae4000.ethernet: FMan MEMAC
[ 3.833881] fsl_mac 1ae4000.ethernet: FMan MAC address: 00:24:5f:f0:d5:02
[ 3.840847] fsl_mac 1ae6000.ethernet: FMan MEMAC
[ 3.845491] fsl_mac 1ae6000.ethernet: FMan MAC address: 00:24:5f:f0:d5:03
[ 3.852372] fsl_dpa: FSL DPAA Ethernet driver
[ 3.856943] fsl_dpa soc:fsl,dpaa:ethernet@0: of_find_device_by_node(ethernet@e0000) failed
[ 3.865290] fsl_dpa: probe of soc:fsl,dpaa:ethernet@0 failed with error -22
[ 3.872375] fsl_dpa soc:fsl,dpaa:ethernet@1: of_find_device_by_node(ethernet@e2000) failed
[ 3.880686] fsl_dpa: probe of soc:fsl,dpaa:ethernet@1 failed with error -22
[ 3.889555] fsl_dpa: fsl_dpa: Probed interface eth0
[ 3.896423] fsl_dpa: fsl_dpa: Probed interface eth1
[ 3.901412] fsl_dpa soc:fsl,dpaa:ethernet@4: of_find_device_by_node(ethernet@e8000) failed
[ 3.909727] fsl_dpa: probe of soc:fsl,dpaa:ethernet@4 failed with error -22
[ 3.911097] ata1: SATA link down (SStatus 0 SControl 300)
[ 3.916779] fsl_dpa soc:fsl,dpaa:ethernet@5: of_find_device_by_node(ethernet@ea000) failed
[ 3.930443] fsl_dpa: probe of soc:fsl,dpaa:ethernet@5 failed with error -22
[ 3.937508] fsl_dpa soc:fsl,dpaa:ethernet@8: of_find_device_by_node(ethernet@f0000) failed
[ 3.945820] fsl_dpa: probe of soc:fsl,dpaa:ethernet@8 failed with error -22
[ 3.952839] fsl_advanced: FSL DPAA Advanced drivers:
[ 3.957829] fsl_proxy: FSL DPAA Proxy initialization driver
[ 3.963621] fsl_oh: FSL FMan Offline Parsing port driver
[ 3.969967] hclge is initializing
[ 3.973307] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 3.980558] hns3: Copyright (c) 2017 Huawei Corporation.
[ 3.985914] e1000: Intel(R) PRO/1000 Network Driver
[ 3.990813] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 3.996627] e1000e: Intel(R) PRO/1000 Network Driver
[ 4.001617] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 4.007595] igb: Intel(R) Gigabit Ethernet Network Driver
[ 4.013015] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 4.018627] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 4.024919] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 4.031304] sky2: driver version 1.30
[ 4.036474] usbcore: registered new interface driver r8152
[ 4.042003] usbcore: registered new interface driver asix
[ 4.047441] usbcore: registered new interface driver ax88179_178a
[ 4.053975] VFIO - User Level meta-driver version: 0.3
[ 4.062853] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.069422] ehci-pci: EHCI PCI platform driver
[ 4.073902] ehci-platform: EHCI generic platform driver
[ 4.079323] ehci-orion: EHCI orion driver
[ 4.083482] ehci-exynos: EHCI Exynos driver
[ 4.087797] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.094009] ohci-pci: OHCI PCI platform driver
[ 4.098490] ohci-platform: OHCI generic platform driver
[ 4.103888] ohci-exynos: OHCI Exynos driver
[ 4.108633] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 4.114159] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 4.121954] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810
[ 4.131420] xhci-hcd xhci-hcd.0.auto: irq 57, io mem 0x02f00000
[ 4.137834] hub 1-0:1.0: USB hub found
[ 4.141618] hub 1-0:1.0: 1 port detected
[ 4.145745] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 4.151260] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 4.158956] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 4.165823] hub 2-0:1.0: USB hub found
[ 4.169605] hub 2-0:1.0: 1 port detected
[ 4.173788] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 4.179306] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 4.187082] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810
[ 4.196534] xhci-hcd xhci-hcd.1.auto: irq 58, io mem 0x03100000
[ 4.202886] hub 3-0:1.0: USB hub found
[ 4.206669] hub 3-0:1.0: 1 port detected
[ 4.210781] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 4.216296] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 4.223987] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 4.230851] hub 4-0:1.0: USB hub found
[ 4.234633] hub 4-0:1.0: 1 port detected
[ 4.239103] usbcore: registered new interface driver uas
[ 4.244498] usbcore: registered new interface driver usb-storage
[ 4.254195] ftm-alarm 29d0000.timer: registered as rtc1
[ 4.260652] i2c /dev entries driver
[ 4.267374] ptp_qoriq: device tree node missing required elements, try automatic configuration
[ 4.276114] pps pps0: new PPS source ptp0
[ 4.281045] lm90 0-004c: supply vcc not found, using dummy regulator
[ 4.292297] DBG | thermal : ret = -517
[ 4.296068] qoriq_thermal 1f00000.tmu: Failed to register sensors
[ 4.305801] qoriq-cpufreq qoriq-cpufreq: Freescale QorIQ CPU frequency scaling driver
[ 4.314523] sdhci: Secure Digital Host Controller Interface driver
[ 4.320751] sdhci: Copyright(c) Pierre Ossman
[ 4.325833] Synopsys Designware Multimedia Card Interface Driver
[ 4.333268] sdhci-pltfm: SDHCI platform and OF driver helper
[ 4.341428] ledtrig-cpu: registered to indicate activity on CPUs
[ 4.348311] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 4.355420] usbcore: registered new interface driver usbhid
[ 4.361034] usbhid: USB HID core driver
[ 4.365854] mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit
[ 4.366544] Freescale USDPAA process driver
[ 4.377945] fsl-usdpaa: no region found
[ 4.381817] Freescale USDPAA process IRQ driver
[ 4.391365] optee: probing for conduit method.
[ 4.395831] optee: api uid mismatch
[ 4.399342] optee: probe of firmware:optee failed with error -22
[ 4.413213] NET: Registered protocol family 26
[ 4.417700] u32 classifier
[ 4.420409] input device check on
[ 4.424097] Actions configured
[ 4.427961] Initializing XFRM netlink socket
[ 4.432320] NET: Registered protocol family 10
[ 4.437332] Segment Routing with IPv6
[ 4.441080] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 4.447395] NET: Registered protocol family 17
[ 4.451940] NET: Registered protocol family 15
[ 4.456508] Bridge firewalling registered
[ 4.460715] 8021q: 802.1Q VLAN Support v1.8
[ 4.464931] lib80211: common routines for IEEE802.11 drivers
[ 4.470660] 9pnet: Installing 9P2000 support
[ 4.474969] tsn generic netlink module v1 init...
[ 4.479736] Key type dns_resolver registered
[ 4.484285] registered taskstats version 1
[ 4.488407] Loading compiled-in X.509 certificates
[ 4.494553] Btrfs loaded, crc32c=crc32c-generic
[ 4.502338] DBG | thermal : ret = -517
[ 4.506141] qoriq_thermal 1f00000.tmu: Failed to register sensors
[ 4.513472] DBG | thermal : ret = -517
[ 4.517244] qoriq_thermal 1f00000.tmu: Failed to register sensors
[ 4.524516] ALSA device list:
[ 4.527514] No soundcards found.
[ 4.531232] RAMDISK: gzip image found at block 0
[ 6.587857] List of all partitions:
[ 6.591432] 0100 33554432 ram0
[ 6.591435] (driver?)
[ 6.597571] 0101 33554432 ram1
[ 6.597573] (driver?)
[ 6.603696] 0102 33554432 ram2
[ 6.603698] (driver?)
[ 6.609825] 0103 33554432 ram3
[ 6.609828] (driver?)
[ 6.615950] 0104 33554432 ram4
[ 6.615952] (driver?)
[ 6.622079] 0105 33554432 ram5
[ 6.622081] (driver?)
[ 6.628219] 0106 33554432 ram6
[ 6.628221] (driver?)
[ 6.634395] 0107 33554432 ram7
[ 6.634398] (driver?)
[ 6.640580] 0108 33554432 ram8
[ 6.640583] (driver?)
[ 6.646728] 0109 33554432 ram9
[ 6.646731] (driver?)
[ 6.652855] 010a 33554432 ram10
[ 6.652876] (driver?)
[ 6.659087] 010b 33554432 ram11
[ 6.659090] (driver?)
[ 6.665316] 010c 33554432 ram12
[ 6.665319] (driver?)
[ 6.671529] 010d 33554432 ram13
[ 6.671531] (driver?)
[ 6.677757] 010e 33554432 ram14
[ 6.677760] (driver?)
[ 6.683970] 010f 33554432 ram15
[ 6.683972] (driver?)
[ 6.690207] 1f00 16384 mtdblock0
[ 6.690209] (driver?)
[ 6.696770] 1f01 49152 mtdblock1
[ 6.696772] (driver?)
[ 6.703341] 1f02 2031616 mtdblock2
[ 6.703343] (driver?)
[ 6.709917] 1f03 131072 mtdblock3
[ 6.709920] (driver?)
[ 6.716480] No filesystem could mount root, tried:
[ 6.716483] ext3
[ 6.721387] ext4
[ 6.723312] ext2
[ 6.725243] squashfs
[ 6.727168] vfat
[ 6.729454] fuseblk
[ 6.731379] btrfs
[ 6.733571]
[ 6.737076] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
[ 6.746156] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.35-00001-g546bc95aeb91-dirty #8
[ 6.754447] Hardware name: LS1046A RDB Board (DT)
[ 6.759163] Call trace:
[ 6.761625] dump_backtrace+0x0/0x1a8
[ 6.765296] show_stack+0x18/0x68
[ 6.768620] dump_stack+0xd0/0x12c
[ 6.772031] panic+0x16c/0x334
[ 6.775096] mount_block_root+0x240/0x25c
[ 6.779115] mount_root+0x10c/0x144
[ 6.782611] prepare_namespace+0x130/0x170
[ 6.786717] kernel_init_freeable+0x210/0x23c
[ 6.791086] kernel_init+0x14/0x118
[ 6.794582] ret_from_fork+0x10/0x34
[ 6.798169] SMP: stopping secondary CPUs
[ 6.802111] Kernel Offset: 0x80000 from 0xffff800010000000
[ 6.807611] PHYS_OFFSET: 0x80000000
[ 6.811108] CPU features: 0x0240022,21806000
[ 6.815387] Memory Limit: none
[ 6.818452] Rebooting in 1 seconds..

0 Kudos
Reply
1 Solution
915 Views
yipingwang
NXP TechSupport
NXP TechSupport

No problem with the bootargs.

Please download LSDK 21.08 pre-built image as the following.

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/lsdk2108_yocto_tiny_LS_arm64.itb

Then on your target board, please try the following commands in u-boot.

=>tftp 0xa0000000 lsdk2108_yocto_tiny_LS_arm64.itb

=> bootm 0xa0000000#ls1046ardb

View solution in original post

0 Kudos
Reply
3 Replies
916 Views
yipingwang
NXP TechSupport
NXP TechSupport

No problem with the bootargs.

Please download LSDK 21.08 pre-built image as the following.

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/lsdk2108_yocto_tiny_LS_arm64.itb

Then on your target board, please try the following commands in u-boot.

=>tftp 0xa0000000 lsdk2108_yocto_tiny_LS_arm64.itb

=> bootm 0xa0000000#ls1046ardb

0 Kudos
Reply
913 Views
2sanghaesea
Contributor II

Thank you for your response.

As you mentioned, there are no issues booting via TFTP.
However, it seems there are problems when pulling the ITB file from the QSPI NOR flash.
This issue only occurs during the first boot.

Could this be a hardware problem, or could it be related to my kernel settings or U-Boot configuration?

Thank you.

0 Kudos
Reply
890 Views
2sanghaesea
Contributor II

Finally, I configured my system to run only U-Boot from the QSPI flash.

I modified the setup to boot by reading the kernel image from NAND flash.

0 Kudos
Reply