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 Panic DM8148 Custom Board

Hi

I am From Barco. recently we have Developed a Custom Dm8148 Base Board. we have did lots of Experiments on Dm8148 EVm and all were working.

now we have developed this Dm8148 Based Board which Initially give Bring-up Problem, but once i have changed the DDR clock from 400 MHz to 200 Mhz its getting Booted up to  Second Stage Boot Loader.( we will look for 400Mhz issue later once our CCS and Jtag Emulator starts working.)

below is my bootArg

bootargs=earlyprintk console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootwait

Now i am getting Kernel panic Message as soon as it Boots, Below is the Earlyprintk (i have enabled the earlyprintk )..Any idea ??

## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2726720 Bytes = 2.6 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.37 (kp@noiclt22796) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #9 Fri Jun 21 15:01:56 IST 2013
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: ti8148evm
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] reserved size = 52428800 at 0x0
[    0.000000] Kernel panic - not syncing: ERROR: Failed to allocate 0x3200000 bytes below 0x0.
[    0.000000]
[    0.000000] Backtrace:
[    0.000000] [<c004abcc>] (dump_backtrace+0x0/0x110) from [<c03d99a0>] (dump_stack+0x18/0x1c)
[    0.000000]  r7:c002dcf0 r6:c0573274 r5:00000000 r4:c05738d0
[    0.000000] [<c03d9988>] (dump_stack+0x0/0x1c) from [<c03d9a04>] (panic+0x60/0x184)
[    0.000000] [<c03d99a4>] (panic+0x0/0x184) from [<c0019098>] (memblock_alloc_base+0x3c/0x48)
[    0.000000]  r3:00000000 r2:03200000 r1:00000000 r0:c04b5035
[    0.000000] [<c001905c>] (memblock_alloc_base+0x0/0x48) from [<c00190ec>] (memblock_alloc+0x14/0x18)
[    0.000000]  r5:00000000 r4:03200000
[    0.000000] [<c00190d8>] (memblock_alloc+0x0/0x18) from [<c0021020>] (ti81xxfb_reserve_sdram_memblock+0xe0/0x148)
[    0.000000] [<c0020f40>] (ti81xxfb_reserve_sdram_memblock+0x0/0x148) from [<c001389c>] (ti81xx_reserve+0x10/0x14)
[    0.000000]  r5:00000003 r4:c002fd38
[    0.000000] [<c001388c>] (ti81xx_reserve+0x0/0x14) from [<c000d284>] (arm_memblock_init+0xc8/0xf4)
[    0.000000] [<c000d1bc>] (arm_memblock_init+0x0/0xf4) from [<c000be9c>] (setup_arch+0x40c/0x6b8)
[    0.000000]  r7:00000000 r6:c002dcf0 r5:c002f938 r4:8003c000
[    0.000000] [<c000ba90>] (setup_arch+0x0/0x6b8) from [<c0008ac0>] (start_kernel+0x6c/0x2ec)
[    0.000000] [<c0008a54>] (start_kernel+0x0/0x2ec) from [<80008048>] (0x80008048)
[    0.000000]  r6:c002f934 r5:c057321c r4:10c53c7d

  • Try adding mem=" " and vram=" " in bootargs..

    Example:

    setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs nfsroot=172.24.179.98:/nfs_root,nolock rw mem=128M vram=50M'.

    Regards,
    Krunal
  • Hello,

    Could you try with the default bootargs for dm8148.

    setenv bootargs 'console=tty00, 115200n8 rootwait rw mem 256M earlyprink notifyk.vpssm3_sva=0xBF900000 vram=50M vmalloc=500M ti814xfb.vram0:16M,2:6M, ubi.mtd=4,2048 root=ubi0:rootfs rw rootfs=ubifs'

    Also you could check:

    http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map

    Let me know the result.

    Best Regards,

    Margarita

  • Hi Kurnal,

    yes that BootArg Helps but again it Hang After few lines and when i waited long then i get the Stack Prints as well.

    can you make out something out of it..

    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2726720 Bytes = 2.6 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... KP done, booting the kernel.
    [    0.000000] Linux version 2.6.37 (kp@noiclt22796) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #9 Fri Jun 21 15:01:56 IST 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: ti8148evm
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] vram size = 52428800 at 0x0
    [    0.000000] reserved size = 52428800 at 0x0
    [    0.000000] FB: Reserving 52428800 bytes SDRAM for VRAM
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] OMAP chip is TI8148 3.0
    [    0.000000] SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 19680
    [    0.000000] Kernel command line: earlyprintk console=ttyO0,115200n8 root=/dev/nfs nfsroot=172.24.179.fs:/nfs_roooo,olock rw mem=128M vram=50M
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Memory: 78MB = 78MB total
    [    0.000000] Memory: 72752k/72752k available, 58320k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    [    0.000000]     vmalloc : 0xc8800000 - 0xf8000000   ( 760 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .init : 0xc0008000 - 0xc003c000   ( 208 kB)
    [    0.000000]       .text : 0xc003c000 - 0xc0527000   (5036 kB)
    [    0.000000]       .data : 0xc0528000 - 0xc0573080   ( 301 kB)
    [    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS:407
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] GPMC revision 6.0
    [    0.000000] Trying to install interrupt handler for IRQ400
    [    0.000000] Trying to install interrupt handler for IRQ401
    [    0.000000] Trying to install interrupt handler for IRQ402
    [    0.000000] Trying to install interrupt handler for IRQ403
    [    0.000000] Trying to install interrupt handler for IRQ404
    [    0.000000] Trying to install interrupt handler for IRQ405
    [    0.000000] Trying to install interrupt handler for IRQ406
    [    0.000000] Trying to install type control for IRQ407
    [    0.000000] Trying to set irq flags for IRQ407
    [    0.000000] OMAP clockevent source: GPTIMER1 at 20000000 Hz
    [    0.000000] Console: colour dummy device 80x30
    [    0.000000] Calibrating delay loop... 999.42 BogoMIPS (lpj=4997120)
    [    0.260000] pid_max: default: 32768 minimum: 301
    [    0.260000] Security Framework initialized
    [    0.270000] Mount-cache hash table entries: 512
    [    0.270000] CPU: Testing write buffer coherency: ok
    [    0.280000] devtmpfs: initialized
    [    0.280000] omap_voltage_early_init: voltage driver support not added
    [    0.290000] regulator: core version 0.5
    [    0.290000] regulator: dummy:
    [    0.300000] NET: Registered protocol family 16
    [    0.300000] omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    [    0.310000] omap_voltage_add_dev: VDD specified does not exist!
    [    0.320000] OMAP GPIO hardware version 0.1
    [    0.320000] OMAP GPIO hardware version 0.1
    [    0.330000] OMAP GPIO hardware version 0.1
    [    0.330000] OMAP GPIO hardware version 0.1
    [    0.330000] omap_mux_init: Add partition: #1: core, flags: 4
    [    0.340000] NOR: Can't request GPMC CS
    [   71.900000] BUG: soft lockup - CPU#0 stuck for 63s! [swapper:1]
    [   71.900000] Modules linked in:
    [   71.900000]
    [   71.900000] Pid: 1, comm:              swapper
    [   71.900000] CPU: 0    Not tainted  (2.6.37 #9)
    [   71.900000] PC is at omap_ctrl_readl+0x18/0x20
    [   71.900000] LR is at omap2_init_devices+0x260/0xeb0
    [   71.900000] pc : [<c00521fc>]    lr : [<c000fd40>]    psr: 60000013
    [   71.900000] sp : c4825f80  ip : c4825f90  fp : c4825f8c
    [   71.900000] r10: 00000000  r9 : 00000000  r8 : c000fae0
    [   71.900000] r7 : 00000013  r6 : c0072a90  r5 : 00000814  r4 : 00000814
    [   71.900000] r3 : fa140000  r2 : 00001310  r1 : 000006d8  r0 : 0000f004
    [   71.900000] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    [   71.900000] Control: 10c5387f  Table: 80004019  DAC: 00000017
    [   71.900000] [<c0048494>] (show_regs+0x0/0x50) from [<c009e7cc>] (watchdog_timer_fn+0x108/0x168)
    [   71.900000]  r5:00000003 r4:18711a00
    [   71.900000] [<c009e6c4>] (watchdog_timer_fn+0x0/0x168) from [<c008a670>] (__run_hrtimer+0x4c/0xc0)
    [   71.900000] [<c008a624>] (__run_hrtimer+0x0/0xc0) from [<c008a7e0>] (hrtimer_run_queues+0xfc/0x140)
    [   71.900000]  r5:00000047 r4:c05441e0
    [   71.900000] [<c008a6e4>] (hrtimer_run_queues+0x0/0x140) from [<c007a500>] (run_local_timers+0x10/0x1c)
    [   71.900000]  r7:00000000 r6:00000043 r5:c4822000 r4:00000000
    [   71.900000] [<c007a4f0>] (run_local_timers+0x0/0x1c) from [<c007a53c>] (update_process_times+0x30/0x50)
    [   71.900000] [<c007a50c>] (update_process_times+0x0/0x50) from [<c0093080>] (tick_periodic+0xa4/0xc0)
    [   71.900000]  r5:00000000 r4:c052e998
    [   71.900000] [<c0092fdc>] (tick_periodic+0x0/0xc0) from [<c00930b8>] (tick_handle_periodic+0x1c/0xfc)
    [   71.900000] [<c009309c>] (tick_handle_periodic+0x0/0xfc) from [<c0054680>] (omap2_gp_timer_interrupt+0x28/0x34)
    [   71.900000]  r8:c000fae0 r7:00000000 r6:00000043 r5:00000000 r4:c052e998
    [   71.900000] [<c0054658>] (omap2_gp_timer_interrupt+0x0/0x34) from [<c009ece4>] (handle_IRQ_event+0x2c/0xec)
    [   71.900000] [<c009ecb8>] (handle_IRQ_event+0x0/0xec) from [<c00a0f7c>] (handle_level_irq+0xac/0x11c)
    [   71.900000]  r7:00000013 r6:c0072a90 r5:00000043 r4:c0545f94
    [   71.900000] [<c00a0ed0>] (handle_level_irq+0x0/0x11c) from [<c003c07c>] (asm_do_IRQ+0x7c/0xa0)
    [   71.900000]  r5:00000000 r4:00000043
    [   71.900000] [<c003c000>] (asm_do_IRQ+0x0/0xa0) from [<c03db9f4>] (__irq_svc+0x34/0xa0)
    [   71.900000] Exception stack(0xc4825f38 to 0xc4825f80)
    [   71.900000] 5f20:                                                       0000f004 000006d8
    [   71.900000] 5f40: 00001310 fa140000 00000814 00000814 c0072a90 00000013 c000fae0 00000000
    [   71.900000] 5f60: 00000000 c4825f8c c4825f90 c4825f80 c000fd40 c00521fc 60000013 ffffffff
    [   71.900000]  r5:fa200000 r4:ffffffff
    [   71.900000] [<c00521e4>] (omap_ctrl_readl+0x0/0x20) from [<c000fd40>] (omap2_init_devices+0x260/0xeb0)
    [   71.900000] [<c000fae0>] (omap2_init_devices+0x0/0xeb0) from [<c003c42c>] (do_one_initcall+0xd0/0x1a4)
    [   71.900000]  r5:c00086b0 r4:c002e4f4
    [   71.900000] [<c003c35c>] (do_one_initcall+0x0/0x1a4) from [<c000874c>] (kernel_init+0x9c/0x154)
    [   71.900000] [<c00086b0>] (kernel_init+0x0/0x154) from [<c0072a90>] (do_exit+0x0/0x5e4)
    [   71.900000]  r5:c00086b0 r4:00000000
    [   71.900000] Kernel panic - not syncing: softlockup: hung tasks
    [   71.900000] Backtrace:
    [   71.900000] [<c004abcc>] (dump_backtrace+0x0/0x110) from [<c03d99a0>] (dump_stack+0x18/0x1c)
    [   71.900000]  r7:00000003 r6:c0544960 r5:00000003 r4:c05738d0
    [   71.900000] [<c03d9988>] (dump_stack+0x0/0x1c) from [<c03d9a04>] (panic+0x60/0x184)
    [   71.900000] [<c03d99a4>] (panic+0x0/0x184) from [<c009e7f0>] (watchdog_timer_fn+0x12c/0x168)
    [   71.900000]  r3:00000001 r2:c0542918 r1:00002593 r0:c04b2b2b
    [   71.900000] [<c009e6c4>] (watchdog_timer_fn+0x0/0x168) from [<c008a670>] (__run_hrtimer+0x4c/0xc0)
    [   71.900000] [<c008a624>] (__run_hrtimer+0x0/0xc0) from [<c008a7e0>] (hrtimer_run_queues+0xfc/0x140)
    [   71.900000]  r5:00000047 r4:c05441e0
    [   71.900000] [<c008a6e4>] (hrtimer_run_queues+0x0/0x140) from [<c007a500>] (run_local_timers+0x10/0x1c)
    [   71.900000]  r7:00000000 r6:00000043 r5:c4822000 r4:00000000
    [   71.900000] [<c007a4f0>] (run_local_timers+0x0/0x1c) from [<c007a53c>] (update_process_times+0x30/0x50)
    [   71.900000] [<c007a50c>] (update_process_times+0x0/0x50) from [<c0093080>] (tick_periodic+0xa4/0xc0)
    [   71.900000]  r5:00000000 r4:c052e998
    [   71.900000] [<c0092fdc>] (tick_periodic+0x0/0xc0) from [<c00930b8>] (tick_handle_periodic+0x1c/0xfc)
    [   71.900000] [<c009309c>] (tick_handle_periodic+0x0/0xfc) from [<c0054680>] (omap2_gp_timer_interrupt+0x28/0x34)
    [   71.900000]  r8:c000fae0 r7:00000000 r6:00000043 r5:00000000 r4:c052e998
    [   71.900000] [<c0054658>] (omap2_gp_timer_interrupt+0x0/0x34) from [<c009ece4>] (handle_IRQ_event+0x2c/0xec)
    [   71.900000] [<c009ecb8>] (handle_IRQ_event+0x0/0xec) from [<c00a0f7c>] (handle_level_irq+0xac/0x11c)
    [   71.900000]  r7:00000013 r6:c0072a90 r5:00000043 r4:c0545f94
    [   71.900000] [<c00a0ed0>] (handle_level_irq+0x0/0x11c) from [<c003c07c>] (asm_do_IRQ+0x7c/0xa0)
    [   71.900000]  r5:00000000 r4:00000043
    [   71.900000] [<c003c000>] (asm_do_IRQ+0x0/0xa0) from [<c03db9f4>] (__irq_svc+0x34/0xa0)
    [   71.900000] Exception stack(0xc4825f38 to 0xc4825f80)
    [   71.900000] 5f20:                                                       0000f004 000006d8
    [   71.900000] 5f40: 00001310 fa140000 00000814 00000814 c0072a90 00000013 c000fae0 00000000
    [   71.900000] 5f60: 00000000 c4825f8c c4825f90 c4825f80 c000fd40 c00521fc 60000013 ffffffff
    [   71.900000]  r5:fa200000 r4:ffffffff
    [   71.900000] [<c00521e4>] (omap_ctrl_readl+0x0/0x20) from [<c000fd40>] (omap2_init_devices+0x260/0xeb0)
    [   71.900000] [<c000fae0>] (omap2_init_devices+0x0/0xeb0) from [<c003c42c>] (do_one_initcall+0xd0/0x1a4)
    [   71.900000]  r5:c00086b0 r4:c002e4f4
    [   71.900000] [<c003c35c>] (do_one_initcall+0x0/0x1a4) from [<c000874c>] (kernel_init+0x9c/0x154)
    [   71.900000] [<c00086b0>] (kernel_init+0x0/0x154) from [<c0072a90>] (do_exit+0x0/0x5e4)
    [   71.900000]  r5:c00086b0 r4:00000000

  • Hello Margarita,

    i have Tried with your Default bootArgs the results were same. if i w

    Bytes transferred = 2726784 (299b80 hex)
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2726720 Bytes = 2.6 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... KP done, booting the kernel.
    [    0.000000] Linux version 2.6.37 (kp@noiclt22796) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #9 Fri Jun 21 15:01:56 IST 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: ti8148evm
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] vram size = 52428800 at 0x0
    [    0.000000] reserved size = 52428800 at 0x0
    [    0.000000] FB: Reserving 52428800 bytes SDRAM for VRAM
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] OMAP chip is TI8148 3.0
    [    0.000000] SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 19680
    [    0.000000] Kernel command line: earlyprintk console=ttyO0,115200n8 root=/dev/nfs nfsroot=172.24.179.fs:/nfs_roooo,olock rw mem=128M vram=50M
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Memory: 78MB = 78MB total
    [    0.000000] Memory: 72752k/72752k available, 58320k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    [    0.000000]     vmalloc : 0xc8800000 - 0xf8000000   ( 760 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .init : 0xc0008000 - 0xc003c000   ( 208 kB)
    [    0.000000]       .text : 0xc003c000 - 0xc0527000   (5036 kB)
    [    0.000000]       .data : 0xc0528000 - 0xc0573080   ( 301 kB)
    [    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS:407
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] GPMC revision 6.0
    [    0.000000] Trying to install interrupt handler for IRQ400
    [    0.000000] Trying to install interrupt handler for IRQ401
    [    0.000000] Trying to install interrupt handler for IRQ402
    [    0.000000] Trying to install interrupt handler for IRQ403
    [    0.000000] Trying to install interrupt handler for IRQ404
    [    0.000000] Trying to install interrupt handler for IRQ405
    [    0.000000] Trying to install interrupt handler for IRQ406
    [    0.000000] Trying to install type control for IRQ407
    [    0.000000] Trying to set irq flags for IRQ407
    [    0.000000] OMAP clockevent source: GPTIMER1 at 20000000 Hz
    [    0.000000] Console: colour dummy device 80x30
    [    0.000000] Calibrating delay loop... 999.42 BogoMIPS (lpj=4997120)
    [    0.260000] pid_max: default: 32768 minimum: 301
    [    0.260000] Security Framework initialized
    [    0.270000] Mount-cache hash table entries: 512
    [    0.270000] CPU: Testing write buffer coherency: ok
    [    0.280000] devtmpfs: initialized
    [    0.280000] omap_voltage_early_init: voltage driver support not added
    [    0.290000] regulator: core version 0.5
    [    0.290000] regulator: dummy:
    [    0.300000] NET: Registered protocol family 16
    [    0.300000] omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    [    0.310000] omap_voltage_add_dev: VDD specified does not exist!
    [    0.320000] OMAP GPIO hardware version 0.1
    [    0.320000] OMAP GPIO hardware version 0.1
    [    0.330000] OMAP GPIO hardware version 0.1
    [    0.330000] OMAP GPIO hardware version 0.1
    [    0.330000] omap_mux_init: Add partition: #1: core, flags: 4
    [    0.340000] NOR: Can't request GPMC CS
    [   71.900000] BUG: soft lockup - CPU#0 stuck for 63s! [swapper:1]
    [   71.900000] Modules linked in:
    [   71.900000]
    [   71.900000] Pid: 1, comm:              swapper
    [   71.900000] CPU: 0    Not tainted  (2.6.37 #9)
    [   71.900000] PC is at omap_ctrl_readl+0x18/0x20
    [   71.900000] LR is at omap2_init_devices+0x260/0xeb0
    [   71.900000] pc : [<c00521fc>]    lr : [<c000fd40>]    psr: 60000013
    [   71.900000] sp : c4825f80  ip : c4825f90  fp : c4825f8c
    [   71.900000] r10: 00000000  r9 : 00000000  r8 : c000fae0
    [   71.900000] r7 : 00000013  r6 : c0072a90  r5 : 00000814  r4 : 00000814
    [   71.900000] r3 : fa140000  r2 : 00001310  r1 : 000006d8  r0 : 0000f004
    [   71.900000] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    [   71.900000] Control: 10c5387f  Table: 80004019  DAC: 00000017
    [   71.900000] [<c0048494>] (show_regs+0x0/0x50) from [<c009e7cc>] (watchdog_timer_fn+0x108/0x168)
    [   71.900000]  r5:00000003 r4:18711a00
    [   71.900000] [<c009e6c4>] (watchdog_timer_fn+0x0/0x168) from [<c008a670>] (__run_hrtimer+0x4c/0xc0)
    [   71.900000] [<c008a624>] (__run_hrtimer+0x0/0xc0) from [<c008a7e0>] (hrtimer_run_queues+0xfc/0x140)
    [   71.900000]  r5:00000047 r4:c05441e0
    [   71.900000] [<c008a6e4>] (hrtimer_run_queues+0x0/0x140) from [<c007a500>] (run_local_timers+0x10/0x1c)
    [   71.900000]  r7:00000000 r6:00000043 r5:c4822000 r4:00000000
    [   71.900000] [<c007a4f0>] (run_local_timers+0x0/0x1c) from [<c007a53c>] (update_process_times+0x30/0x50)
    [   71.900000] [<c007a50c>] (update_process_times+0x0/0x50) from [<c0093080>] (tick_periodic+0xa4/0xc0)
    [   71.900000]  r5:00000000 r4:c052e998
    [   71.900000] [<c0092fdc>] (tick_periodic+0x0/0xc0) from [<c00930b8>] (tick_handle_periodic+0x1c/0xfc)
    [   71.900000] [<c009309c>] (tick_handle_periodic+0x0/0xfc) from [<c0054680>] (omap2_gp_timer_interrupt+0x28/0x34)
    [   71.900000]  r8:c000fae0 r7:00000000 r6:00000043 r5:00000000 r4:c052e998
    [   71.900000] [<c0054658>] (omap2_gp_timer_interrupt+0x0/0x34) from [<c009ece4>] (handle_IRQ_event+0x2c/0xec)
    [   71.900000] [<c009ecb8>] (handle_IRQ_event+0x0/0xec) from [<c00a0f7c>] (handle_level_irq+0xac/0x11c)
    [   71.900000]  r7:00000013 r6:c0072a90 r5:00000043 r4:c0545f94
    [   71.900000] [<c00a0ed0>] (handle_level_irq+0x0/0x11c) from [<c003c07c>] (asm_do_IRQ+0x7c/0xa0)
    [   71.900000]  r5:00000000 r4:00000043
    [   71.900000] [<c003c000>] (asm_do_IRQ+0x0/0xa0) from [<c03db9f4>] (__irq_svc+0x34/0xa0)
    [   71.900000] Exception stack(0xc4825f38 to 0xc4825f80)
    [   71.900000] 5f20:                                                       0000f004 000006d8
    [   71.900000] 5f40: 00001310 fa140000 00000814 00000814 c0072a90 00000013 c000fae0 00000000
    [   71.900000] 5f60: 00000000 c4825f8c c4825f90 c4825f80 c000fd40 c00521fc 60000013 ffffffff
    [   71.900000]  r5:fa200000 r4:ffffffff
    [   71.900000] [<c00521e4>] (omap_ctrl_readl+0x0/0x20) from [<c000fd40>] (omap2_init_devices+0x260/0xeb0)
    [   71.900000] [<c000fae0>] (omap2_init_devices+0x0/0xeb0) from [<c003c42c>] (do_one_initcall+0xd0/0x1a4)
    [   71.900000]  r5:c00086b0 r4:c002e4f4
    [   71.900000] [<c003c35c>] (do_one_initcall+0x0/0x1a4) from [<c000874c>] (kernel_init+0x9c/0x154)
    [   71.900000] [<c00086b0>] (kernel_init+0x0/0x154) from [<c0072a90>] (do_exit+0x0/0x5e4)
    [   71.900000]  r5:c00086b0 r4:00000000
    [   71.900000] Kernel panic - not syncing: softlockup: hung tasks
    [   71.900000] Backtrace:
    [   71.900000] [<c004abcc>] (dump_backtrace+0x0/0x110) from [<c03d99a0>] (dump_stack+0x18/0x1c)
    [   71.900000]  r7:00000003 r6:c0544960 r5:00000003 r4:c05738d0
    [   71.900000] [<c03d9988>] (dump_stack+0x0/0x1c) from [<c03d9a04>] (panic+0x60/0x184)
    [   71.900000] [<c03d99a4>] (panic+0x0/0x184) from [<c009e7f0>] (watchdog_timer_fn+0x12c/0x168)
    [   71.900000]  r3:00000001 r2:c0542918 r1:00002593 r0:c04b2b2b
    [   71.900000] [<c009e6c4>] (watchdog_timer_fn+0x0/0x168) from [<c008a670>] (__run_hrtimer+0x4c/0xc0)
    [   71.900000] [<c008a624>] (__run_hrtimer+0x0/0xc0) from [<c008a7e0>] (hrtimer_run_queues+0xfc/0x140)
    [   71.900000]  r5:00000047 r4:c05441e0
    [   71.900000] [<c008a6e4>] (hrtimer_run_queues+0x0/0x140) from [<c007a500>] (run_local_timers+0x10/0x1c)
    [   71.900000]  r7:00000000 r6:00000043 r5:c4822000 r4:00000000
    [   71.900000] [<c007a4f0>] (run_local_timers+0x0/0x1c) from [<c007a53c>] (update_process_times+0x30/0x50)
    [   71.900000] [<c007a50c>] (update_process_times+0x0/0x50) from [<c0093080>] (tick_periodic+0xa4/0xc0)
    [   71.900000]  r5:00000000 r4:c052e998
    [   71.900000] [<c0092fdc>] (tick_periodic+0x0/0xc0) from [<c00930b8>] (tick_handle_periodic+0x1c/0xfc)
    [   71.900000] [<c009309c>] (tick_handle_periodic+0x0/0xfc) from [<c0054680>] (omap2_gp_timer_interrupt+0x28/0x34)
    [   71.900000]  r8:c000fae0 r7:00000000 r6:00000043 r5:00000000 r4:c052e998
    [   71.900000] [<c0054658>] (omap2_gp_timer_interrupt+0x0/0x34) from [<c009ece4>] (handle_IRQ_event+0x2c/0xec)
    [   71.900000] [<c009ecb8>] (handle_IRQ_event+0x0/0xec) from [<c00a0f7c>] (handle_level_irq+0xac/0x11c)
    [   71.900000]  r7:00000013 r6:c0072a90 r5:00000043 r4:c0545f94
    [   71.900000] [<c00a0ed0>] (handle_level_irq+0x0/0x11c) from [<c003c07c>] (asm_do_IRQ+0x7c/0xa0)
    [   71.900000]  r5:00000000 r4:00000043
    [   71.900000] [<c003c000>] (asm_do_IRQ+0x0/0xa0) from [<c03db9f4>] (__irq_svc+0x34/0xa0)
    [   71.900000] Exception stack(0xc4825f38 to 0xc4825f80)
    [   71.900000] 5f20:                                                       0000f004 000006d8
    [   71.900000] 5f40: 00001310 fa140000 00000814 00000814 c0072a90 00000013 c000fae0 00000000
    [   71.900000] 5f60: 00000000 c4825f8c c4825f90 c4825f80 c000fd40 c00521fc 60000013 ffffffff
    [   71.900000]  r5:fa200000 r4:ffffffff
    [   71.900000] [<c00521e4>] (omap_ctrl_readl+0x0/0x20) from [<c000fd40>] (omap2_init_devices+0x260/0xeb0)
    [   71.900000] [<c000fae0>] (omap2_init_devices+0x0/0xeb0) from [<c003c42c>] (do_one_initcall+0xd0/0x1a4)
    [   71.900000]  r5:c00086b0 r4:c002e4f4
    [   71.900000] [<c003c35c>] (do_one_initcall+0x0/0x1a4) from [<c000874c>] (kernel_init+0x9c/0x154)
    [   71.900000] [<c00086b0>] (kernel_init+0x0/0x154) from [<c0072a90>] (do_exit+0x0/0x5e4)
    [   71.900000]  r5:c00086b0 r4:00000000

  • Hi KP,

    I hope you have customized the kernel according to your hardware (pinmux etc.)

    Regards,

    Krunal

  • Hi KP,

    I see the below lines in your log:

    [    0.340000] NOR: Can't request GPMC CS
    [   71.900000] BUG: soft lockup - CPU#0 stuck for 63s! [swapper:1]

    Can you check your GPMC CS for NOR? Looks like there may be some issue there. If you are not booting from NOR, you can try removing this part of the code and see if the boot succeeds.

  • Hello All,

    my Problem has been Sloved. i have to done below.

    1: Disable PIMIC

    2: Disable PCIe (menuconfig as well in BSP file)

    Thanks a lot for Efforts

    Br,

    KP