Kernel panic for ls1043ardb based custom board

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

Kernel panic for ls1043ardb based custom board

1,976 Views
mariyapradeep
Contributor II

Hi,

We are having a custom board based on ls1043ardb. We need to boot from NOR. RCW+PBI, u-boot,FMan,PPA,QE and FIT images are all loaded into the NOR flash at bank 0.But on booting it is giving a kernel panic.Is there anything we need to take care about when booting from NOR for the first time. The log from the kernel is as follows :

## Loading kernel from FIT Image at 82000000 ...

   Using 'config@1' configuration

   Trying 'kernel@1' kernel subimage

     Description:  ARM64 Linux kernel

     Type:         Kernel Image

     Compression:  gzip compressed

     Data Start:   0x820000dc

     Data Size:    4412984 Bytes = 4.2 MiB

     Architecture: AArch64

     OS:           Linux

     Load Address: 0x80080000

     Entry Point:  0x80080000

   Verifying Hash Integrity ... OK

## Loading ramdisk from FIT Image at 82000000 ...

   Using 'config@1' configuration

   Trying 'ramdisk@1' ramdisk subimage

     Description:  LS1043 Ramdisk

     Type:         RAMDisk Image

     Compression:  uncompressed

     Data Start:   0x8243c760

     Data Size:    30550341 Bytes = 29.1 MiB

     Architecture: AArch64

     OS:           Linux

     Load Address: unavailable

     Entry Point:  unavailable

   Verifying Hash Integrity ... OK

## Loading fdt from FIT Image at 82000000 ...

   Using 'config@1' configuration

   Trying 'fdt@1' fdt subimage

     Description:  Flattened Device Tree blob

     Type:         Flat Device Tree

     Compression:  uncompressed

     Data Start:   0x824357c8

     Data Size:    28432 Bytes = 27.8 KiB

     Architecture: AArch64

   Verifying Hash Integrity ... OK

   Loading fdt from 0x824357c8 to 0x90000000

   Booting using the fdt blob at 0x90000000

   Uncompressing Kernel Image ... OK

   reserving fdt memory region: addr=80000000 size=10000

   Using Device Tree in place at 0000000090000000, end 0000000090019f0f

Starting kernel ...

Booting Linux on physical CPU 0x0

Initializing cgroup subsys cpu

Linux version 3.19.3+ (akesh@akesh) (gcc version 4.8.3 20140401 (prerelease) (Linaro GCC 4.8-2014.04) ) #1 SMP PREEMPT Mon Apr 25 15:50:26 IST6

CPU: AArch64 Processor [410fd034] revision 4

Detected VIPT I-cache on CPU0

Early serial console at MMIO 0x21c0500 (options '115200')

bootconsole [uart0] enabled

efi: Getting EFI parameters from FDT:

efi: UEFI not found.

Reserved memory: initialized node bman-fbpr, compatible id fsl,bman-fbpr

Reserved memory: initialized node qman-fqd, compatible id fsl,qman-fqd

Reserved memory: initialized node qman-pfdr, compatible id fsl,qman-pfdr

cma: Reserved 16 MiB at 0x00000000fb000000

psci: probing for conduit method from DT.

psci: PSCIv0.2 detected in firmware.

psci: Using standard PSCI v0.2 function IDs

PERCPU: Embedded 14 pages/cpu @ffffffc07fd90000 s18880 r8192 d30272 u57344

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 515592

Kernel command line: console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,0x21c0500,115200

log_buf_len individual max cpu contribution: 4096 bytes

log_buf_len total cpu_extra contributions: 12288 bytes

log_buf_len min size: 16384 bytes

log_buf_len: 32768 bytes

early log buf free: 14496(88%)

PID hash table entries: 4096 (order: 3, 32768 bytes)

Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)

Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)

Memory: 1948920K/2095104K available (6497K kernel code, 463K rwdata, 2204K rodata, 284K init, 710K bss, 129800K reserved, 16384K cma-reserved)

