Kernel panic occurs during operation after booting the LS1012A.

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

Kernel panic occurs during operation after booting the LS1012A.

Jump to solution
1,668 Views
gyosunshim
Contributor III

Hello,

I am using the LS1012A-FRWY custom board.

I normally ported to the Linux console using an SD card.

The SDK used LSDK18.12-kernel4.9.

I haven't tested a lot, but if I use the cp command or the tar command, a kernel panic occurs.

When testing on the LS1012A-FRWY board, kernel panic does not occur. Why are you doing this?

U-Boot 2018.09-dirty (Oct 06 2020 - 11:34:29 +0000)

SoC: LS1012AE Rev2.0 (0x87040020)
Clock Configuration:
CPU0(A53):1000 MHz
Bus: 250 MHz DDR: 1000 MT/s
Reset Configuration Word (RCW):
00000000: 0800000a 00000000 00000000 00000000
00000010: 33050000 c000000c 40000000 00001800
00000020: 00000000 00000000 00000000 000c4572
00000030: 00000000 1082a120 00000096 00000000
I2C: ready
DRAM: 958 MiB
WARNING: Calling __hwconfig without a buffer and before environment is ready
Using SERDES1 Protocol: 13061 (0x3305)
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from SPI Flash... SF: Detected mx25u25645g with page size 256 Bytes, erase size 64 KiB, total 32 MiB
SF: Warning - Only lower 16MiB accessible, Full access #define CONFIG_SPI_FLASH_BAR
OK
In: serial
Out: serial
Err: serial
Model: FRWY-LS1012A Board
Board: FRWY-LS1012A Version: unknownNet: PFE class pe firmware
PFE tmu pe firmware
eth0: pfe_eth0, eth1: pfe_eth1
Hit any key to stop autoboot: 0
=>
=>
=>
=>
=> setenv mmc_boot 'pfe stop; if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi'
=> setenv bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p3 rw earlycon=uart8250,mmio,0x21c0500 rootdelay=3'
=> setenv bootcmd 'run distro_bootcmd; run sd_bootcmd; env exists secureboot && esbc_halt;'
=> saveenv
Saving Environment to SPI Flash... SF: Detected mx25u25645g with page size 256 Bytes, erase size 64 KiB, total 32 MiB
SF: Warning - Only lower 16MiB accessible, Full access #define CONFIG_SPI_FLASH_BAR
Erasing SPI flash...Writing to SPI flash...done
OK
=> boot
Stopping PFE...
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Scanning mmc 0:2...
Found U-Boot script /ls1012afrwy_boot.scr
964 bytes read in 5 ms (187.5 KiB/s)
## Executing script at 80000000
17504768 bytes read in 892 ms (18.7 MiB/s)
14295 bytes read in 9 ms (1.5 MiB/s)
## Flattened Device Tree blob at 90000000
Booting using the fdt blob at 0x90000000
Using Device Tree in place at 0000000090000000, end 00000000900067d6
WARNING: fdt_fixup_stdout: could not read serial0 alias: FDT_ERR_NOTFOUND
NOTICE: RNG: INSTANTIATED
PCIe0: pcie@3400000 Root Complex: no link

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.140-dirty (root@fbubuntu) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) ) #1 SMP PREEMPT Tue Oct 6 11:29:58 UTC 2020
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[ 0.000000] bootconsole [uart8250] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x00000000bac00000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000bbdfffff]
[ 0.000000] NUMA: Adding memblock [0x80000000 - 0xbbdfffff] on node 0
[ 0.000000] NUMA: Initmem setup node 0 [mem 0x80000000-0xbbdfffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xbbdde800-0xbbddffbf]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000bbdfffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000bbdfffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bbdfffff]
[ 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.1
[ 0.000000] percpu: Embedded 22 pages/cpu @ffff80003bdc3000 s50904 r8192 d31016 u90112
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 241416
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 root=PARTUUID=000068a6-03 rw rootwait
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Memory: 917620K/980992K available (10876K kernel code, 966K rwdata, 4144K rodata, 1088K init, 916K bss, 46988K reserved, 16384K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)
[ 0.000000] .text : 0xffff000008080000 - 0xffff000008b20000 ( 10880 KB)
[ 0.000000] .rodata : 0xffff000008b20000 - 0xffff000008f30000 ( 4160 KB)
[ 0.000000] .init : 0xffff000008f30000 - 0xffff000009040000 ( 1088 KB)
[ 0.000000] .data : 0xffff000009040000 - 0xffff000009131a00 ( 967 KB)
[ 0.000000] .bss : 0xffff000009131a00 - 0xffff000009216dbc ( 917 KB)
[ 0.000000] fixed : 0xffff7dfffe7fb000 - 0xffff7dfffec00000 ( 4116 KB)
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
[ 0.000000] 0xffff7e0000000000 - 0xffff7e0000ef8000 ( 14 MB actual)
[ 0.000000] memory : 0xffff800000000000 - 0xffff80003be00000 ( 958 MB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arm_arch_timer: Architected 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.000004] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[ 0.008508] Console: colour dummy device 80x25
[ 0.013042] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[ 0.023486] pid_max: default: 32768 minimum: 301
[ 0.028225] Security Framework initialized
[ 0.032602] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.040710] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.048054] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.054823] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.062913] ASID allocator initialised with 32768 entries
[ 0.100969] EFI services will not be available.
[ 0.121589] Brought up 1 CPUs
[ 0.124576] SMP: Total of 1 processors activated.
[ 0.129330] CPU features: detected feature: 32-bit EL0 Support
[ 0.135213] CPU features: detected feature: Kernel page table isolation (KPTI)
[ 0.145735] CPU: All CPU(s) started at EL2
[ 0.149873] alternatives: patching kernel code
[ 0.155233] devtmpfs: initialized
[ 0.162740] DMI not present or invalid.
[ 0.166943] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.176812] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.183578] xor: measuring software checksum speed
[ 0.228530] 8regs : 1919.000 MB/sec
[ 0.272796] 8regs_prefetch: 1710.000 MB/sec
[ 0.317410] 32regs : 2359.000 MB/sec
[ 0.361665] 32regs_prefetch: 1982.000 MB/sec
[ 0.366319] xor: using function: 32regs (2359.000 MB/sec)
[ 0.371766] pinctrl core: initialized pinctrl subsystem
[ 0.378875] NET: Registered protocol family 16
[ 0.395691] cpuidle: using governor menu
[ 0.400204] vdso: 2 pages (1 code @ ffff000008b27000, 1 data @ ffff000009045000)
[ 0.407820] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.415392] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.422162] Serial: AMBA PL011 UART driver
[ 0.470987] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.561650] raid6: int64x1 gen() 394 MB/s
[ 0.634114] raid6: int64x1 xor() 371 MB/s
[ 0.706571] raid6: int64x2 gen() 598 MB/s
[ 0.778982] raid6: int64x2 xor() 509 MB/s
[ 0.851397] raid6: int64x4 gen() 903 MB/s
[ 0.923782] raid6: int64x4 xor() 645 MB/s
[ 0.996238] raid6: int64x8 gen() 836 MB/s
[ 1.068641] raid6: int64x8 xor() 631 MB/s
[ 1.141056] raid6: neonx1 gen() 623 MB/s
[ 1.213468] raid6: neonx1 xor() 619 MB/s
[ 1.285884] raid6: neonx2 gen() 1025 MB/s
[ 1.358300] raid6: neonx2 xor() 879 MB/s
[ 1.430723] raid6: neonx4 gen() 1323 MB/s
[ 1.503123] raid6: neonx4 xor() 1007 MB/s
[ 1.575532] raid6: neonx8 gen() 1433 MB/s
[ 1.647944] raid6: neonx8 xor() 1051 MB/s
[ 1.652249] raid6: using algorithm neonx8 gen() 1433 MB/s
[ 1.657693] raid6: .... xor() 1051 MB/s, rmw enabled
[ 1.662697] raid6: using intx1 recovery algorithm
[ 1.673704] RCPM: layerscape_rcpm_init: The RCPM driver initialized.
[ 1.682359] i2c i2c-0: IMX I2C adapter registered
[ 1.688087] i2c i2c-0: can't use DMA, using PIO instead.
[ 1.694128] pps_core: LinuxPPS API ver. 1 registered
[ 1.699474] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.708828] PTP clock support registered
[ 1.713194] dmi: Firmware registration failed.
[ 1.718018] No BMan portals available!
[ 1.722237] QMan: Allocated lookup table at ffff000009451000, entry count 65537
[ 1.729754] No QMan portals available!
[ 1.733761] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[ 1.741446] clocksource: Switched to clocksource arch_sys_counter
[ 1.747937] VFS: Disk quotas dquot_6.6.0
[ 1.751977] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.774592] NET: Registered protocol family 2
[ 1.780115] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.787450] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 1.794252] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.800796] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 1.806816] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 1.813454] NET: Registered protocol family 1
[ 1.826188] RPC: Registered named UNIX socket transport module.
[ 1.832187] RPC: Registered udp transport module.
[ 1.836932] RPC: Registered tcp transport module.
[ 1.841674] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.848636] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 1.858633] audit: initializing netlink subsys (disabled)
[ 1.864806] audit: type=2000 audit(1.752:1): initialized
[ 1.875257] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[ 1.882380] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.892522] NFS: Registering the id_resolver key type
[ 1.897650] Key type id_resolver registered
[ 1.901870] Key type id_legacy registered
[ 1.905921] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.912948] fuse init (API version 7.26)
[ 1.917218] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 1.937106] 9p: Installing v9fs 9p2000 file system support
[ 1.942731] ceph: loaded (mds proto 32)
[ 1.949386] async_tx: api initialized (async)
[ 1.954034] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 1.965704] io scheduler noop registered
[ 1.969762] io scheduler cfq registered (default)
[ 1.976004] libphy: mdio_driver_register: phy-bcm-ns2-pci
[ 1.983874] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 1.990457] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 1.998121] OF: PCI: host bridge /soc/pcie@3400000 ranges:
[ 2.003904] OF: PCI: IO 0x4000010000..0x400001ffff -> 0x00000000
[ 2.010297] OF: PCI: MEM 0x4040000000..0x407fffffff -> 0x40000000
[ 2.016976] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
[ 2.023826] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.029379] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 2.035631] pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])
[ 2.046795] pci 0000:00:00.0: BAR 6: assigned [mem 0x4040000000-0x40400007ff pref]
[ 2.054562] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 2.060209] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 2.071368] Freescale LS2 console driver
[ 2.076748] fsl-ls2-console: device fsl_mc_console registered
[ 2.082840] fsl-ls2-console: device fsl_aiop_console registered
[ 2.090261] xenfs: not registering filesystem on non-xen platform
[ 2.103763] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 2.112949] console [ttyS0] disabled
[ 2.117324] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 15, base_baud = 7812500) is a 16550A
[ 2.126287] console [ttyS0] enabled
[ 2.126287] console [ttyS0] enabled
[ 2.133380] bootconsole [uart8250] disabled
[ 2.133380] bootconsole [uart8250] disabled
[ 2.142444] SuperH (H)SCI(F) driver initialized
[ 2.147631] msm_serial: driver initialized
[ 2.152769] Unable to detect cache hierarchy for CPU 0
[ 2.235262] brd: module loaded
[ 2.277575] loop: module loaded
[ 2.283761] libphy: Fixed MDIO Bus: probed
[ 2.290556] tun: Universal TUN/TAP device driver, 1.6
[ 2.296886] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 2.304277] Freescale FM module, FMD API version 21.1.0
[ 2.310342] Freescale FM Ports module
[ 2.314111] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[ 2.319976] fsl_dpa: FSL DPAA Ethernet driver
[ 2.324557] fsl_advanced: FSL DPAA Advanced drivers:
[ 2.329601] fsl_proxy: FSL DPAA Proxy initialization driver
[ 2.335333] fsl_oh: FSL FMan Offline Parsing port driver
[ 2.341160] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 2.348425] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 2.354349] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 2.360263] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 2.366348] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[ 2.373382] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 2.379079] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[ 2.386981] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 2.393032] sky2: driver version 1.30
[ 2.398331] VFIO - User Level meta-driver version: 0.3
[ 2.409114] i2c /dev entries driver
[ 2.417290] imx2-wdt 2ad0000.wdog: timeout 60 sec (nowayout=0)
[ 2.425241] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
[ 2.432822] sdhci: Secure Digital Host Controller Interface driver
[ 2.439416] sdhci: Copyright(c) Pierre Ossman
[ 2.444154] Synopsys Designware Multimedia Card Interface Driver
[ 2.450927] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.457399] [k] sdhci_add_host,3668, 1560000.esdhc
[ 2.501468] mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit
[ 2.509572] [k] sdhci_add_host,3668, 1580000.esdhc
[ 2.561461] mmc1: SDHCI controller on 1580000.esdhc [1580000.esdhc] using ADMA 64-bit
[ 2.573646] caam-dma 1700000.crypto:caam-dma: Defer probing after JR driver probing
[ 2.604246] caam 1700000.crypto: Instantiated RNG4 SH1
[ 2.611469] caam 1700000.crypto: device ID = 0x0a14040000000000 (Era
[ 2.620277] caam 1700000.crypto: job rings = 3, qi = 0
[ 2.636855] caam algorithms registered in /proc/crypto
[ 2.647440] caam_jr 1710000.jr: registering rng-caam
[ 2.652611] caam 1700000.crypto: caam pkc algorithms registered in /proc/crypto
[ 2.661571] DPAA2-ETH: debugfs created
[ 2.667009] No fsl,qman node
[ 2.670499] Freescale USDPAA process driver
[ 2.674775] fsl-usdpaa: no region found
[ 2.678824] Freescale USDPAA process IRQ driver
[ 2.687352] optee: probing for conduit method from DT.
[ 2.692769] mmc0: new high speed SDHC card at address 59b4
[ 2.699127] optee: api uid mismatch
[ 2.702797] mmcblk0: mmc0:59b4 USDU1 7.51 GiB
[ 2.708078] mmcblk0: p1 p2 p3
[ 2.718800] Netfilter messages via NETLINK v0.30.
[ 2.726736] nf_conntrack version 0.5.0 (7680 buckets, 30720 max)
[ 2.735001] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[ 2.741582] nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
[ 2.748855] mmc1: new HS200 MMC card at address 0001
[ 2.754546] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.760162] Initializing XFRM netlink socket
[ 2.764482] mmcblk1: mmc1:0001 R1J55A 7.28 GiB
[ 2.769412] NET: Registered protocol family 10
[ 2.773906] mmcblk1boot0: mmc1:0001 R1J55A partition 1 8.00 MiB
[ 2.780433] mmcblk1boot1: mmc1:0001 R1J55A partition 2 8.00 MiB
[ 2.790670] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.796833] mmcblk1rpmb: mmc1:0001 R1J55A partition 3 4.00 MiB
[ 2.803500] mmcblk1: p1
[ 2.809221] NET: Registered protocol family 17
[ 2.813892] NET: Registered protocol family 15
[ 2.818416] Bridge firewalling registered
[ 2.822527] Ebtables v2.0 registered
[ 2.826233] 8021q: 802.1Q VLAN Support v1.8
[ 2.830480] 9pnet: Installing 9P2000 support
[ 2.834908] Key type dns_resolver registered
[ 2.839282] Key type ceph registered
[ 2.847028] libceph: loaded (mon/osd proto 15/24)
[ 2.852587] registered taskstats version 1
[ 2.861729] Btrfs loaded, crc32c=crc32c-generic
[ 2.867812] caam-dma 1700000.crypto:caam-dma: caam dma support with 3 job rings
[ 2.875580] hctosys: unable to open rtc device (rtc0)
[ 2.882135] EXT4-fs (mmcblk0p3): couldn't mount as ext3 due to feature incompatibilities
[ 3.119229] random: fast init done
[ 3.344088] EXT4-fs (mmcblk0p3): recovery complete
[ 3.351416] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 3.359577] VFS: Mounted root (ext4 filesystem) on device 179:3.
[ 3.365704] devtmpfs: mounted
[ 3.369463] Freeing unused kernel memory: 1088K
[ 3.519841] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
Starting logging: OK
Populating /dev using udev: [ 4.079106] udevd[1114]: starting version 3.2.5
[ 4.089292] random: udevd: uninitialized urandom read (16 bytes read)
[ 4.096124] random: udevd: uninitialized urandom read (16 bytes read)
[ 4.102903] random: udevd: uninitialized urandom read (16 bytes read)
[ 4.120726] udevd[1114]: specified group 'input' unknown
[ 4.145047] udevd[1115]: starting eudev-3.2.5
[ 4.577634] pfe: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.620274] cbus_baseaddr: ffff00000a000000, ddr_baseaddr: ffff800003400000, ddr_phys_baseaddr: 83400000, ddr_size: c00000
[ 4.677592] pfe_hw_init
[ 4.680045] CLASS version: 20
[ 4.695715] TMU version: 1011231
[ 4.699295] BMU1 version: 21
[ 4.702317] BMU2 version: 21
[ 4.705198] EGPI1 version: 50
[ 4.708268] EGPI2 version: 50
[ 4.711304] HGPI version: 50
[ 4.714252] HIF version: 10
[ 4.717045] HIF NOPCY version: 10
[ 4.720457] bmu_init(1) done
[ 4.723405] bmu_init(2) done
[ 4.728575] class_init() done
[ 4.741644] tmu_init() done
[ 4.744439] gpi_init(1) done
[ 4.747413] gpi_init(2) done
[ 4.750364] gpi_init(hif) done
[ 4.753417] bmu_enable(1) done
[ 4.756565] bmu_enable(2) done
[ 4.759688] pfe_hif_lib_init
[ 4.762768] pfe_hif_init
[ 4.765301] pfe_hif_alloc_descr
[ 4.768729] pfe_hif_init_buffers
[ 4.772840] pfe_firmware_init
[ 4.780002] pfe_load_elf
[ 4.782625] pe_load_ddr_section: load address(3fb0000) and elf file address(ffff0000095fb000) rcvd
[ 4.814888] PFE binary version: pfe_ls1012a_slowpath_06
[ 4.820129] pfe_load_elf
[ 4.823818] pfe_ctrl_init
[ 4.826518] pfe_ctrl_init finished
[ 4.829989] pfe_eth_init
[ 4.832558] pfe_eth_mdio_init
[ 4.847082] libphy: ls1012a MDIO Bus: probed
[ 4.854625] pfe_phy_init interface 3
[ 4.858591] pfe 4000000.pfe eth0: pfe_eth_init_one: created interface, baseaddr: ffff00000a200000
[ 4.870768] pfe_phy_init interface 3
[ 4.874712] pfe 4000000.pfe eth1: pfe_eth_init_one: created interface, baseaddr: ffff00000a220000
[ 4.883901] pfe_debugfs_init
done
Initializing random number generator... done.
Mounting cgroupfs hierarchy: OK
Starting system message bus: [ 5.095283] urandom_read: 3 callbacks suppressed
[ 5.095289] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[ 5.107152] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
[ 5.132420] random: dbus-daemon: uninitialized urandom read (12 bytes read)
dbus-daemon[1178]: Failed to start message bus: Could not get UID and GID for username "dbus"
done
Starting network: OK
Starting dhcpcd...
no interfaces ha[ 5.274929] pfe 4000000.pfe eth0: pfe_eth_open
ve a carrier
forked to background, child pid [ 5.282415] hif_process_client_req: register client_id 0
1207
[ 5.289038] pfe_hif_client_register
[ 5.296298] pfe 4000000.pfe eth0: pfe_gemac_init
[ 5.301937] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.309123] pfe 4000000.pfe eth1: pfe_eth_open
[ 5.314395] hif_process_client_req: register client_id 1
[ 5.319763] pfe_hif_client_register
[ 5.323895] pfe 4000000.pfe eth1: pfe_gemac_init
ssh-keygen: generating new host keys: RSA [ 5.869471] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 6.317936] pfe 4000000.pfe eth0: Link is Up - 1Gbps/Full - flow control rx/tx
DSA ECDSA ED25519
Starting sshd: Privilege separation user sshd does not exist
OK

