Hello!!
I have a OMAP3730-module and need to install a real-time patch. Originally, a kernel based on the vanilla kernel 2.6.32 (with special VAR-SOM patch PSP 03.00.01.06) was installed, so we decided to use a omap-patch (03.00.00.02) and the 2.6.31-rt. Therefore a diff between the originally installed kernel and the omap-patch was done and the rt-patch was installed. Some minor changes were done manually. My problem now is, that when I want to boot the dsp with the new image, then a kernel panic occurs (as you can see below). The unhandled fault is related to the address 0xd080c408. As can be seen in the datasheet, this address belongs to a reserved range (for future stuff?). Do you have any idea what's wrong? I've never worked with dsps before (only in theory), so I'm a total newbie :-( Thanks in advance!!
Kind regards!
Texas Instruments X-Loader 1.46 (Dec 12 2010 - 17:37:03)
U-Boot 2009.11-dirty (Jul 26 2011 - 14:50:05)
AM37x/DM37x-GP ES2.1, CPU-OPP2 L3-165MHz
VAR-SOM-OM3xxx Board + LPDDR/NAND
I2C: ready
DRAM: 256 MB
NAND: 512 MiB
In: serial
Out: serial
Err: serial
Net: smc911x-0
Hit any key to stop autoboot: 0
VAR-OM3xxx # setenv bootfile uImage.sha
VAR-OM3xxx # boot
Loading Kernel from mmc ...
mmc1 is available
reading uImage.sha
1927492 bytes read
Loading FS from mmc 1:2 ...
## Booting kernel from Legacy Image at 80000000 ...
Image Name: Linux-2.6.31-rc7-rt20-omap1-0633
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1927428 Bytes = 1.8 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.............................................................
<5>Linux version 2.6.31-rc7-rt20-omap1-06333-g461437d-dirty (user@ubuntu) (gcc 1
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 EVM
Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 53248
<7>free_area_init_node: node 0, pgdat c03b38a0, node_mem_map c03d6000
<7> Normal zone: 512 pages used for memmap
<7> Normal zone: 0 pages reserved
<7> Normal zone: 52736 pages, LIFO batch:15
<6>OMAP3500 ()
<6>SRAM: Mapped pa 0x40200000 to va 0xe3000000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 52736
<5>Kernel command line: mem=80M@0x80000000 mem=128M@0x88000000 noinitrd console0
PID hash table entries: 1024 (order: 10, 4096 bytes)
<6>Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>Memory: 80MB 128MB = 208MB total
<5>Memory: 206848KB available (3288K code, 375K data, 124K init, 0K highmem)
Real-Time Preemption Support (C) 2004-2007 Ingo Molnar
<5>Preemptible RCU implementation.
<6>NR_IRQS:402
<3>clock: init parent: could not find regval 5 for clock gfx_l3_fck
<3>clock: init parent: could not find regval 0 for clock usb_l4_ick
<3>clock: Could not find parent clock gfx_l3_ck in clksel array of clock gfx_l3k
<3>clock: Could not find fieldval 0 for clock usb_l4_ick parent l4_ick
<6>Clocking rate (Crystal/Core/MPU): 26.0/400/800 MHz
<6>IVA2 clocking rate: 260 MHz
<6>Reprogramming SDRC clock to 400000000 Hz
<3>dpll3_m2_clk rate change failed: -22
<6>GPMC revision 5.0
<6>IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
<6>Total of 96 interrupts on 1 active controller
<6>OMAP34xx GPIO hardware version 2.5
<6>OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
<6>Calibrating delay loop... <c>799.29 BogoMIPS (lpj=3121152)
Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>regulator: core version 0.5
<6>NET: Registered protocol family 16
<4>MUX: setup AF9_34XX_GPIO22 (0xd80025ec): 0x010c -> 0x011c
<4>MUX: setup U3_34XX_GPIO61 (0xd80020c8): 0x0118 -> 0x011c
<4>MUX: setup AH14_34XX_GPIO21 (0xd80025ea): 0x010c -> 0x011c
<1>Unhandled fault: external abort on non-linefetch (0x1008) at 0xd080c408
Internal error: : 1008 [#1] PREEMPT
<d>Modules linked in:
CPU: 0 Not tainted (2.6.31-rc7-rt20-omap1-06333-g461437d-dirty #49)
PC is at usb_musb_init+0x74/0xc0
LR is at rt_spin_lock_slowunlock+0x5c/0xc8
pc : [<c000ffac>] lr : [<c028d7b0>] psr: 60000013
sp : cf821f60 ip : 00000005 fp : 00000000
r10: 00000000 r9 : 00000000 r8 : 00000000
r7 : 00000000 r6 : 00000000 r5 : c03803f4 r4 : d080c000
r3 : 00000002 r2 : cf821f40 r1 : 00000001 r0 : 00000000
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5387f Table: 80004019 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xcf8202f0)
Stack: (0xcf821f60 to 0xcf822000)
1f60: c00262dc c000b3c4 00000000 c000f5a8 c0021fa8 c000b3dc cf820000 c00272cc
1f80: 00000000 c00e8404 cf821fb4 c0315c7f 00008100 0000024e cf821fc4 cf875220
1fa0: cf821fc4 0000015f c03c05b8 c00e8558 c0315c7f cf8752e0 c0395738 c007dbc8
1fc0: 00000000 00313533 00000000 00000000 00000000 c0021fa8 00000000 00000000
1fe0: 00000000 00000000 00000000 c0008578 00000000 c0028ec4 fffdfef7 fc7ffff2
[<c000ffac>] (usb_musb_init+0x74/0xc0) from [<c000f5a8>] (omap3_evm_init+0x128/)
[<c000f5a8>] (omap3_evm_init+0x128/0x2fc) from [<c000b3dc>] (customize_machine+)
[<c000b3dc>] (customize_machine+0x18/0x24) from [<c00272cc>] (do_one_initcall+0)
[<c00272cc>] (do_one_initcall+0x54/0x18c) from [<c0008578>] (kernel_init+0x98/0)
[<c0008578>] (kernel_init+0x98/0x198) from [<c0028ec4>] (kernel_thread_exit+0x0)
Code: ea000007 e3a03002 e5843404 eaffffff (e5943408)
<4>---[ end trace 1b75b31a2719ed1c ]---
<0>Kernel panic - not syncing: Attempted to kill init!