Virtual kernel memory layout:

    vmalloc : 0xffffff8000000000 - 0xffffffbdbfff0000   (   246 GB)

    vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)

              0xffffffbdc2000000 - 0xffffffbdc3ff8000   (    31 MB actual)

    PCI I/O : 0xffffffbffa000000 - 0xffffffbffb000000   (    16 MB)

    fixed   : 0xffffffbffbdfd000 - 0xffffffbffbdff000   (     8 KB)

    modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)

    memory  : 0xffffffc000000000 - 0xffffffc07fe00000   (  2046 MB)

      .init : 0xffffffc000902000 - 0xffffffc000949000   (   284 KB)

      .text : 0xffffffc000080000 - 0xffffffc000901664   (  8710 KB)

      .data : 0xffffffc000956000 - 0xffffffc0009c9c00   (   463 KB)

SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

Preemptible hierarchical RCU implementation.

        RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.

RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4

NR_IRQS:64 nr_irqs:64 0

Architected cp15 timer(s) running at 25.00MHz (phys).

sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 2748779069440ns

Console: colour dummy device 80x25

Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)

pid_max: default: 32768 minimum: 301

Security Framework initialized

Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)

Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)

Initializing cgroup subsys memory

Initializing cgroup subsys hugetlb

hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available

EFI services will not be available.

CPU1: Booted secondary processor

Detected VIPT I-cache on CPU1

CPU2: Booted secondary processor

Detected VIPT I-cache on CPU2

CPU3: Booted secondary processor

Detected VIPT I-cache on CPU3

Brought up 4 CPUs

SMP: Total of 4 processors activated.

devtmpfs: initialized

DMI not present or invalid.

NET: Registered protocol family 16

Bman ver:0a02,02,01

qman-fqd addr 0xff800000 size 0x400000

qman-pfdr addr 0xfc000000 size 0x2000000

Qman ver:0a01,03,02

vdso: 2 pages (1 code @ ffffffc00095d000, 1 data @ ffffffc00095c000)

hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.

software IO TLB [mem 0xf8800000-0xf8c00000] (4MB) mapped at [ffffffc078800000-ffffffc078bfffff]

DMA: preallocated 256 KiB pool for atomic allocations

Serial: AMBA PL011 UART driver

vgaarb: loaded

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

i2c i2c-0: IMX I2C adapter registered

i2c i2c-0: using dma0chan16 (tx) and dma0chan17 (rx) for DMA transfers

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

PTP clock support registered

bman-fbpr addr 0xfe000000 size 0x1000000

Bman err interrupt handler present

Bman portal initialised, cpu 0

Bman portal initialised, cpu 1

Bman portal initialised, cpu 2

Bman portal initialised, cpu 3

Bman portals initialised

Qman err interrupt handler present

QMan: Allocated lookup table at ffffff80001cd000, entry count 65537

QMan Pool Channel base 0x401

Parse QMan portal irq 43

Parse QMan portal irq 44

Parse QMan portal irq 45

Parse QMan portal irq 46

Parse QMan portal irq 47

Parse QMan portal irq 48

Parse QMan portal irq 49

Parse QMan portal irq 50

Parse QMan portal irq 51

Qman portal initialised, cpu 0

Qman portal initialised, cpu 1

Qman portal initialised, cpu 2

Qman portal initialised, cpu 3

Qman portals initialised

Bman: BPID allocator includes range 32:32

Qman: FQID allocator includes range 256:256

Qman: FQID allocator includes range 32768:32768

Qman: CGRID allocator includes range 0:256

Qman: pool channel allocator includes range 1025:15

No USDPAA memory, no 'usdpaa_mem' bootarg

fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller

fsl-ifc 1530000.ifc: IFC version 1.4, 8 banks

Switched to clocksource arch_sys_counter

NET: Registered protocol family 2

TCP established hash table entries: 16384 (order: 5, 131072 bytes)

TCP bind hash table entries: 16384 (order: 6, 262144 bytes)

TCP: Hash tables configured (established 16384 bind 16384)

TCP: reno registered

UDP hash table entries: 1024 (order: 3, 32768 bytes)

UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

Trying to unpack rootfs image as initramfs...

rootfs image is not initramfs (no cpio magic); looks like an initrd

