This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2PXEVM: early boot will occur kernel panic

Part Number: TDA2PXEVM

Tool/software: Linux

Hello,

We are using early boot & late attach. According to VisionSDK_Linux_UserGuide.pdf from TI visionSDK, after applying the patches from linux/kernel/linux-kernel-addon/earlyboot-kernel-patches/*, and prepare SD card, at last, run early-boot-update.sh to replace the boot partiton. Now, it will occur kernel panic. Please find the boot log in the attchment.Could you help to have a look?

Thanks 

Terence

[BEGIN] 2019/7/16 10:16:36

U-Boot SPL 2016.05 (Jul 15 2019 - 16:48:37)
DRA762-GP ES1.0
no pinctrl for hs200_1_8v
no pinctrl for ddr_1_8v
** First descriptor is NOT a primary desc on 1:1 **
*** Warning - bad CRC, using default environment

i2c_write: error waiting for data ACK (status=0x116)
i2c_write: error waiting for data ACK (status=0x116)
Trying to boot from MMC1
reading dra7-ipu2-fw.lzop
reading dra7-dsp1-fw.lzop
reading dra7-dsp2-fw.lzop
reading dra7-ipu1-fw.lzop
spl: falcon_args_file not set in environment, falling back to default
reading single-stage-boot.dtb
reading uImage
reading uImage
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.84 (xiachunjiang@ecarx-5288-V3) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #2 SMP PREEMPT Mon Jul 15 16:49:03 CST 2019
[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TI DRA762 EVM
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Reserved memory: created DMA memory pool at 0x40300000, size 3 MiB
[    0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 48 MiB
[    0.000000] Reserved memory: initialized node ipu2_cma@99000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x9e000000, size 32 MiB
[    0.000000] Reserved memory: initialized node ipu1_cma@9E000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created CMA memory pool at 0xa1000000, size 32 MiB
[    0.000000] Reserved memory: initialized node dsp1_cma@A1000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0xa3000000, size 32 MiB
[    0.000000] Reserved memory: initialized node dsp2_cma@A3000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created DMA memory pool at 0xa9000000, size 32 MiB
[    0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 64 MiB at 0xdbc00000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OMAP4: Map 0xdfe00000 to fe600000 for dram barrier
[    0.000000] On node 0 totalpages: 382976
[    0.000000] free_area_init_node: node 0, pgdat c098b580, node_mem_map ef230000
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 187392 pages, LIFO batch:31
[    0.000000]   HighMem zone: 195584 pages, LIFO batch:31
[    0.000000] DRA762 ES1.0
[    0.000000] PERCPU: Embedded 11 pages/cpu @ef1bb000 s14912 r8192 d21952 u45056
[    0.000000] pcpu-alloc: s14912 r8192 d21952 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 381248
stype=ext4 snd.slots_reserved=1,1 loglevel=8 init=/home/root/init-demo.sh clk_ignore_unused
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
mem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08e900c   (9093 kB)
[    0.000000]       .init : 0xc08ea000 - 0xc093e000   ( 336 kB)
[    0.000000]       .data : 0xc093e000 - 0xc098dc20   ( 320 kB)
[    0.000000]        .bss : 0xc098f000 - 0xc09d6980   ( 287 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
[    0.000000] OMAP clockevent source: timer1 at 32786 Hz
[    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.008305] Switching to timer-based delay loop, resolution 162ns
[    0.014951] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.025210] OMAP clocksource: 32k_counter at 32768 Hz
[    0.030946] Console: colour dummy device 80x30
[    0.035598] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.042390] This ensures that you still see kernel messages. Please
[    0.048902] update your kernel commandline.
[    0.053291] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.063920] pid_max: default: 32768 minimum: 301
[    0.068831] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.075716] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.083571] Initializing cgroup subsys io
[    0.087790] Initializing cgroup subsys memory
[    0.092360] Initializing cgroup subsys devices
[    0.097008] Initializing cgroup subsys freezer
[    0.101663] Initializing cgroup subsys perf_event
[    0.106577] Initializing cgroup subsys pids
[    0.110972] CPU: Testing write buffer coherency: ok
[    0.116259] /cpus/cpu@0 missing clock-frequency property
[    0.121801] /cpus/cpu@1 missing clock-frequency property
[    0.127356] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.133277] Setting up static identity map for 0x80008340 - 0x800083a0
[    0.220438] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.220506] Brought up 2 CPUs
[    0.229522] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.235959] CPU: All CPU(s) started in HYP mode.
[    0.240778] CPU: Virtualization extensions available.
[    0.247083] devtmpfs: initialized
[    0.280559] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.289272] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.307748] omap_hwmod: dcan1: _wait_target_disable failed
[    0.411985] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.422181] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.433052] pinctrl core: initialized pinctrl subsystem
[    0.439345] NET: Registered protocol family 16
[    0.444990] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.474068] cpuidle: using governor ladder
[    0.504089] cpuidle: using governor menu
[    0.515182] platform 43300000.edma: Cannot lookup hwmod 'tpcc'
[    0.521539] platform 43400000.tptc: Cannot lookup hwmod 'tptc0'
[    0.527992] platform 43500000.tptc: Cannot lookup hwmod 'tptc1'
[    0.535252] OMAP GPIO hardware version 0.1
[    0.543689] GPIO line 161 (radio_rst) hogged as output/low
[    0.551918] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[    0.584378] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.592696] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.599260] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.606952] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.615099] OMAP DMA hardware revision 0.0
[    0.660707] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    0.671012] edma3-tptc 43400000.tptc: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
[    0.680242] edma3-tptc 43500000.tptc: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
[    0.689686] edma 43300000.edma: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
[    0.698344] edma 43300000.edma: pm_runtime_get_sync() failed
[    0.709059] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.715146] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.721214] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.727278] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.733442] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.739531] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.748472] palmas 0-0058: IRQ missing: skipping irq request
[    0.774711] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
[    0.835243] irq: no irq domain found for /ocp/i2c@48070000/tps65917@58 !
[    0.842738] pcf857x: probe of 0-0020 failed with error -121
[    0.848807] pcf857x: probe of 0-0021 failed with error -121
[    0.854825] pcf857x: probe of 0-0026 failed with error -121
[    0.860799] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.867003] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    0.892920] pcf857x: probe of 3-0021 failed with error -121
[    0.898752] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
[    0.904761] media: Linux media interface: v0.10
[    0.909539] Linux video capture interface: v2.00
[    0.914400] pps_core: LinuxPPS API ver. 1 registered
[    0.919592] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.929068] PTP clock support registered
[    0.933232] EDAC MC: Ver: 3.0.0
[    0.937282] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.943908] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.950578] Advanced Linux Sound Architecture Driver Initialized.
[    0.957849] clocksource: Switched to clocksource arch_sys_counter
[    0.974876] NET: Registered protocol family 2
[    0.979941] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.987316] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.994146] TCP: Hash tables configured (established 8192 bind 8192)
[    1.000803] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.006986] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.013742] NET: Registered protocol family 1
[    1.018552] RPC: Registered named UNIX socket transport module.
[    1.024711] RPC: Registered udp transport module.
[    1.029645] RPC: Registered tcp transport module.
[    1.034555] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.041272] PCI: CLS 0 bytes, default 64
[    1.046466] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    1.063932] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.070702] NFS: Registering the id_resolver key type
[    1.075987] Key type id_resolver registered
[    1.080384] Key type id_legacy registered
[    1.084635] ntfs: driver 2.1.32 [Flags: R/O].
[    1.090540] bounce: pool size: 64 pages
[    1.094696] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.102417] io scheduler noop registered (default)
[    1.107423] io scheduler deadline registered
[    1.111950] io scheduler cfq registered
[    1.118420] vsys_5v0: supplied by vsys_12v0
[    1.122838] ldo3: supplied by vsys_5v0
[    1.130492] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[    1.141186] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
[    1.147350]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
[    1.155338]    IO 0x20003000..0x20012fff -> 0x00000000
[    1.160725]   MEM 0x20013000..0x2fffffff -> 0x20013000
[    1.199556] dra7-pcie 51000000.pcie_rc: link is not up
[    1.205070] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
[    1.211878] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.217593] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.224037] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    1.231215] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
[    1.237498] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    1.244045] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.250636] pci 0000:00:00.0: supports D1
[    1.254836] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.261060] PCI: bus0: Fast back to back transfers disabled
[    1.266973] PCI: bus1: Fast back to back transfers enabled
[    1.272784] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    1.279860] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[    1.286916] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.292319] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    1.299572] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
[    1.306647] aer 0000:00:00.0:pcie02: service driver aer loaded
[    1.374203] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    1.383799] omap8250 4806a000.serial: Can't verify DMA configuration (-19)
[    1.391464] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
[    1.400654] console [ttyS0] enabled
[    1.400654] console [ttyS0] enabled
[    1.407812] bootconsole [earlycon0] disabled
[    1.407812] bootconsole [earlycon0] disabled
[    1.417019] omap8250 4806c000.serial: Can't verify DMA configuration (-19)
[    1.424388] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
[    1.433633] omap8250 48020000.serial: Can't verify DMA configuration (-19)
[    1.440991] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
[    1.450635] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 304, base_baud = 3000000) is a 8250
[    1.460676] [drm] Initialized drm 1.1.0 20060810
[    1.466180] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.472845] [drm] No driver support for vblank timestamp query.
[    1.478988] [drm] Initialized vdrm 1.0.0 20110917 on minor 0
[    1.491941] loop: module loaded
[    1.497804] vmemexp device MAJOR num = 245
[    1.501951] vmemexp class registered
[    1.505665] /dev/vmemexp device registered
[    1.509793] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
[    1.518074] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00,  0,  0
[    1.525771] libphy: Fixed MDIO Bus: probed
[    1.577884] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[    1.584008] libphy: 48485000.mdio: probed
[    1.588763] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Marvell 88E1510
[    1.597502] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver RTL9000A Gigabit Ethernet
[    1.607764] cpsw 48484000.ethernet: Detected MACID = 6c:c3:74:b7:b4:c2
[    1.614428] cpsw 48484000.ethernet: cpts: overflow check period 800
[    1.621404] cpsw 48484000.ethernet: cpsw: Detected MACID = 6c:c3:74:b7:b4:c3
[    1.629049] PPP generic driver version 2.4.2
[    1.634529] mousedev: PS/2 mouse device common for all mice
[    1.640790] i2c /dev entries driver
[    1.649615] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.654458] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
[    1.660945] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
[    1.667326] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
[    1.673724] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
[    1.680572] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
[    1.687199] vsys_3v3: supplied by vsys_12v0
[    1.691462] vio_3v3: supplied by vsys_3v3
[    1.695521] vio_3v3_sd: supplied by vio_3v3
[    1.699873] ldo4: supplied by vsys_5v0
[    1.748291] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[    1.754677] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[    1.778014] smps5: supplied by vsys_3v3
[    1.782057] vio_1v8: supplied by smps5
[    1.838702] ledtrig-cpu: registered to indicate activity on CPUs
[    1.851237] hwspinlock_user gatemp: requested 20 hwspinlocks
[    1.858201] aic_dvdd: supplied by vio_3v3
[    1.863475] davinci-mcasp 48464000.mcasp: DAI is shared
[    1.868839] davinci-mcasp 48464000.mcasp: Can't verify DMA configuration (-19)
[    1.876094] davinci-mcasp 48464000.mcasp: No DMA controller found (-19)
[    1.883306] davinci-mcasp 48468000.mcasp: Can't verify DMA configuration (-19)
[    1.890647] davinci-mcasp 48468000.mcasp: No DMA controller found (-19)
[    1.897523] davinci-mcasp 48474000.mcasp: DAI is shared
[    1.902873] davinci-mcasp 48474000.mcasp: Can't verify DMA configuration (-19)
[    1.910182] davinci-mcasp 48474000.mcasp: No DMA controller found (-19)
[    1.918011] NET: Registered protocol family 10
[    1.933298] sit: IPv6 over IPv4 tunneling driver
[    1.938529] NET: Registered protocol family 17
[    1.943196] Key type dns_resolver registered
[    1.947664] omap_voltage_late_init: Voltage driver support not added
[    1.954568] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    1.960813] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    1.967095] buck10: supplied by vsys_3v3
[    1.971667] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    1.977915] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    1.985193] Power Management for TI OMAP4+ devices.
[    1.990314] Registering SWP/SWPB emulation handler
[    1.996400] dmm 4e000000.dmm: workaround for errata i878 in use
[    2.003868] dmm 4e000000.dmm: initialized all PAT entries
[    2.010348] [drm] Initialized omapdrm 1.0.0 20110917 on minor 1
[    2.018070] hctosys: unable to open rtc device (rtc0)
[    2.023468] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.031624] mmc0: new SDHC card at address 0001
[    2.037333] aic_dvdd: disabling
[    2.040538] clk: Not disabling unused clocks
[    2.044832] ALSA device list:
[    2.046723] mmcblk0: mmc0:0001 SD8GB 7.28 GiB 
[    2.052331]   No soundcards found.
[    2.053359]  mmcblk0: p1 p2
[    2.060611] omap8250 4806a000.serial: failed to request DMA
[    2.098708] EXT4-fs (mmcblk0p2): recovery complete
[    2.101223] mmc1: MAN_BKOPS_EN bit is not set
[    2.107914] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.109425] mmc1: new HS200 MMC card at address 0001
[    2.119956] mmcblk1: mmc1:0001 DG4008 7.28 GiB 
[    2.125619] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.130235] mmcblk1boot0: mmc1:0001 DG4008 partition 1 4.00 MiB
[    2.140473] mmcblk1boot1: mmc1:0001 DG4008 partition 2 4.00 MiB
[    2.146497] devtmpfs: mounted
[    2.149830] Freeing unused kernel memory: 336K
[    2.154309] This architecture does not have kernel memory protection.
[    2.231607] Kernel Entry time 177484 ticks
mount: unknown filesystem type 'dev'
[    2.678014] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.678014] 
[    2.687193] CPU1: stopping
[    2.689916] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.84 #2
[    2.695860] Hardware name: Generic DRA74X (Flattened Device Tree)
[    2.701976] Backtrace: 
[    2.704457] [<c0013b1c>] (dump_backtrace) from [<c0013d18>] (show_stack+0x18/0x1c)
[    2.712056]  r7:eecbdf40 r6:20080193 r5:00000000 r4:c095d350
[    2.717784] [<c0013d00>] (show_stack) from [<c02b7428>] (dump_stack+0x8c/0xa0)
[    2.725040] [<c02b739c>] (dump_stack) from [<c0016e64>] (handle_IPI+0x184/0x198)
[    2.732465]  r7:eecbdf40 r6:00000000 r5:00000001 r4:c093b40c
[    2.738182] [<c0016ce0>] (handle_IPI) from [<c0009528>] (gic_handle_irq+0x78/0x7c)
[    2.745780]  r7:fa212000 r6:eecbdf40 r5:fa21200c r4:c09408e4
[    2.751496] [<c00094b0>] (gic_handle_irq) from [<c0014854>] (__irq_svc+0x54/0x90)
[    2.759008] Exception stack(0xeecbdf40 to 0xeecbdf88)
[    2.764083] df40: 00000001 00000000 fe600000 00000000 eecbc000 c09404a4 00000000 00000000
[    2.772297] df60: eecbdfb0 c069530c c0940504 eecbdf9c eecbdf7c eecbdf90 c002b8e0 c00107a0
[    2.780509] df80: 60080013 ffffffff
[    2.784008]  r9:c069530c r8:eecbdfb0 r7:eecbdf74 r6:ffffffff r5:60080013 r4:c00107a0
[    2.791831] [<c0010778>] (arch_cpu_idle) from [<c0076280>] (default_idle_call+0x28/0x34)
[    2.799958] [<c0076258>] (default_idle_call) from [<c00764e0>] (cpu_startup_entry+0x200/0x260)
[    2.808608] [<c00762e0>] (cpu_startup_entry) from [<c0016a4c>] (secondary_start_kernel+0x164/0x170)
[    2.817691]  r7:c098f2a8
[    2.820243] [<c00168e8>] (secondary_start_kernel) from [<800095cc>] (0x800095cc)
[    2.827668]  r7:c098f2a8 r6:10c0387d r5:00000051 r4:aeca006a
[    2.833388] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.833388] 

[END] 2019/7/16 10:16:56

  • Hi Terence,

    Which version of VSDK are you using?

    VSDK 3.06 onwards has support for early-boot + late-attach on TDA2PX EVM. You may find this patch useful.

    Regards

    Shravan

  • Hi Shravan,

    We use 1G DDR based on  VSDK 3.05 now. Do you get something from our log?

    Thanks

    Terence

  • Hi Terence,

    If you're using 1GB DDR, please set CONFIG_ARM_LPAE=n in your kernel config (disable LPAE in your kconfig). This should resolve your issue.

    Regards

    Shravan

  • Hi Shravan,

    I'm sure that we have never enabled LPAE in the  kernel config. We try it again, but issue still  remain.Please find the log in the attachment.

    Thanks

    Terence

    [BEGIN] 2019/7/16 16:46:37
    
    U-Boot SPL 2016.05 (Jul 16 2019 - 15:53:19)
    DRA762-GP ES1.0
    no pinctrl for hs200_1_8v
    no pinctrl for ddr_1_8v
    *** Warning - bad CRC, using default environment
    
    i2c_write: error waiting for data ACK (status=0x116)
    i2c_write: error waiting for data ACK (status=0x116)
    Trying to boot from MMC1
    reading dra7-ipu2-fw.lzop
    reading dra7-dsp1-fw.lzop
    reading dra7-dsp2-fw.lzop
    reading dra7-ipu1-fw.lzop
    spl: falcon_args_file not set in environment, falling back to default
    reading single-stage-boot.dtb
    reading uImage
    reading uImage
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.84 (xiachunjiang@ecarx-5288-V3) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Tue Jul 16 15:54:25 CST 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: TI DRA762 EVM
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x40300000, size 3 MiB
    [    0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 48 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x9e000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node ipu1_cma@9E000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created CMA memory pool at 0xa1000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node dsp1_cma@A1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0xa3000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node dsp2_cma@A3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created DMA memory pool at 0xa9000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 64 MiB at 0xdbc00000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0xdfe00000 to fe600000 for dram barrier
    [    0.000000] On node 0 totalpages: 382976
    [    0.000000] free_area_init_node: node 0, pgdat c098b580, node_mem_map ef230000
    [    0.000000]   Normal zone: 1728 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 187392 pages, LIFO batch:31
    [    0.000000]   HighMem zone: 195584 pages, LIFO batch:31
    [    0.000000] DRA762 ES1.0
    [    0.000000] PERCPU: Embedded 11 pages/cpu @ef1bb000 s14912 r8192 d21952 u45056
    [    0.000000] pcpu-alloc: s14912 r8192 d21952 u45056 alloc=11*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 381248
    stype=ext4 snd.slots_reserved=1,1 loglevel=8 init=/home/root/init-demo.sh clk_ignore_unused
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    mem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08e900c   (9093 kB)
    [    0.000000]       .init : 0xc08ea000 - 0xc093e000   ( 336 kB)
    [    0.000000]       .data : 0xc093e000 - 0xc098dc20   ( 320 kB)
    [    0.000000]        .bss : 0xc098f000 - 0xc09d6980   ( 287 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.008303] Switching to timer-based delay loop, resolution 162ns
    [    0.014950] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.025207] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.030947] Console: colour dummy device 80x30
    [    0.035598] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.042389] This ensures that you still see kernel messages. Please
    [    0.048903] update your kernel commandline.
    [    0.053292] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.063921] pid_max: default: 32768 minimum: 301
    [    0.068832] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.075719] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.083567] Initializing cgroup subsys io
    [    0.087788] Initializing cgroup subsys memory
    [    0.092360] Initializing cgroup subsys devices
    [    0.097006] Initializing cgroup subsys freezer
    [    0.101661] Initializing cgroup subsys perf_event
    [    0.106578] Initializing cgroup subsys pids
    [    0.110971] CPU: Testing write buffer coherency: ok
    [    0.116260] /cpus/cpu@0 missing clock-frequency property
    [    0.121803] /cpus/cpu@1 missing clock-frequency property
    [    0.127357] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.133281] Setting up static identity map for 0x80008340 - 0x800083a0
    [    0.220444] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.220514] Brought up 2 CPUs
    [    0.229529] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.235965] CPU: All CPU(s) started in HYP mode.
    [    0.240783] CPU: Virtualization extensions available.
    [    0.247093] devtmpfs: initialized
    [    0.280696] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.289405] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.307835] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.412672] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.422871] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.433746] pinctrl core: initialized pinctrl subsystem
    [    0.440043] NET: Registered protocol family 16
    [    0.445691] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.474764] cpuidle: using governor ladder
    [    0.504786] cpuidle: using governor menu
    [    0.515876] platform 43300000.edma: Cannot lookup hwmod 'tpcc'
    [    0.522232] platform 43400000.tptc: Cannot lookup hwmod 'tptc0'
    [    0.528687] platform 43500000.tptc: Cannot lookup hwmod 'tptc1'
    [    0.535940] OMAP GPIO hardware version 0.1
    [    0.544370] GPIO line 161 (radio_rst) hogged as output/low
    [    0.552593] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.585036] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.593353] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.599922] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.607611] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.615763] OMAP DMA hardware revision 0.0
    [    0.661361] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.671665] edma3-tptc 43400000.tptc: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
    [    0.680895] edma3-tptc 43500000.tptc: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
    [    0.690337] edma 43300000.edma: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
    [    0.698996] edma 43300000.edma: pm_runtime_get_sync() failed
    [    0.709694] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.715782] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.721851] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.727915] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.734083] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.740174] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.749098] palmas 0-0058: IRQ missing: skipping irq request
    [    0.775339] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
    [    0.835876] irq: no irq domain found for /ocp/i2c@48070000/tps65917@58 !
    [    0.843372] pcf857x: probe of 0-0020 failed with error -121
    [    0.849440] pcf857x: probe of 0-0021 failed with error -121
    [    0.855463] pcf857x: probe of 0-0026 failed with error -121
    [    0.861438] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.867642] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.893558] pcf857x: probe of 3-0021 failed with error -121
    [    0.899390] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.905401] media: Linux media interface: v0.10
    [    0.910181] Linux video capture interface: v2.00
    [    0.915041] pps_core: LinuxPPS API ver. 1 registered
    [    0.920233] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.929709] PTP clock support registered
    [    0.933875] EDAC MC: Ver: 3.0.0
    [    0.937930] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.944557] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.951224] Advanced Linux Sound Architecture Driver Initialized.
    [    0.958497] clocksource: Switched to clocksource arch_sys_counter
    [    0.975561] NET: Registered protocol family 2
    [    0.980626] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.988000] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.994828] TCP: Hash tables configured (established 8192 bind 8192)
    [    1.001486] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    1.007669] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    1.014422] NET: Registered protocol family 1
    [    1.019235] RPC: Registered named UNIX socket transport module.
    [    1.025394] RPC: Registered udp transport module.
    [    1.030327] RPC: Registered tcp transport module.
    [    1.035237] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.041959] PCI: CLS 0 bytes, default 64
    [    1.047148] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    1.064612] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.071376] NFS: Registering the id_resolver key type
    [    1.076667] Key type id_resolver registered
    [    1.081088] Key type id_legacy registered
    [    1.085340] ntfs: driver 2.1.32 [Flags: R/O].
    [    1.091246] bounce: pool size: 64 pages
    [    1.095401] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    1.103122] io scheduler noop registered (default)
    [    1.108126] io scheduler deadline registered
    [    1.112655] io scheduler cfq registered
    [    1.119118] vsys_5v0: supplied by vsys_12v0
    [    1.123531] ldo3: supplied by vsys_5v0
    [    1.131202] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    1.141907] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
    [    1.148070]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
    [    1.156057]    IO 0x20003000..0x20012fff -> 0x00000000
    [    1.161443]   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.200476] dra7-pcie 51000000.pcie_rc: link is not up
    [    1.205988] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
    [    1.212797] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.218529] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.224955] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.232134] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    1.238418] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [    1.244965] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [    1.251557] pci 0000:00:00.0: supports D1
    [    1.255757] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    1.261981] PCI: bus0: Fast back to back transfers disabled
    [    1.267899] PCI: bus1: Fast back to back transfers enabled
    [    1.273708] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.280783] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.287839] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.293246] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.300498] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
    [    1.307574] aer 0000:00:00.0:pcie02: service driver aer loaded
    [    1.375395] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.385007] omap8250 4806a000.serial: Can't verify DMA configuration (-19)
    [    1.392673] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    [    1.401864] console [ttyS0] enabled
    [    1.401864] console [ttyS0] enabled
    [    1.409039] bootconsole [earlycon0] disabled
    [    1.409039] bootconsole [earlycon0] disabled
    [    1.418227] omap8250 4806c000.serial: Can't verify DMA configuration (-19)
    [    1.425599] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
    [    1.434845] omap8250 48020000.serial: Can't verify DMA configuration (-19)
    [    1.442200] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
    [    1.451844] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 304, base_baud = 3000000) is a 8250
    [    1.461885] [drm] Initialized drm 1.1.0 20060810
    [    1.467386] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.474050] [drm] No driver support for vblank timestamp query.
    [    1.480191] [drm] Initialized vdrm 1.0.0 20110917 on minor 0
    [    1.493163] loop: module loaded
    [    1.498990] vmemexp device MAJOR num = 245
    [    1.503117] vmemexp class registered
    [    1.506835] /dev/vmemexp device registered
    [    1.510971] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
    [    1.519266] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00,  0,  0
    [    1.526950] libphy: Fixed MDIO Bus: probed
    [    1.578530] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    1.584652] libphy: 48485000.mdio: probed
    [    1.589407] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Marvell 88E1510
    [    1.598146] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver RTL9000A Gigabit Ethernet
    [    1.608403] cpsw 48484000.ethernet: Detected MACID = f8:36:9b:97:4f:e8
    [    1.615064] cpsw 48484000.ethernet: cpts: overflow check period 800
    [    1.622036] cpsw 48484000.ethernet: cpsw: Detected MACID = f8:36:9b:97:4f:e9
    [    1.629675] PPP generic driver version 2.4.2
    [    1.635145] mousedev: PS/2 mouse device common for all mice
    [    1.641411] i2c /dev entries driver
    [    1.650239] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    1.655085] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
    [    1.661573] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
    [    1.667955] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
    [    1.674352] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
    [    1.681240] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
    [    1.687873] vsys_3v3: supplied by vsys_12v0
    [    1.692137] vio_3v3: supplied by vsys_3v3
    [    1.696196] vio_3v3_sd: supplied by vio_3v3
    [    1.700547] ldo4: supplied by vsys_5v0
    [    1.748939] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    1.755323] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    1.778665] smps5: supplied by vsys_3v3
    [    1.782713] vio_1v8: supplied by smps5
    [    1.829427] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.840567] hwspinlock_user gatemp: requested 20 hwspinlocks
    [    1.847512] aic_dvdd: supplied by vio_3v3
    [    1.852808] davinci-mcasp 48464000.mcasp: DAI is shared
    [    1.858133] davinci-mcasp 48464000.mcasp: Can't verify DMA configuration (-19)
    [    1.865425] davinci-mcasp 48464000.mcasp: No DMA controller found (-19)
    [    1.872618] davinci-mcasp 48468000.mcasp: Can't verify DMA configuration (-19)
    [    1.879927] davinci-mcasp 48468000.mcasp: No DMA controller found (-19)
    [    1.886775] davinci-mcasp 48474000.mcasp: DAI is shared
    [    1.892124] davinci-mcasp 48474000.mcasp: Can't verify DMA configuration (-19)
    [    1.899411] davinci-mcasp 48474000.mcasp: No DMA controller found (-19)
    [    1.907199] NET: Registered protocol family 10
    [    1.922532] sit: IPv6 over IPv4 tunneling driver
    [    1.927699] NET: Registered protocol family 17
    [    1.932448] Key type dns_resolver registered
    [    1.936918] omap_voltage_late_init: Voltage driver support not added
    [    1.943822] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    1.950066] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    1.956347] buck10: supplied by vsys_3v3
    [    1.960924] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    1.967131] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    1.975250] Power Management for TI OMAP4+ devices.
    [    1.980303] Registering SWP/SWPB emulation handler
    [    1.985875] dmm 4e000000.dmm: workaround for errata i878 in use
    [    1.992955] dmm 4e000000.dmm: initialized all PAT entries
    [    1.998988] [drm] Initialized omapdrm 1.0.0 20110917 on minor 1
    [    2.005957] hctosys: unable to open rtc device (rtc0)
    [    2.017863] aic_dvdd: disabling
    [    2.021049] clk: Not disabling unused clocks
    [    2.025334] ALSA device list:
    [    2.028307]   No soundcards found.
    [    2.032115] omap8250 4806a000.serial: failed to request DMA
    [    2.037817] Waiting for root device /dev/mmcblk0p2...
    [    2.044007] mmc0: host does not support reading read-only switch, assuming write-enable
    [    2.052106] mmc0: new SDHC card at address 0001
    [    2.056915] mmcblk0: mmc0:0001 SD8GB 7.28 GiB 
    [    2.062493]  mmcblk0: p1 p2
    [    2.102225] mmc1: MAN_BKOPS_EN bit is not set
    [    2.115208] mmc1: new HS200 MMC card at address 0001
    [    2.130471] mmcblk1: mmc1:0001 DG4008 7.28 GiB 
    [    2.145155] mmcblk1boot0: mmc1:0001 DG4008 partition 1 4.00 MiB
    [    2.161698] mmcblk1boot1: mmc1:0001 DG4008 partition 2 4.00 MiB
    [    2.168137]  mmcblk1: p1 p2
    [    2.300253] EXT4-fs (mmcblk0p2): recovery complete
    [    2.305069] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.313220] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.326419] devtmpfs: mounted
    [    2.329551] Freeing unused kernel memory: 336K
    [    2.334009] This architecture does not have kernel memory protection.
    [    2.396901] Kernel Entry time 178259 ticks
    [    2.831045] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    [    2.831045] 
    [    2.840225] CPU1: stopping
    [    2.842946] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.84 #1
    [    2.848890] Hardware name: Generic DRA74X (Flattened Device Tree)
    [    2.855007] Backtrace: 
    [    2.857485] [<c0013b1c>] (dump_backtrace) from [<c0013d18>] (show_stack+0x18/0x1c)
    [    2.865084]  r7:eecbdf40 r6:20080193 r5:00000000 r4:c095d350
    [    2.870808] [<c0013d00>] (show_stack) from [<c02b7428>] (dump_stack+0x8c/0xa0)
    [    2.878064] [<c02b739c>] (dump_stack) from [<c0016e64>] (handle_IPI+0x184/0x198)
    [    2.885488]  r7:eecbdf40 r6:00000000 r5:00000001 r4:c093b40c
    [    2.891205] [<c0016ce0>] (handle_IPI) from [<c0009528>] (gic_handle_irq+0x78/0x7c)
    [    2.898804]  r7:fa212000 r6:eecbdf40 r5:fa21200c r4:c09408e4
    [    2.904519] [<c00094b0>] (gic_handle_irq) from [<c0014854>] (__irq_svc+0x54/0x90)
    [    2.912031] Exception stack(0xeecbdf40 to 0xeecbdf88)
    [    2.917106] df40: 00000001 00000000 fe600000 00000000 eecbc000 c09404a4 00000000 00000000
    [    2.925320] df60: eecbdfb0 c069530c c0940504 eecbdf9c eecbdf7c eecbdf90 c002b8e0 c00107a0
    [    2.933529] df80: 60080013 ffffffff
    [    2.937029]  r9:c069530c r8:eecbdfb0 r7:eecbdf74 r6:ffffffff r5:60080013 r4:c00107a0
    [    2.944854] [<c0010778>] (arch_cpu_idle) from [<c0076280>] (default_idle_call+0x28/0x34)
    [    2.952979] [<c0076258>] (default_idle_call) from [<c00764e0>] (cpu_startup_entry+0x200/0x260)
    [    2.961630] [<c00762e0>] (cpu_startup_entry) from [<c0016a4c>] (secondary_start_kernel+0x164/0x170)
    [    2.970712]  r7:c098f2a8
    [    2.973263] [<c00168e8>] (secondary_start_kernel) from [<800095cc>] (0x800095cc)
    [    2.980687]  r7:c098f2a8 r6:10c0387d r5:00000051 r4:aeca006a
    [    2.986409] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    [    2.986409] 
    
    [END] 2019/7/16 16:47:07
    

  • Hi Terence,

    Are you still observing the issue? Can you add 'nosmp' to your kernel args and see if this issue is still observed?

    Regards

    Shravan

  • Hi Shravan,

    I don't understand why we need to disable smp?  If we want to  add 'nosmp' to our kernel args,  you mean that change the kernel config from CONFIG_SMP=y   to CONFIG_SMP=n?

    Thanks

    Terence

  • Hi Terence,

    Disabling SMP could make it easier to debug. You needn't rebuilt kernel with CONFIG_SMP=n, you can also pass it as a kernel bootargument and it should work.

    Regards

    Shravan