LSDK Buildroot
LSDK login: root
[root@LSDK ~]# ls
rootfs_buildroot_arm64_moderate.tar
[root@LSDK ~]# df -hT
Filesystem Type Size Used Available Use% Mounted on
/dev/root ext4 6.2G 255.3M 5.6G 4% /
devtmpfs devtmpfs 448.1M 0 448.1M 0% /dev
tmpfs tmpfs 456.6M 0 456.6M 0% /dev/shm
tmpfs tmpfs 456.6M 44.0K 456.5M 0% /tmp
tmpfs tmpfs 456.6M 100.0K 456.5M 0% /run
cgroup tmpfs 456.6M 0 456.6M 0% /sys/fs/cgroup

[root@LSDK ~]# uname -a
Linux LSDK 4.9.140-dirty #1 SMP PREEMPT Tue Oct 6 11:29:58 UTC 2020 aarch64 GNU/Linux
[root@LSDK ~]# rdate -s time.bora.net
[root@LSDK ~]# tar xf rootfs_buildroot_arm64_moderate.tar
[ 40.615952] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 40.615952]
[ 40.625115] CPU: 0 PID: 1 Comm: init Tainted: G C 4.9.140-dirty #1
[ 40.632433] Hardware name: LS1012A FRWY Board (DT)
[ 40.637227] Call trace:
[ 40.639682] [<ffff000008089570>] dump_backtrace+0x0/0x238
[ 40.645089] [<ffff0000080897bc>] show_stack+0x14/0x20
[ 40.650149] [<ffff0000084f1054>] dump_stack+0xa0/0xc4
[ 40.655209] [<ffff00000816064c>] panic+0x120/0x290
[ 40.660007] [<ffff0000080aafe8>] complete_and_exit+0x0/0x20
[ 40.665587] [<ffff0000080ab050>] do_group_exit+0x38/0xa0
[ 40.670907] [<ffff0000080b57d4>] get_signal+0xfc/0x4d0
[ 40.676052] [<ffff00000808871c>] do_signal+0x174/0x990
[ 40.681196] [<ffff0000080892a8>] do_notify_resume+0x88/0xa8
[ 40.686776] [<ffff000008083884>] work_pending+0x8/0x10
[ 40.691921] Kernel Offset: disabled
[ 40.695409] Memory Limit: none
[ 40.698466] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 40.698466]

 