Freeing initrd memory: 29832K (ffffffc00243d000 - ffffffc00415f000)

kvm [1]: HYP mode not available

futex hash table entries: 1024 (order: 4, 65536 bytes)

audit: initializing netlink subsys (disabled)

audit: type=2000 audit(0.530:1): initialized

HugeTLB registered 2 MB page size, pre-allocated 0 pages

fuse init (API version 7.23)

9p: Installing v9fs 9p2000 file system support

io scheduler noop registered

io scheduler cfq registered (default)

layerscape-pcie 3400000.pcie: phy link never came up

layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00

pci_bus 0000:00: root bus resource [io  0x1000-0xffff]

pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])

pci_bus 0000:00: root bus resource [bus 00-ff]

pci 0000:00:00.0: BAR 1: assigned [mem 0x4040000000-0x4043ffffff]

pci 0000:00:00.0: BAR 0: assigned [mem 0x4044000000-0x4044ffffff]

pci 0000:00:00.0: BAR 6: assigned [mem 0x4045000000-0x4045ffffff pref]

pci 0000:00:00.0: PCI bridge to [bus 01]

layerscape-pcie 3500000.pcie: phy link never came up

layerscape-pcie 3500000.pcie: PCI host bridge to bus 0001:00

pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])

pci_bus 0001:00: root bus resource [mem 0x4840000000-0x487fffffff] (bus address [0x40000000-0x7fffffff])

pci_bus 0001:00: root bus resource [bus 00-ff]

pci 0001:00:00.0: BAR 1: assigned [mem 0x4840000000-0x4843ffffff]

pci 0001:00:00.0: BAR 0: assigned [mem 0x4844000000-0x4844ffffff]

pci 0001:00:00.0: BAR 6: assigned [mem 0x4845000000-0x4845ffffff pref]

pci 0001:00:00.0: PCI bridge to [bus 01]

layerscape-pcie 3600000.pcie: phy link never came up

layerscape-pcie 3600000.pcie: PCI host bridge to bus 0002:00

pci_bus 0002:00: root bus resource [io  0x20000-0x2ffff] (bus address [0x0000-0xffff])

pci_bus 0002:00: root bus resource [mem 0x5040000000-0x507fffffff] (bus address [0x40000000-0x7fffffff])

pci_bus 0002:00: root bus resource [bus 00-ff]

pci 0002:00:00.0: BAR 1: assigned [mem 0x5040000000-0x5043ffffff]

pci 0002:00:00.0: BAR 0: assigned [mem 0x5044000000-0x5044ffffff]

pci 0002:00:00.0: BAR 6: assigned [mem 0x5045000000-0x5045ffffff pref]

pci 0002:00:00.0: PCI bridge to [bus 01]

PM: Power Management driver initialized.

Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled

console [ttyS0] disabled

21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 26, base_baud = 25000000) is a 16550A

console [ttyS0] enabled

console [ttyS0] enabled

bootconsole [uart0] disabled

bootconsole [uart0] disabled

21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 26, base_baud = 25000000) is a 16550A

21d0500.serial: ttyS2 at MMIO 0x21d0500 (irq = 27, base_baud = 25000000) is a 16550A

21d0600.serial: ttyS3 at MMIO 0x21d0600 (irq = 27, base_baud = 25000000) is a 16550A

brd: module loaded

loop: module loaded

ahci 3200000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode

ahci 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst

scsi host0: ahci_platform

ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 34

60000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e

Amd/Fujitsu Extended Query Table at 0x0040

  Amd/Fujitsu Extended Query version 1.3.

number of CFI chips: 1

10 ofpart partitions found on MTD device 60000000.nor

Creating 10 MTD partitions on "60000000.nor":

0x000000000000-0x000000100000 : "NOR bank0 RCW Image LS1043A_WIWU_ROUT"

0x000000100000-0x000000200000 : "NOR bank0 U-Boot Image LS1043A_WIWU_ROUT"

0x000000200000-0x000000300000 : "NOR bank0 U-Boot Env LS1043A_WIWU_ROUT"

0x000000300000-0x000000400000 : "NOR bank0 FMan ucode LS1043A_WIWU_ROUT"

