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.

GPTIMER1 Kernel Boot Issue (PSP 02.01.03.11)

Expert 1070 points
Other Parts Discussed in Thread: OMAP3530

We have made good progress in getting the 02.01.03.11 Linux to boot on our custom board (CUS part).  It seems

we are having trouble programming the GPTIMER1 (see output below).  Can anyone help me

figure out what might be wrong?  We have looked at the kernel code but have been unable to

find anything.  Also looked at the .config to see if we could have anything misconfigured.

 

Thanks.

 

 

 

Texas Instruments X-Loader 1.42: 20091216-13:41:32
TimeValue: 00003e09.
Osc value: 018cba80, Sys value: 00000003Starting X-loader on MMC
Reading boot sector

311432 Bytes Read from MMC
Starting OS Bootloader from MMC...
Starting OS Bootloader...
board_init: returnserial_init: entererial_init: return
console_init_f: entering
console_init_f: return
display_banner: entering


U-Boot 2008.10 (Dec 14 2009 - 09:57:30)

display_banner: return
I2C:   ready
I2C:   ready
OMAP35X-Family-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 EVM board + LPDDR/DRAM:  512 MB
nand_init: enter
256 MiB
nand_init: return
serial_init: entererial_init: return
console_init_f: entering
console_init_f: return
console_init_r: enter
In:    serial
Out:   serial
Err:   serial
smc911x: initializing
smc911x: detected LAN9115 controller
smc911x: phy initialized
smc911x: MAC 00:50:c2:7e:88:25
Hit any key to stop autoboot:  0
smc911x: initializing
smc911x: detected LAN9115 controller
smc911x: phy initialized
smc911x: MAC 00:50:c2:7e:88:25
File transfer via NFS from server 192.168.1.150; our IP address is 192.168.1.10
Filename '/home/whoever/EVM_fs/uImage'.
Load address: 0x80000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #
done
Bytes transferred = 2001756 (1e8b5c hex)
magic 27051956 hcrc d48ba954 size 001e8b1c load 80008000 ep 80008000
dcrc cd80296e comp 00000000 type 00000002 arch 00000002 os 00000005
## Booting kernel from Legacy Image at 80000000 ...
   Image Name:   Linux-2.6.29-rc3-omap1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2001692 Bytes =  1.9 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux...
output_start: 80209f64
............................................................................................................................
Buffer: 80209f64
Length: 003d9920
Orig Len: 003d9920
Orig CRC: 23ba582d
Curr CRC: 23ba582d
 done, booting the kernel.
