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.

Kernel taint on AM5728 custom board

Other Parts Discussed in Thread: AM5728

Hi,

Not able to bring up the board based on AM5728. Have followed similar design of beagle X-15 and building the default kernel configuration bundled with latest SDK. For the first time, kernel throws up some debug logs but on subsequent boot kernel not even starts! Any leads

U-Boot SPL 2015.07 (Jan 08 2016 - 18:45:34)
DRA752 ES1.1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
ti_i2c_eeprom_init failed 1


U-Boot 2015.07 (Jan 08 2016 - 18:45:34 -0500)

CPU  : DRA752 ES1.1
Board: UNKNOWN(BeagleBoard X15?)
I2C:   ready
DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
Invalid EEPROM data(@0x4031e028). Default to X15
SCSI:  SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
scanning bus for devices...
Found 0 device(s).
Net:   <ethaddr> not set. Validating first E-fuse MAC
Phy 1 not found
cpsw
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
574 bytes read in 3 ms (186.5 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3394944 bytes read in 189 ms (17.1 MiB/s)
92206 bytes read in 27 ms (3.3 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x33cd80 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe6000, end 8ffff82d ... OK

Starting kernel ...

[    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.1.13-g8dc6617 (gtbldadm@ubuntu-12) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #1 SMP PREEMPT Fri Jan 8 18:44:32 6
[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TI AM5728 BeagleBoard-X15
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
[    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
[    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
[    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
[    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DRA752 ES1.1
[    0.000000] PERCPU: Embedded 12 pages/cpu @ee535000 s17088 r8192 d23872 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472658
[    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
[    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] BUG: Bad page state in process swapper  pfn:f7408
[    0.000000] page:ef668120 count:0 mapcount:0 mapping:  (null) index:0x0
[    0.000000] flags: 0x80000000()
[    0.000000] page dumped because: page still charged to cgroup
[    0.000000] page->mem_cgroup:00003400
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.1.13-g8dc6617 #1
[    0.000000] Hardware name: Generic DRA74X (Flattened Device Tree)
[    0.000000] Backtrace: 
[    0.000000] [<c0012f78>] (dump_backtrace) from [<c001319c>] (show_stack+0x18/0x1c)
[    0.000000]  r7:c07bcff0 r6:ef668120 r5:c08e7c0c r4:00000000
[    0.000000] [<c0013184>] (show_stack) from [<c0631b2c>] (dump_stack+0x9c/0xdc)
[    0.000000] [<c0631a90>] (dump_stack) from [<c00d60ec>] (bad_page+0xe0/0x130)
[    0.000000]  r5:c08ca100 r4:c092e190
[    0.000000] [<c00d600c>] (bad_page) from [<c00d6398>] (free_pages_prepare+0x25c/0x284)
[    0.000000]  r9:00000000 r8:000ffc00 r7:00000001 r6:00000001 r5:00080000 r4:ef668120
[    0.000000] [<c00d613c>] (free_pages_prepare) from [<c00d8630>] (free_hot_cold_page+0x3c/0x18c)
[    0.000000]  r10:c0932c80 r9:00000000 r8:000ffc00 r7:ee5a3000 r6:80000000 r5:00080000
[    0.000000]  r4:ef668120
[    0.000000] [<c00d85f4>] (free_hot_cold_page) from [<c00d8820>] (__free_pages+0x50/0x54)
[    0.000000]  r10:c0932c80 r9:000fe400 r8:000ffc00 r7:c08cd004 r6:c08dfb98 r5:c0933dd0
[    0.000000]  r4:00000000
[    0.000000] [<c00d87d0>] (__free_pages) from [<c00d894c>] (free_highmem_page+0x30/0x84)
[    0.000000]  r5:c0933dd0 r4:ef668120
[    0.000000] [<c00d891c>] (free_highmem_page) from [<c087bc58>] (mem_init+0x2ec/0x4fc)
[    0.000000]  r5:c0933dd0 r4:000f7409
[    0.000000] [<c087b96c>] (mem_init) from [<c0875b6c>] (start_kernel+0x224/0x410)
[    0.000000]  r10:c08b5b10 r9:ffffffff r8:c08ca4c0 r7:00000000 r6:c0914000 r5:00000000
[    0.000000]  r4:ef7ff600
[    0.000000] [<c0875948>] (start_kernel) from [<80008090>] (0x80008090)
[    0.000000]  r10:00000000 r9:412fc0f2 r8:80007000 r7:c08ce498 r6:c08b5b0c r5:c08ca544
[    0.000000]  r4:c0914214
[    0.000000] Disabling lock debugging due to kernel taint
[    0.000000] Memory: 1681128K/1897472K available (6347K kernel code, 293K rwdata, 2276K rodata, 332K init, 253K bss, 27924K reserved, 188416K cma-reserved, 1291264K h)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0874074   (8625 kB)
[    0.000000]       .init : 0xc0875000 - 0xc08c8000   ( 332 kB)
[    0.000000]       .data : 0xc08c8000 - 0xc09117a8   ( 294 kB)
[    0.000000]        .bss : 0xc0914000 - 0xc09537cc   ( 254 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] OMAP clockevent source: timer1 at 32768 Hz
[    0.000000] clocksource 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
[    0.000030] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000427] Architected cp15 timer(s) running at 6.14MHz (virt).
[    0.000427] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[    0.000462] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.000472] Switching to timer-based delay loop, resolution 162ns
[    0.000982] Console: colour dummy device 80x30
[    0.000997] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[    0.001003] This ensures that you still see kernel messages. Please
[    0.001009] update your kernel commandline.
[    0.001022] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.001035] pid_max: default: 32768 minimum: 301
[    0.001120] Security Framework initialized
[    0.001158] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001168] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001702] Initializing cgroup subsys blkio
[    0.001716] Initializing cgroup subsys memory
[    0.001741] Initializing cgroup subsys devices
[    0.001753] Initializing cgroup subsys freezer
[    0.001766] Initializing cgroup subsys perf_event
[    0.001787] CPU: Testing write buffer coherency: ok
[    0.002032] /cpus/cpu@0 missing clock-frequency property
[    0.002080] /cpus/cpu@1 missing clock-frequency property
[    0.002090] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002122] Setting up static identity map for 0x800082c0 - 0x80008318
[    0.060708] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.060774] Brought up 2 CPUs
[    0.060787] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.060794] CPU: All CPU(s) started in SVC mode.
[    0.061184] devtmpfs: initialized
[    0.085331] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.086091] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.099365] omap_hwmod: tptc0 using broken dt data from edma-controller
[    0.099833] omap_hwmod: tptc1 using broken dt data from edma-controller
[    0.272104] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.276120] pinctrl core: initialized pinctrl subsystem
[    0.276939] NET: Registered protocol family 16
[    0.277851] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.300616] cpuidle: using governor ladder
[    0.330647] cpuidle: using governor menu
[    0.337887] OMAP GPIO hardware version 0.1
[    0.344199] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[    0.384116] No ATAGs?
[    0.384146] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.384155] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.390355] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.390365] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.390961] OMAP DMA hardware revision 0.0
[    0.448221] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.450867] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[    0.470036] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.470216] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.470378] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.470534] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.470790] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.470963] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.471197] vgaarb: loaded
[    0.471566] SCSI subsystem initialized
[    0.472697] palmas 0-0058: Irq flag is 0x00000008
[    0.492521] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
[    0.574497] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.575044] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    0.575224] media: Linux media interface: v0.10
[    0.575281] Linux video capture interface: v2.00
[    0.575330] pps_core: LinuxPPS API ver. 1 registered
[    0.575337] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.575362] PTP clock support registered
[    0.575943] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
[    0.576230] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
[    0.576505] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.576781] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.577038] Advanced Linux Sound Architecture Driver Initialized.
[    0.577679] Switched to clocksource arch_sys_counter
[    0.587478] NET: Registered protocol family 2
[    0.588068] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.588131] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.588256] TCP: Hash tables configured (established 8192 bind 8192)
[    0.588305] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.588336] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.588477] NET: Registered protocol family 1
[    0.588705] RPC: Registered named UNIX socket transport module.
[    0.588713] RPC: Registered udp transport module.
[    0.588721] RPC: Registered tcp transport module.
[    0.588727] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.589687] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[    0.589722] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.591486] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.591564] audit: initializing netlink subsys (disabled)
[    0.591597] audit: type=2000 audit(0.550:1): initialized
[    0.598710] VFS: Disk quotas dquot_6.6.0
[    0.598868] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.600831] NFS: Registering the id_resolver key type
[    0.600867] Key type id_resolver registered
[    0.600874] Key type id_legacy registered
[    0.600928] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.602949] NET: Registered protocol family 38
[    0.603025] bounce: pool size: 64 pages
[    0.603039] io scheduler noop registered
[    0.603052] io scheduler deadline registered
[    0.603088] io scheduler cfq registered (default)
[    0.606537] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
[    0.639497] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[    0.639511] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    0.639522] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    0.639532] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.639635] pci 0000:00:00.0: IOMMU is currently not supported for PCI
[    0.639909] PCI: bus0: Fast back to back transfers disabled
[    0.640036] PCI: bus1: Fast back to back transfers enabled
[    0.640126] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.640141] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[    0.640154] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.643488] OMAP DSS rev 6.1
[    0.643751] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[    0.644276] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[    0.648179] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.651027] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 299, base_baud = 3000000) is a 8250
[    1.803728] console [ttyS2] enabled
[    1.808330] [drm] Initialized drm 1.1.0 20060810
[    1.821254] brd: module loaded
[    1.828471] loop: module loaded
[    1.832543] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.887694] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[    1.893818] davinci_mdio 48485000.mdio: no live phy, scanning all
[    1.901075] davinci_mdio: probe of 48485000.mdio failed with error -5
[    1.908125] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:cb:9c:62
[    1.915387] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:cb:9c:63
[    1.923714] mousedev: PS/2 mouse device common for all mice
[    1.929348] i2c /dev entries driver
[    1.935033] gpio-fan gpio_fan: GPIO fan initialized
[    1.940165] tmp102 0-0048: error reading config register
[    1.945512] tmp102: probe of 0-0048 failed with error -121
[    1.953601] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.998318] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[    2.004700] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[    2.011317] vdd_3v3: supplied by regen1
[    2.047995] ledtrig-cpu: registered to indicate activity on CPUs
[    2.054317] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[    2.060776] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[    2.066975] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[    2.073712] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[    2.077813] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.081180] mmc0: new high speed SDHC card at address e624
[    2.081537] mmcblk0: mmc0:e624 SS04G 3.69 GiB 
[    2.088664]  mmcblk0: p1 p2
[    2.103458] davinci-mcasp 48468000.mcasp: ERRATA i868 workaround is enabled
[    2.111720] oprofile: using timer interrupt.
[    2.116212] Initializing XFRM netlink socket
[    2.120542] NET: Registered protocol family 17
[    2.125031] NET: Registered protocol family 15
[    2.129578] Key type dns_resolver registered
[    2.133966] omap_voltage_late_init: Voltage driver support not added
[    2.140598] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
[    2.146896] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
[    2.151525] mmc1: MAN_BKOPS_EN bit is not set
[    2.157754] mmc1: new DDR MMC card at address 0001
[    2.162889] mmcblk1: mmc1:0001 P1XXXX 3.60 GiB 
[    2.162977] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
[    2.162981] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
[    2.180197] mmcblk1boot0: mmc1:0001 P1XXXX partition 1 16.0 MiB
[    2.186262] mmcblk1boot1: mmc1:0001 P1XXXX partition 2 16.0 MiB
[    2.193092] Power Management for TI OMAP4+ devices.
[    2.198284] ThumbEE CPU extension supported.
[    2.202606] Registering SWP/SWPB emulation handler
[    2.208441] dmm 4e000000.dmm: workaround for errata i878 in use
[    2.215632] dmm 4e000000.dmm: initialized all PAT entries
[    2.223590] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.230265] [drm] No driver support for vblank timestamp query.
[    2.236229] omapdrm omapdrm.0: No connectors reported connected with modes
[    2.243163] [drm] Cannot find any crtc or sizes - going 1024x768
[    2.251897] [drm] Enabling DMM ywrap scrolling
[    2.261405] Console: switching to colour frame buffer device 128x48
[    2.271532] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    2.277478] omapdrm omapdrm.0: registered panic notifier
[    2.307975] omapwb-m2m: Device registered as video10
[    2.312960] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[    2.319173] hctosys: unable to open rtc device (rtc0)
[    2.332649] ldousb: disabling
[    2.335663] Unable to handle kernel paging request at virtual address 5ffffff3
[    2.342912] pgd = c0003000
[    2.345628] [5ffffff3] *pgd=80000080005003, *pmd=00000000
[    2.351066] Internal error: Oops: 206 [#1] PREEMPT SMP ARM
[    2.356573] Modules linked in:
[    2.359646] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G    B           4.1.13-g8dc6617 #1
[    2.367593] Hardware name: Generic DRA74X (Flattened Device Tree)
[    2.373708] task: ee08b200 ti: ee0ae000 task.ti: ee0ae000
[    2.379129] PC is at cpu_startup_entry+0x154/0x31c
[    2.383937] LR is at cpu_startup_entry+0x14c/0x31c
[    2.388747] pc : [<c00704cc>]    lr : [<c00704c4>]    psr: 60000093
[    2.388747] sp : ee0affa0  ip : ee0affa0  fp : 60000013
[    2.400271] r10: c0910f33  r9 : c063e160  r8 : 00000000
[    2.405518] r7 : 00000000  r6 : c08ca568  r5 : c08ca5b4  r4 : ee0ae000
[    2.412071] r3 : 00000000  r2 : c0929568  r1 : 00000020  r0 : 00000000
[    2.418624] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    2.426046] Control: 30c5387d  Table: 80003000  DAC: 55555555
[    2.431818] Process swapper/1 (pid: 0, stack limit = 0xee0ae218)
[    2.437847] Stack: (0xee0affa0 to 0xee0b0000)
[    2.442218] ffa0: 00000001 ee0ae000 c08ca5bc c0910f33 c08c6800 c09142a8 80007000 c08c5f10
[    2.450428] ffc0: c08c33c4 ee0affa0 ee0affc0 c09142a8 ee0afff4 ee0affe0 c0015744 c0070384
[    2.458638] ffe0: ae044bc0 00000000 00000000 ee0afff8 8000958c c0015614 34a00242 8588d50e
[    2.466845] Backtrace: invalid frame pointer 0x60000013
[    2.472109] Code: eaffffcf eb00a2cc e3500000 1affffe3 (e51b2020) 
[    2.478228] ---[ end trace 4da84fa79bf0fc10 ]---
[    2.482862] Kernel panic - not syncing: Attempted to kill the idle task!
[    2.489596] CPU0: stopping
[    2.492315] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G    B D         4.1.13-g8dc6617 #1
[    2.500261] Hardware name: Generic DRA74X (Flattened Device Tree)
[    2.506376] Backtrace: 
[    2.508846] [<c0012f78>] (dump_backtrace) from [<c001319c>] (show_stack+0x18/0x1c)
[    2.516442]  r7:fa212000 r6:00000000 r5:c08e7c0c r4:00000000
[    2.522154] [<c0013184>] (show_stack) from [<c0631b2c>] (dump_stack+0x9c/0xdc)
[    2.529405] [<c0631a90>] (dump_stack) from [<c0015ae8>] (handle_IPI+0x14c/0x160)
[    2.536826]  r5:00000000 r4:c08c4d2c
[    2.540433] [<c001599c>] (handle_IPI) from [<c00094e0>] (gic_handle_irq+0x60/0x64)
[    2.548028]  r7:fa212000 r6:c08c9ef8 r5:c08ca948 r4:fa21200c
[    2.553741] [<c0009480>] (gic_handle_irq) from [<c0637780>] (__irq_svc+0x40/0x74)
[    2.561251] Exception stack(0xc08c9ef8 to 0xc08c9f40)
[    2.566319] 9ee0:                                                       00000001 00000000
[    2.574528] 9f00: c09146b0 00000000 c08c8000 c08ca5b4 c08ca568 00000000 00000000 c063e160
[    2.582741] 9f20: c0910f33 c08c9f4c c08c9f2c c08c9f40 c002a838 c00104c0 60000013 ffffffff
[    2.590947]  r7:c08c9f2c r6:ffffffff r5:60000013 r4:c00104c0
[    2.596654] [<c0010498>] (arch_cpu_idle) from [<c0070618>] (cpu_startup_entry+0x2a0/0x31c)
[    2.604957] [<c0070378>] (cpu_startup_entry) from [<c062e1b8>] (rest_init+0x90/0x94)
[    2.612726]  r7:00000000
[    2.615277] [<c062e128>] (rest_init) from [<c0875d4c>] (start_kernel+0x404/0x410)
[    2.622785]  r5:00000000 r4:c0914050
[    2.626385] [<c0875948>] (start_kernel) from [<80008090>] (0x80008090)
[    2.632936]  r10:00000000 r9:412fc0f2 r8:80007000 r7:c08ce498 r6:c08b5b0c r5:c08ca544
[    2.640825]  r4:c0914214
[    2.643370] drm_kms_helper: panic occurred, switching back to text console
[    2.650295] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!