0x000001100000-0x000003900000 : "NOR bank0 FIT Image LS1043A_WIWU_ROUT"

0x000004000000-0x000004100000 : "NOR bank4 RCW Image LS1043A_WIWU_ROUT"

0x000004100000-0x000004200000 : "NOR bank4 U-Boot Image LS1043A_WIWU_ROUT"

0x000004200000-0x000004300000 : "NOR bank4 U-Boot Env LS1043A_WIWU_ROUT"

0x000004300000-0x000004400000 : "NOR bank4 FMan ucode LS1043A_WIWU_ROUT"

0x000005100000-0x000007900000 : "NOR bank4 FIT Image LS1043A_WIWU_ROUT"

fsl,ifc-nand 7e800000.nand: fsl_ifc_cmdfunc: error, unsupported command 0x5.

fsl,ifc-nand 7e800000.nand: fsl_ifc_read_buf: beyond end of buffer (48 requested, 0 available)

nand: Failed to detect ONFI extended param page

nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x64

nand: Micron MT29F64G08CBCBBH1

nand: 8192 MiB, MLC, erase size: 2048 KiB, page size: 8192, OOB size: 744

Bad block table not found for chip 0

Bad block table not found for chip 0

Scanning device for bad blocks

ata1: SATA link down (SStatus 0 SControl 300)

Bad block table written to 0x0001ffe00000, version 0x01

Bad block table written to 0x0001ffc00000, version 0x01

3 ofpart partitions found on MTD device 7e800000.flash

Creating 3 MTD partitions on "7e800000.flash":

0x000000000000-0x000000100000 : "NAND U-Boot Image LS1043A_WIWU_ROUT"

0x000000140000-0x000000142000 : "NAND U-Boot Env LS1043A_WIWU_ROUT"

mtd: partition "NAND U-Boot Env LS1043A_WIWU_ROUT" doesn't start on an erase block boundary -- force read-only

0x000000200000-0x000001600000 : "NAND FIT Image LS1043A_WIWU_ROUT"

fsl,ifc-nand 7e800000.nand: IFC NAND device at 0x7e800000, bank 1

libphy: Fixed MDIO Bus: probed

tun: Universal TUN/TAP device driver, 1.6

tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

libphy: Freescale XGMAC MDIO Bus: probed

libphy: Freescale XGMAC MDIO Bus: probed

libphy: Freescale XGMAC MDIO Bus: probed

libphy: Freescale XGMAC MDIO Bus: probed

libphy: Freescale XGMAC MDIO Bus: probed

libphy: Freescale XGMAC MDIO Bus: probed

libphy: Freescale XGMAC MDIO Bus: probed

libphy: Freescale XGMAC MDIO Bus: probed

libphy: Freescale XGMAC MDIO Bus: probed

DBG: UUUUUUUUUUUUUU hcCh ?8?

<<>><<< p_LnxWrpFmDev->fmPhysBaseAddr = 0x1a00000

<<>><<< p_LnxWrpFmDev->fmBaseAddr = 0xffffff8008a00000

Freescale FM module  FMD API version 21.1.0

Freescale FM Ports module.

fsl_mac: fsl_mac: FSL FMan MAC API based driver

fsl_mac 1ae0000.ethernet: FMan MEMAC

fsl_mac 1ae0000.ethernet: FMan MAC address: 00:04:9f:03:dc:8c

fsl_mac 1ae2000.ethernet: FMan MEMAC

fsl_mac 1ae2000.ethernet: FMan MAC address: 00:04:9f:03:dc:86

fsl_mac 1ae4000.ethernet: FMan MEMAC

fsl_mac 1ae4000.ethernet: FMan MAC address: 00:04:9f:03:dc:87

fsl_mac 1ae6000.ethernet: FMan MEMAC

fsl_mac 1ae6000.ethernet: FMan MAC address: 00:04:9f:03:dc:88

fsl_mac 1ae8000.ethernet: FMan MEMAC

fsl_mac 1ae8000.ethernet: FMan MAC address: 00:04:9f:03:dc:89

fsl_mac 1aea000.ethernet: FMan MEMAC