Any pointers are greatly appreciated!

Thank you!

Best Regards,

Gyosun.

0 Kudos
1 Solution
1,660 Views
gyosunshim
Contributor III

Again I solved it!!

I found that the DDR part marked on the circuit diagram of XFRWY-LS1012A RevB and the DDR mounted on the board are different.

The circuit diagram is 512MB, and the board is equipped with 1GB.

So, by modifying the two parts as below, kernel panic did not occur.

 

vi plat/nxp/soc-ls1012/ls1012afrwy/platform_def.h

#define PLAT_DEF_DRAM0_SIZE 0x20000000

vi board/freescale/ls1012afrdm/ls1012afrdm.c

gd->ram_size = SYS_SDRAM_SIZE_512;

 

Best Regards,

Gyosun.

View solution in original post

0 Kudos
1 Reply
1,661 Views
gyosunshim
Contributor III

Again I solved it!!

I found that the DDR part marked on the circuit diagram of XFRWY-LS1012A RevB and the DDR mounted on the board are different.

The circuit diagram is 512MB, and the board is equipped with 1GB.

So, by modifying the two parts as below, kernel panic did not occur.

 

vi plat/nxp/soc-ls1012/ls1012afrwy/platform_def.h

#define PLAT_DEF_DRAM0_SIZE 0x20000000

vi board/freescale/ls1012afrdm/ls1012afrdm.c

gd->ram_size = SYS_SDRAM_SIZE_512;

 

Best Regards,

Gyosun.

0 Kudos