U-Boot 2015.07 (Jan 08 2016 - 18:45:34 -0500)

CPU  : DRA752 ES1.1
Board: UNKNOWN(BeagleBoard X15?)
I2C:   ready
DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
Invalid EEPROM data(@0x4031e028). Default to X15
SCSI:  SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
scanning bus for devices...
Found 0 device(s).
Net:   <ethaddr> not set. Validating first E-fuse MAC
Phy 1 not found
cpsw
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
574 bytes read in 3 ms (186.5 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3394944 bytes read in 189 ms (17.1 MiB/s)
92206 bytes read in 27 ms (3.3 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x33cd80 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe6000, end 8ffff82d ... OK

Starting kernel ...

Regards,

Sri

  • Hi,

    I will forward this to the software team.
  • Hi,

    Srinidhi S said:
    For the first time, kernel throws up some debug logs but on subsequent boot kernel not even starts!

     

    On a board reset, the system should loose all data loaded in the DDR & perform a fresh boot => if you've gotten some debug prints the first time, you shouldn't get stuck at Starting kernel the second time... Is this behavior persistent?  The first log points to some kind of memory corruption, while the second log stops at the point, as if it cannot load & read the device tree. 

    Can do the following to see if you'll get some more debug information out of the board: 

     1. add  CONFIG_OMAP_LL_DEBUG_UARTx=y in your defconfig file    (replace UARTx with your debug uart). 

     2. enable early print in menuconfig. 

    Rebuild the kernel & see if you'll get some more output on the second boot. 

    Also can you share which SDK version are you using? 

    Best Regards, 
    Yordan