fsl_mac 1aea000.ethernet: FMan MAC address: 00:04:9f:03:dc:8a

fsl_dpa: FSL DPAA Ethernet driver

fsl_dpa: fsl_dpa: Probed interface eth0

fsl_dpa: fsl_dpa: Probed interface eth1

fsl_dpa: fsl_dpa: Probed interface eth2

fsl_dpa: fsl_dpa: Probed interface eth3

fsl_dpa: fsl_dpa: Probed interface eth4

fsl_dpa: fsl_dpa: Probed interface eth5

fsl_dpa fsl,dpaa:ethernet@8: of_find_device_by_node(/fman@1a00000/ethernet@f0000) failed

fsl_dpa: probe of fsl,dpaa:ethernet@8 failed with error -22

fsl_advanced: FSL DPAA Advanced drivers:

fsl_proxy: FSL DPAA Proxy initialization driver

fsl_dpa_shared: FSL DPAA Shared Ethernet driver

fsl_dpa_macless: FSL DPAA MACless Ethernet driver

fsl_oh: FSL FMan Offline Parsing port driver

e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI

e1000: Copyright (c) 1999-2006 Intel Corporation.

e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k

e1000e: Copyright(c) 1999 - 2014 Intel Corporation.

xhci-hcd xhci-hcd.0.auto: xHCI Host Controller

xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1

xhci-hcd xhci-hcd.0.auto: irq 31, io mem 0x02f00000

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

xhci-hcd xhci-hcd.0.auto: xHCI Host Controller

xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

xhci-hcd xhci-hcd.1.auto: xHCI Host Controller

xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3

xhci-hcd xhci-hcd.1.auto: irq 32, io mem 0x03000000

hub 3-0:1.0: USB hub found

hub 3-0:1.0: 1 port detected

xhci-hcd xhci-hcd.1.auto: xHCI Host Controller

xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4

hub 4-0:1.0: USB hub found

hub 4-0:1.0: 1 port detected

xhci-hcd xhci-hcd.2.auto: xHCI Host Controller

xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 5

xhci-hcd xhci-hcd.2.auto: irq 33, io mem 0x03100000

hub 5-0:1.0: USB hub found

hub 5-0:1.0: 1 port detected

xhci-hcd xhci-hcd.2.auto: xHCI Host Controller

xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 6

hub 6-0:1.0: USB hub found

hub 6-0:1.0: 1 port detected

usbcore: registered new interface driver usb-storage

mousedev: PS/2 mouse device common for all mice

rtc-ds1307 0-0068: rtc core: registered pt7c4338 as rtc0

rtc-ds1307 0-0068: 56 bytes nvram

i2c /dev entries driver

imx2-wdt 2ad0000.wdog: timeout 60 sec (nowayout=0)

Driver 'mmcblk' needs updating - please use bus_type methods

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

Unable to handle kernel NULL pointer dereference at virtual address 0000005e

pgd = ffffffc000a7e000

[0000005e] *pgd=00000000f9007003, *pud=00000000f9007003, *pmd=00000000f9008003, *pte=0060000001401707

