Other Parts Discussed in Thread: TPS65218, AM4372
Tool/software: Linux
Kernel doesn't launch when using QSPI boot device:
Model: Embedded Planet DES0251
DRAM: 2 GiB
PMIC: TPS65218
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
SF: Detected S25FL512S_256K with page size 512 Bytes, erase size 256 KiB, total 64 MiB, mapped at 30000000
*** Warning - bad CRC, using default environment
Could not get PHY for cpsw: addr 0
cpsw
Hit any key to stop autoboot: 2 1 0
Booting from mmc ...
49384 bytes read in 8 ms (5.9 MiB/s)
3486416 bytes read in 168 ms (19.8 MiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x3532d0 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff0000, end 8ffff0e7 ... OK
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.32-gadde2ca9f8 (dev@dev-VirtualBox) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #35 PREEMPT Fri Apr 14 13:29:55 EDT 2017
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Embedded Planet DES0251
[ 0.000000] cma: Reserved 48 MiB at 0xfcc00000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM437x ES1.2 (neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 522559
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p1 rootwait rw
[ 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)
[ 0.000000] Memory: 2018624K/2097148K available (6619K kernel code, 326K rwdata, 2356K rodata, 268K init, 266K bss, 29372K reserved, 49152K cma-reserved, 1261564K highmem)
[ 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 - 0xc08cc004 (8977 kB)
[ 0.000000] .init : 0xc08cd000 - 0xc0910000 ( 268 kB)
[ 0.000000] .data : 0xc0910000 - 0xc09618f8 ( 327 kB)
[ 0.000000] .bss : 0xc09618f8 - 0xc09a4498 ( 267 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] OMAP L2C310: ROM does not support power control setting
[ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000010] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000026] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000034] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000375] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000384] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000704] Console: colour dummy device 80x30
[ 0.000730] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000735] This ensures that you still see kernel messages. Please
[ 0.000740] update your kernel commandline.
[ 0.000755] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
[ 0.060155] pid_max: default: 32768 minimum: 301
[ 0.060270] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.060282] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.060928] Initializing cgroup subsys io
[ 0.060954] Initializing cgroup subsys memory
[ 0.060989] Initializing cgroup subsys devices
[ 0.061002] Initializing cgroup subsys freezer
[ 0.061014] Initializing cgroup subsys perf_event
[ 0.061025] Initializing cgroup subsys pids
[ 0.061047] CPU: Testing write buffer coherency: ok
[ 0.061414] Setting up static identity map for 0x80008200 - 0x80008258
[ 0.062773] devtmpfs: initialized
[ 0.073666] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.146881] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.150411] pinctrl core: initialized pinctrl subsystem
[ 0.151527] NET: Registered protocol family 16
[ 0.152840] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.180165] cpuidle: using governor ladder
[ 0.210155] cpuidle: using governor menu
[ 0.215196] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins, deferring probe
[ 0.215850] OMAP GPIO hardware version 0.1
[ 0.217573] omap_gpio 48322000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/display_mux_pins, deferring probe
[ 0.223634] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.223652] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.256471] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.260509] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferring probe
[ 0.260560] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
[ 0.260677] media: Linux media interface: v0.10
[ 0.260721] Linux video capture interface: v2.00
[ 0.260762] pps_core: LinuxPPS API ver. 1 registered
[ 0.260768] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.260791] PTP clock support registered
[ 0.260839] EDAC MC: Ver: 3.0.0
[ 0.261709] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.262054] Advanced Linux Sound Architecture Driver Initialized.
[ 0.262956] clocksource: Switched to clocksource timer1
[ 0.271309] NET: Registered protocol family 2
[ 0.271944] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.272009] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.272082] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.272224] UDP hash table entries: 512 (order: 1, 8192 bytes)
[ 0.272245] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[ 0.272382] NET: Registered protocol family 1
[ 0.272721] RPC: Registered named UNIX socket transport module.
[ 0.272733] RPC: Registered udp transport module.
[ 0.272738] RPC: Registered tcp transport module.
[ 0.272744] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.274692] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.280164] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.280892] NFS: Registering the id_resolver key type
[ 0.280937] Key type id_resolver registered
[ 0.280944] Key type id_legacy registered
[ 0.281013] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.284390] bounce: pool size: 64 pages
[ 0.284631] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.284649] io scheduler noop registered
[ 0.284660] io scheduler deadline registered
[ 0.284784] io scheduler cfq registered (default)
[ 0.287652] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
[ 0.290199] backlight supply power not found, using dummy regulator
[ 0.335065] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.337545] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
[ 0.338259] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[ 1.029067] console [ttyS0] enabled
[ 1.033026] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
[ 1.041687] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 31, base_baud = 3000000) is a 8250
[ 1.051448] [drm] Initialized drm 1.1.0 20060810
[ 1.062750] loop: module loaded
[ 1.068276] libphy: Fixed MDIO Bus: probed
[ 1.133014] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.139147] davinci_mdio 4a101000.mdio: no live phy, scanning all
[ 1.145552] davinci_mdio: probe of 4a101000.mdio failed with error -5
[ 1.165786] cpsw 4a100000.ethernet: Detected MACID = a0:f6:fd:72:90:f2
[ 1.185589] cpsw 4a100000.ethernet: cpts: overflow check period 850
[ 1.193464] mousedev: PS/2 mouse device common for all mice
[ 1.199633] i2c /dev entries driver
[ 1.204264] cpuidle: enable-method property 'ti,am4372' found operations
[ 1.283641] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.289771] mmc0: MAN_BKOPS_EN bit is not set
[ 1.297541] NET: Registered protocol family 10
[ 1.302506] mmc0: new high speed MMC card at address 0001
[ 1.308849] sit: IPv6 over IPv4 tunneling driver
[ 1.314782] NET: Registered protocol family 17
[ 1.319578] Key type dns_resolver registered
[ 1.324005] mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
[ 1.328910] mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB
[ 1.335205] omap_voltage_late_init: Voltage driver support not added
[ 1.343095] mmcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB
[ 1.350303] mmcblk0: p1
[ 1.356270] GPIO line 119 (SelEMMCorNAND) hogged as output/high
[ 1.363140] GPIO line 136 (SelLCDorHDMI) hogged as output/high
[ 1.409300] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
[ 1.416184] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
[ 1.422437] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.465949] hctosys: unable to open rtc device (rtc0)
[ 1.477475] vmmcwl_fixed: disabling
[ 1.481207] ALSA device list:
[ 1.484339] No soundcards found.
[ 1.490441] EXT4-fs (mmcblk0p1): mounting ext3 file system using the ext4 subsystem
[ 1.813461] EXT4-fs (mmcblk0p1): recovery complete
[ 1.818693] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 1.826910] VFS: Mounted root (ext3 filesystem) on device 179:1.
[ 1.838158] devtmpfs: mounted
[ 1.841713] Freeing unused kernel memory: 268K (c08cd000 - c0910000)
[ 1.848125] This architecture does not have kernel memory protection.
[ 2.008915] systemd[1]: System time before build time, advancing clock.
[ 2.049940] random: systemd: uninitialized urandom read (16 bytes read, 22 bits of entropy available)
[ 2.063684] random: systemd: uninitialized urandom read (16 bytes read, 22 bits of entropy available)
[ 2.079977] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 2.098981] systemd[1]: Detected architecture arm.
[ 2.153105] Unable to handle kernel NULL pointer dereference at virtual address 00000001
[ 2.161255] pgd = ee1a0000
[ 2.164008] [00000001] *pgd=00000000
[ 2.167616] Internal error: Oops: 5 [#1] PREEMPT ARM
[ 2.172603] Modules linked in:
[ 2.175686] CPU: 0 PID: 58 Comm: systemd Not tainted 4.4.32-gadde2ca9f8 #35
[ 2.182677] Hardware name: Generic AM43 (Flattened Device Tree)
[ 2.188624] task: ee139b80 ti: ee19c000 task.ti: ee19c000
[ 2.194062] PC is at kfree+0x70/0x17c
[ 2.197751] LR is at __node_free_rcu+0x30/0x48
[ 2.202217] pc : [<c00f9228>] lr : [<c05e5e94>] psr: 20000113
[ 2.202217] sp : ee19dcc0 ip : ee19dcf0 fp : ee19dcec
[ 2.213746] r10: ee11ec34 r9 : ee19c000 r8 : 00000001
[ 2.218994] r7 : c05e5e94 r6 : ee1eef40 r5 : ee19c000 r4 : ef475578
[ 2.225551] r3 : 00000101 r2 : c05e5e64 r1 : ee1eef40 r0 : c095f578
[ 2.232109] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 2.239277] Control: 10c53c7d Table: ae1a0059 DAC: 00000051
[ 2.245048] Process systemd (pid: 58, stack limit = 0xee19c208)
[ 2.250994] Stack: (0xee19dcc0 to 0xee19e000)
[ 2.255378] dcc0: ee19dcfc ee19dcd0 00000005 c091fbc0 c0920064 00000000 0000000a ee19c000
[ 2.263598] dce0: ee19dcfc ee19dcf0 c05e5e94 c00f91c4 ee19dd54 ee19dd00 c00791cc c05e5e70
[ 2.271817] dd00: 60000113 00000000 ee19dd54 c080ebf0 c0960cdc c091fbc0 c0920044 ee1453c0
[ 2.280035] dd20: c0920028 ffffe000 ee808000 00000000 00000009 c0962b24 ee19c000 00000100
[ 2.288254] dd40: c0962b08 40000007 ee19ddb4 ee19dd58 c0037398 c0078dfc c0937b88 ee81bdc0
[ 2.296472] dd60: 00000012 00404040 c0920b40 ffff8ba8 0000000a c0681284 ffffe000 c0962ac0
[ 2.304690] dd80: c091ef18 c0962b00 ee19ddbc c0937a44 00000012 00000000 00000000 ee808000
[ 2.312909] dda0: ee11fc00 ffffe000 ee19ddcc ee19ddb8 c00377e0 c0037294 c0937a44 00000012
[ 2.321129] ddc0: ee19ddf4 ee19ddd0 c006d4c4 c0037700 c09124bc fa24010c ee19de20 fa240100
[ 2.329346] dde0: fa241100 ee11fc00 ee19de1c ee19ddf8 c0009504 c006d470 c001ea0c 20000013
[ 2.337565] de00: ffffffff ee19de54 ee11f180 ee11fc00 ee19de94 ee19de20 c00141d4 c00094d0
[ 2.345784] de20: ee1f0020 00003fe0 00000020 00000003 ee1f0000 c0912058 c0004000 ee11fc00
[ 2.354002] de40: ee11f180 ee11fc00 ffffe000 ee19de94 00000020 ee19de70 c001c8b8 c001ea0c
[ 2.362222] de60: 20000013 ffffffff 00000051 c001c8a8 ee11fc00 00000000 ee1e4580 00000000
[ 2.370442] de80: ee11f180 ee11fc00 ee19deb4 ee19de98 c0031488 c001c860 01200011 ee1e4580
[ 2.378660] dea0: b6d66068 00000000 ee19df3c ee19deb8 c0032d70 c00313d0 0000b301 00000000
[ 2.386877] dec0: 00000000 000080f4 000081ed 00000001 00000000 00000000 00000000 ee11f180
[ 2.395096] dee0: 00000000 00000000 00000000 ee1e4850 c0962640 00000000 00000000 00000000
[ 2.403314] df00: 80257f31 00000000 00000000 fffffff4 590250c9 01200011 bec39950 00000000
[ 2.411532] df20: 00000000 c000fc04 ee19c000 00000000 ee19df8c ee19df40 c0033464 c0031d60
[ 2.419750] df40: 00000000 00000000 00000000 c00081ed 00000001 00000000 00000000 00000000
[ 2.427968] df60: 00007648 b6d66068 bec39950 b6d66000 00000078 c000fc04 ee19c000 00000000
[ 2.436187] df80: ee19dfa4 ee19df90 c0033848 c0033404 b6d66068 00000000 00000000 ee19dfa8
[ 2.444405] dfa0: c000fa40 c003382c b6d66068 bec39950 01200011 00000000 00000000 00000000
[ 2.452624] dfc0: b6d66068 bec39950 b6d66000 00000078 b6f9e000 b6d664c0 0000003a 0000003a
[ 2.460842] dfe0: 00000078 bec39948 b6f26245 b6ecb996 00000030 01200011 55555555 55555555
[ 2.469051] Backtrace:
[ 2.471524] [<c00f91b8>] (kfree) from [<c05e5e94>] (__node_free_rcu+0x30/0x48)
[ 2.478777] r9:ee19c000 r8:0000000a r7:00000000 r6:c0920064 r5:c091fbc0 r4:00000005
[ 2.486610] [<c05e5e64>] (__node_free_rcu) from [<c00791cc>] (rcu_process_callbacks+0x3dc/0x518)
[ 2.495446] [<c0078df0>] (rcu_process_callbacks) from [<c0037398>] (__do_softirq+0x110/0x258)
[ 2.504007] r10:40000007 r9:c0962b08 r8:00000100 r7:ee19c000 r6:c0962b24 r5:00000009
[ 2.511910] r4:00000000
[ 2.514467] [<c0037288>] (__do_softirq) from [<c00377e0>] (irq_exit+0xec/0x120)
[ 2.521806] r10:ffffe000 r9:ee11fc00 r8:ee808000 r7:00000000 r6:00000000 r5:00000012
[ 2.529707] r4:c0937a44
[ 2.532276] [<c00376f4>] (irq_exit) from [<c006d4c4>] (__handle_domain_irq+0x60/0xb0)
[ 2.540139] r5:00000012 r4:c0937a44
[ 2.543756] [<c006d464>] (__handle_domain_irq) from [<c0009504>] (gic_handle_irq+0x40/0x6c)
[ 2.552141] r9:ee11fc00 r8:fa241100 r7:fa240100 r6:ee19de20 r5:fa24010c r4:c09124bc
[ 2.559965] [<c00094c4>] (gic_handle_irq) from [<c00141d4>] (__irq_svc+0x54/0x90)
[ 2.567481] Exception stack(0xee19de20 to 0xee19de68)
[ 2.572561] de20: ee1f0020 00003fe0 00000020 00000003 ee1f0000 c0912058 c0004000 ee11fc00
[ 2.580781] de40: ee11f180 ee11fc00 ffffe000 ee19de94 00000020 ee19de70 c001c8b8 c001ea0c
[ 2.588994] de60: 20000013 ffffffff
[ 2.592495] r9:ee11fc00 r8:ee11f180 r7:ee19de54 r6:ffffffff r5:20000013 r4:c001ea0c
[ 2.600333] [<c001c854>] (pgd_alloc) from [<c0031488>] (mm_init+0xc4/0x134)
[ 2.607324] r9:ee11fc00 r8:ee11f180 r7:00000000 r6:ee1e4580 r5:00000000 r4:ee11fc00
[ 2.615148] [<c00313c4>] (mm_init) from [<c0032d70>] (copy_process+0x101c/0x15ec)
[ 2.622662] r7:00000000 r6:b6d66068 r5:ee1e4580 r4:01200011
[ 2.628386] [<c0031d54>] (copy_process) from [<c0033464>] (_do_fork+0x6c/0x35c)
[ 2.635726] r10:00000000 r9:ee19c000 r8:c000fc04 r7:00000000 r6:00000000 r5:bec39950
[ 2.643624] r4:01200011
[ 2.646185] [<c00333f8>] (_do_fork) from [<c0033848>] (SyS_clone+0x28/0x30)
[ 2.653175] r10:00000000 r9:ee19c000 r8:c000fc04 r7:00000078 r6:b6d66000 r5:bec39950
[ 2.661077] r4:b6d66068
[ 2.663643] [<c0033820>] (SyS_clone) from [<c000fa40>] (ret_fast_syscall+0x0/0x3c)
[ 2.671252] Code: e3c5503f e5953004 e2833001 e5853004 (e5983000)
[ 2.677418] ---[ end trace ef8519f43f0edceb ]---
[ 2.682061] Kernel panic - not syncing: Fatal exception in interrupt
[ 2.688447] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
[ 70.062992] random: nonblocking pool is initialized