<5>Linux version 2.6.29-rc3-omap1 (root@localhost.localdomain) (gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126)) #56 Wed Dec 16 14:43:38 MST 2009
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5287b
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 EVM
<6>MEM: parse_tag_mem32 about to add memory at 80000000 size 0x10000000<6>MEM: parse_tag_mem32 about to add memory at 90000000 size 0x10000000Memory policy: ECC disabled, Data cache writeback
<5>Ignoring RAM at 90000000-9fffffff (vmalloc region overlap).
<7>On node 0 totalpages: 65536
<7>free_area_init_node: node 0, pgdat c03e11cc, node_mem_map c03fe000
<7>  Normal zone: 512 pages used for memmap
<7>  Normal zone: 0 pages reserved
<7>  Normal zone: 65024 pages, LIFO batch:15
<6>OMAP3530 ES3.1 (full speed SGX, IVA2)
<6>SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
<6>SRAM: omap_map_sram return
<6>SRAM: omap_sram_init return
<6>IO: omap2_map_common_io return
_DIR<6>MMU: devicemaps_init about to flush TLB<6>MMU: devicemaps_init about to flush caches<6>MMU: devicemaps_init caches flushedBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
<5>Kernel command line: m=48M=consol=ttyS0, 115200n8 noinitrd root=/dev/nfs rw nfsroot=192.168.1.150:/home/whoever/EVM_fs,nolock,rsize=1450,wsize=1450 ip=192.168.1.10 debug
<6>Clocking rate (Crystal/DPLL/MPU core): 26.0/166/500 MHz
<6>IVA2 clocking rate: 360 MHz
<6>Reprogramming SDRC
<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
PID hash table entries: 1024 (order: 10, 4096 bytes)
entering omap2_gp_timer_init
calling omap2_gp_clockevent_init
omap2_gp_clockeven_init: gptimer = -1069811416.
<6>OMAP clockevent source: GPTIMER1 at 32768 Hz
omap2_gp_clockeven_init: mult = 140737.
omap2_gp_clockeven_init: before call.
omap2_gp_clockeven_init: ptr address = C03B8A18.
omap2_gp_clockeven_init: cpumask = 1.
clockevents_register_device: mode = 0, cpumask = -1070745224.
-30s: -4594758518296573364.-1069839848
<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
<1>pgd = c0004000
<1>[00000000] *pgd=00000000
Internal error: Oops: 0 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.29-rc3-omap1 #56)
PC is at 0x0
LR is at notifier_call_chain+0x54/0x94
pc : [<00000000>]    lr : [<c007a1f4>]    psr: a00001d3
sp : c03b3eb0  ip : c03c1380  fp : c03b3ed4
r10: 0000001f  r9 : 411fc083  r8 : 00000000
r7 : c03b8a18  r6 : 00000000  r5 : ffffffff  r4 : 00000000
r3 : 00000001  r2 : c03b8a18  r1 : 00000000  r0 : c03c1380
Flags: NzCv  IRQs off  FIQs off  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5287b  Table: 80004019  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc03b22e0)
Stack: (0xc03b3eb0 to 0xc03b4000)
3ea0:                                     c03e4d4c 00000000 c03b8a18 c03c2378
3ec0: 80027084 411fc083 c03b3eec c03b3ed8 c007a2f4 c007a1ac 00000000 c00621e8
3ee0: c03b3f04 c03b3ef0 c007a31c c007a2e4 00000000 c00624c4 c03b3f24 c03b3f08
3f00: c007f0b0 c007a308 c03b8a18 00000000 c03c2370 c03c2378 c03b3f44 c03b3f28
3f20: c007f3b4 c007f080 00000000 00008000 c03b8a18 c03b3f48 c03b3fb4 c03b3f48
3f40: c0012544 c007f354 c03b0031 c007863c c03e4ca0 c03e1920 c0028000 c03b5ca8
3f60: c03b3f84 c03b3f70 c0016e7c c0078628 cd650000 0000001d c03b3fc4 c03b3f88
3f80: c0016de8 c007c02c c03b3fa4 00000018 600001d3 00000000 cccccccd c03e1920
3fa0: c0028000 c03b5ca8 c03b3fc4 c03b3fb8 c000fa34 c00123d4 c03b3ff4 c03b3fc8
3fc0: c0008ac8 c000fa20 c0008518 00000000 00000000 c0028eac 00000000 10c52879
3fe0: c03e22d8 c0028ea8 00000000 c03b3ff8 80008034 c000898c 00000000 00000000
Backtrace:
[<c007a1a0>] (notifier_call_chain+0x0/0x94) from [<c007a2f4>] (__raw_notifier_call_chain+0x1c/0x24)
 r9:411fc083 r8:80027084 r7:c03c2378 r6:c03b8a18 r5:00000000
r4:c03e4d4c
[<c007a2d8>] (__raw_notifier_call_chain+0x0/0x24) from [<c007a31c>] (raw_notifier_call_chain+0x20/0x28)
[<c007a2fc>] (raw_notifier_call_chain+0x0/0x28) from [<c007f0b0>] (clockevents_do_notify+0x3c/0x40)
[<c007f074>] (clockevents_do_notify+0x0/0x40) from [<c007f3b4>] (clockevents_register_device+0x6c/0x114)
 r7:c03c2378 r6:c03c2370 r5:00000000 r4:c03b8a18
[<c007f348>] (clockevents_register_device+0x0/0x114) from [<c0012544>] (omap2_gp_timer_init+0x17c/0x1dc)
 r7:c03b3f48 r6:c03b8a18 r5:00008000 r4:00000000
[<c00123c8>] (omap2_gp_timer_init+0x0/0x1dc) from [<c000fa34>] (time_init+0x20/0x24)
 r7:c03b5ca8 r6:c0028000 r5:c03e1920 r4:cccccccd
[<c000fa14>] (time_init+0x0/0x24) from [<c0008ac8>] (start_kernel+0x148/0x2a0)
[<c0008980>] (start_kernel+0x0/0x2a0) from [<80008034>] (0x80008034)
 r6:c0028ea8 r5:c03e22d8 r4:10c52879
Code: bad PC value.
<4>---[ end trace 088dd7e4458cc4be ]---
<0>Kernel panic - not syncing: Attempted to kill the idle task!