Internal error: Oops: 96000005 [#1] PREEMPT SMP

Modules linked in:

CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.19.3+ #1

Hardware name: LS1043A WIWU_ROUT Board (DT)

task: ffffffc079070000 ti: ffffffc079078000 task.ti: ffffffc079078000

PC is at clk_get_rate+0x18/0x7c

LR is at clk_get_rate+0x14/0x7c

pc : [<ffffffc0005dacec>] lr : [<ffffffc0005dace8>] pstate: 60000045

sp : ffffffc07907bbf0

x29: ffffffc07907bbf0 x28: 0000000000000000

x27: 00000000000000c9 x26: ffffffc000936a70

x25: ffffffc0008fa178 x24: 0000000000000000

x23: ffffffc000994000 x22: ffffffc0786134c0

x21: ffffffc07fdd0678 x20: ffffffc07929c400

x19: fffffffffffffffe x18: 000000000000000e

x17: 0000000000000007 x16: 0000000000000006

x15: ffffff0000000000 x14: 0ffffffffffffffe

x13: 0000000000000020 x12: 0000000000000038

x11: 0000000000000004 x10: 0101010101010101

x9 : fffffffffffffff9 x8 : 7f7f7f7f7f7f7f7f

x7 : 0000000000000000 x6 : 0000000000000000

x5 : 0000000000067800 x4 : ffffffc07fd96a00

x3 : ffffffc07907bbd0 x2 : ffffffc079070000

x1 : ffffffc07907bbd0 x0 : 0000000000000001

Process swapper/0 (pid: 1, stack limit = 0xffffffc079078058)

Stack: (0xffffffc07907bbf0 to 0xffffffc07907c000)

bbe0:                                     7907bc20 ffffffc0 00588358 ffffffc0

bc00: 786134c0 ffffffc0 7929c400 ffffffc0 7fdd0678 ffffffc0 008a81b0 ffffffc0

bc20: 7907bc50 ffffffc0 0037b248 ffffffc0 7929c410 ffffffc0 009b43c0 ffffffc0

bc40: 7929c470 ffffffc0 009b43e8 ffffffc0 7907bc80 ffffffc0 00379734 ffffffc0

bc60: 7929c410 ffffffc0 009ea000 ffffffc0 7929c470 ffffffc0 009b43e8 ffffffc0

bc80: 7907bcc0 ffffffc0 003799e0 ffffffc0 7929c410 ffffffc0 009b43e8 ffffffc0

bca0: 7929c470 ffffffc0 00000000 00000000 00994000 ffffffc0 00902270 ffffffc0

bcc0: 7907bcf0 ffffffc0 00377b80 ffffffc0 00000000 00000000 009b43e8 ffffffc0

bce0: 00379944 ffffffc0 00902270 ffffffc0 7907bd30 ffffffc0 00379298 ffffffc0

usb usb1-port1: over-current condition

bd00: 009b43e8 ffffffc0 7841dd80 ffffffc0 009946e8 ffffffc0 006bdcec ffffffc0

bd20: 79005ca8 ffffffc0 7917d128 ffffffc0 7907bd40 ffffffc0 00378f10 ffffffc0

usb usb2-port1: over-current condition

bd40: 7907bd80 ffffffc0 0037a058 ffffffc0 009b43e8 ffffffc0 037c63c0 ffffffc0

bd60: 00000000 00000000 00924378 ffffffc0 00000000 00000000 000827c8 ffffffc0

bd80: 7907bdb0 ffffffc0 0037b17c ffffffc0 0096a720 ffffffc0 037c63c0 ffffffc0

usb usb3-port1: over-current condition

bda0: 0096a720 ffffffc0 00902270 ffffffc0 7907bdc0 ffffffc0 00924390 ffffffc0

usb usb4-port1: over-current condition

bdc0: 7907bdd0 ffffffc0 000827d8 ffffffc0 7907be50 ffffffc0 00902af4 ffffffc0

bde0: 00943188 ffffffc0 009369d0 ffffffc0 00000006 00000000 009cc000 ffffffc0

usb usb5-port1: over-current condition

be00: 009cc000 ffffffc0 00902270 ffffffc0 008fa100 ffffffc0 00936a70 ffffffc0

be20: 000000c9 00000000 00000000 00000000 7907be50 ffffffc0 00974d78 ffffffc0

usb usb6-port1: over-current condition

be40: 00000006 00000006 7fdfdc06 ffffffc0 7907beb0 ffffffc0 006bde68 ffffffc0

be60: 006bde58 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000

be80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

bea0: 00000000 00000000 000863e4 ffffffc0 00000000 00000000 000863f0 ffffffc0

bec0: 006bde58 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000

bee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

bf20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

bf40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

bf60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

bf80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

bfa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000005 00000000

bfe0: 00000000 00000000 00000000 00000000 deadbeef deadbeef deadbeef deadbeef

Call trace:

[<ffffffc0005dacec>] clk_get_rate+0x18/0x7c

[<ffffffc000588354>] sdhci_esdhc_probe+0x100/0x14c

[<ffffffc00037b244>] platform_drv_probe+0x48/0xb8

[<ffffffc000379730>] driver_probe_device+0x78/0x238

[<ffffffc0003799dc>] __driver_attach+0x98/0xa0

[<ffffffc000377b7c>] bus_for_each_dev+0x54/0x98

[<ffffffc000379294>] driver_attach+0x1c/0x28

[<ffffffc000378f0c>] bus_add_driver+0x14c/0x204

[<ffffffc00037a054>] driver_register+0x64/0x130

[<ffffffc00037b178>] __platform_driver_register+0x5c/0x68

[<ffffffc00092438c>] sdhci_esdhc_driver_init+0x14/0x20

[<ffffffc0000827d4>] do_one_initcall+0x88/0x1ac

[<ffffffc000902af0>] kernel_init_freeable+0x140/0x1e8

[<ffffffc0006bde64>] kernel_init+0xc/0xdc

Code: f9000bf3 aa0003f3 97fffcc7 b4000273 (f9403261)

---[ end trace b796ae700a6100ee ]---

Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

CPU3: stopping

CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D        3.19.3+ #1

Hardware name: LS1043A WIWU_ROUT Board (DT)

Call trace:

[<ffffffc00008a154>] dump_backtrace+0x0/0x12c

[<ffffffc00008a290>] show_stack+0x10/0x1c

[<ffffffc0006c35cc>] dump_stack+0x88/0xd8

[<ffffffc000092e50>] handle_IPI+0x184/0x194

[<ffffffc000082460>] gic_handle_irq+0x78/0x80

Exception stack(0xffffffc0790dbe30 to 0xffffffc0790dbf50)

be20:                                     790d8000 ffffffc0 0096458c ffffffc0

be40: 790dbf70 ffffffc0 00087164 ffffffc0 00000000 00000000 00000000 00000000

be60: 7fdbab2c ffffffc0 7fdbab2c ffffffc0 03d49668 ffffffc0 790dbef0 ffffffc0

be80: ed807c60 00000000 000003f7 00000000 790c9b40 ffffffc0 790dbd80 ffffffc0

bea0: 00000000 00000000 200a438d 00000000 0000001a 00000000 00000013 00000000

bec0: 0000000e 00000000 00000007 00000000 00000001 00000000 00000007 00000000

bee0: 0000000e 00000000 790d8000 ffffffc0 0096458c ffffffc0 00964508 ffffffc0

bf00: 009c996b ffffffc0 00000001 00000000 00850250 ffffffc0 006da8f0 ffffffc0

bf20: 80a7e000 00000000 000825e0 ffffffc0 80000000 00000040 790dbf70 ffffffc0

bf40: 00087160 ffffffc0 790dbf70 ffffffc0

[<ffffffc000085da4>] el1_irq+0x64/0xd8

[<ffffffc0000e2f2c>] cpu_startup_entry+0xe8/0x12c

[<ffffffc000092910>] secondary_start_kernel+0x124/0x134

CPU2: stopping

CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D        3.19.3+ #1

Hardware name: LS1043A WIWU_ROUT Board (DT)

Call trace:

[<ffffffc00008a154>] dump_backtrace+0x0/0x12c

[<ffffffc00008a290>] show_stack+0x10/0x1c

[<ffffffc0006c35cc>] dump_stack+0x88/0xd8

[<ffffffc000092e50>] handle_IPI+0x184/0x194

[<ffffffc000082460>] gic_handle_irq+0x78/0x80

Exception stack(0xffffffc0790d7e30 to 0xffffffc0790d7f50)

7e20:                                     790d4000 ffffffc0 0096458c ffffffc0

7e40: 790d7f70 ffffffc0 00087164 ffffffc0 00000000 00000000 00000000 00000000

7e60: 7fdacb2c ffffffc0 790d7ef0 ffffffc0 0359a4e8 ffffffc0 790d7ef0 ffffffc0

7e80: 03b4f7e8 ffffffc0 000003f7 00000000 790c9040 ffffffc0 790d7d80 ffffffc0

7ea0: 00000000 00000000 ab926a70 00000000 0000001a 00000000 00000013 00000000

7ec0: 0000000e 00000000 00000007 00000000 00000001 00000000 00000007 00000000

7ee0: 0000000e 00000000 790d4000 ffffffc0 0096458c ffffffc0 00964508 ffffffc0

7f00: 009c996b ffffffc0 00000001 00000000 00850250 ffffffc0 006da8f0 ffffffc0

7f20: 80a7e000 00000000 000825e0 ffffffc0 80000000 00000+-----------------------------+

7f40: 00087160 ffffffc0 790d7f70 ffffffc0               |                             |

[<ffffffc000085da4>] el1_irq+0x64/0xd8                  |  Cannot open /dev/ttyUSB0!  |

[<ffffffc0000e2f2c>] cpu_startup_entry+0xe8/0x12c       |                             |

[<ffffffc000092910>] secondary_start_kernel+0x124/0x134 +-----------------------------+

CPU1: stopping

CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D        3.19.3+ #1

Hardware name: LS1043A WIWU_ROUT Board (DT)

Call trace:

[<ffffffc00008a154>] dump_backtrace+0x0/0x12c

[<ffffffc00008a290>] show_stack+0x10/0x1c

[<ffffffc0006c35cc>] dump_stack+0x88/0xd8

[<ffffffc000092e50>] handle_IPI+0x184/0x194

[<ffffffc000082460>] gic_handle_irq+0x78/0x80

Exception stack(0xffffffc0790d3e30 to 0xffffffc0790d3f50)

3e20:                                     790d0000 ffffffc0 0096458c ffffffc0

3e40: 790d3f70 ffffffc0 00087164 ffffffc0 00000000 00000000 00000000 00000000

3e60: 7fd9eb2c ffffffc0 00000001 00000000 00000000 00000000 7fd9ef48 ffffffc0

3e80: 2a9e8880 00000001 009cfa18 ffffffc0 790c8540 ffffffc0 790d3d80 ffffffc0

3ea0: ffff8c6e 00000000 005e0000 00000000 0095e000 ffffffc0 00000010 00000000

3ec0: fffffffe 0fffffff 00000007 00000000 00000001 00000000 00000007 00000000

3ee0: 0000000e 00000000 790d0000 ffffffc0 0096458c ffffffc0 00964508 ffffffc0

3f00: 009c996b ffffffc0 00000001 00000000 00850250 ffffffc0 006da8f0 ffffffc0

3f20: 80a7e000 00000000 000825e0 ffffffc0 80000000 00000040 790d3f70 ffffffc0

3f40: 00087160 ffffffc0 790d3f70 ffffffc0

[<ffffffc000085da4>] el1_irq+0x64/0xd8

[<ffffffc0000e2f2c>] cpu_startup_entry+0xe8/0x12c

[<ffffffc000092910>] secondary_start_kernel+0x124/0x134

---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

B

@

Tags (2)
0 Kudos
3 Replies

1,022 Views
bpe
NXP Employee
NXP Employee

The log displays complaints about kernel null pointer references, looks like memory corruption. While the exact reason can be established by only debugging,  here are some  suggestions to check for common problems:

1. Run memory tests, ensure the system memory operates reliably.

2. Make sure u-Boot properly detects your board memory size and conveys this information to the kernel

3. Remove any extra kernel drivers/modules you configured.

4. Make sure the system is not overclocked


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,022 Views
mariyapradeep
Contributor II

Hi Platon,

On debugging we found that with serdes 1455 there is no issues and the board is working fine, but we need serdes 4555 in which kernel panic occurs.Also in PBL generated by "CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA"   HWA_CGA_M2_CLK_SEL (bit 509-511) in RCW was 000 for serdes 1455 and serdes 4555(we need it to be 001).However with the above tool  we are not able to change those bits.We think that due to this kernel panic occurs.So what should we do to change those bits.Is there any other way?Also please mention the QCVS tool that can be used for this.

Pls help

0 Kudos

1,022 Views
mariyapradeep
Contributor II

Hi Platon,

One more point to add.While we are booting from sd card there is no panic issue.It happens only in the case of nor boot.So dont think its the ddr issue.

0 Kudos