!CONFIG_OMAP_32K_TIMER on OMAP4/panda

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a linux-next kernel built for the Pandaboard, disabling
CONFIG_OMAP_32K_TIMER makes the kernel use the gptimer as the
clocksource, but this appears to be non-functional.  Judging from the
all-zeros printk timings and the fact the "sleep 1" hangs indefinitely,
it looks like the clocksource reads are always zero.

Boot log below and .config attached.  Ideas?

[    0.000000] Linux version 2.6.39-rc6-next-20110506+ (rabin@debian)
(gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #183 PREEMPT Sat
May 7 22:02:42 IST 2011
[    0.000000] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: OMAP4 Panda board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] OMAP4430 ES2.1
[    0.000000] SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0xe000
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0192ad8,
node_mem_map c01db000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 130048 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 130048
[    0.000000] Kernel command line: console=ttyO2,115200 early_printk
debug mem=512M
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 512640k/512640k available, 11648k 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 : 0xe0800000 - 0xf8000000   ( 376 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0024000   ( 112 kB)
[    0.000000]       .text : 0xc0024000 - 0xc0170cec   (1332 kB)
[    0.000000]       .data : 0xc0172000 - 0xc0193100   ( 133 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:410
[    0.000000] omap_hwmod: dpll_mpu_m2_ck: missing clockdomain for
dpll_mpu_m2_ck.
[    0.000000] OMAP clockevent source: GPTIMER1 at 38400000 Hz
[    0.000000] sched_clock: 32 bits at 38MHz, resolution 26ns, wraps
every 111848ms
[    0.000000] Calibrating delay loop... 2007.04 BogoMIPS (lpj=10035200)
[    0.000000] pid_max: default: 32768 minimum: 301
[    0.000000] Mount-cache hash table entries: 512
[    0.000000] CPU: Testing write buffer coherency: ok
[    0.000000] L310 cache controller enabled
[    0.000000] l2x0: 16 ways, CACHE_ID 0x410000c4, AUX_CTRL
0x7e470000, Cache size: 1048576 B
[    0.000000] devtmpfs: initialized
[    0.000000] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for emif_fw
[    0.000000] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l3_instr
[    0.000000] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l3_main_1
[    0.000000] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l3_main_2
[    0.000000] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_abe
[    0.000000] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_cfg
[    0.000000] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_per
[    0.000000] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_wkup
[    0.000000] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for mpu_private
[    0.000000] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for dsp
[    0.000000] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for ipu
[    0.000000] omap_hwmod: l3_div_ck: missing clockdomain for l3_div_ck.
[    0.000000] omap_hwmod: dss_dispc: softreset failed (waited 10000 usec)
[    0.000000] omap_hwmod: dss_rfbi: softreset failed (waited 10000 usec)
[    0.000000] omap_hwmod: ipu: failed to hardreset
[    0.000000] print_constraints: dummy:
[    0.000000] GPMC revision 6.0
[    0.000000] OMAP GPIO hardware version 0.1
[    0.000000] OMAP GPIO hardware version 0.1
[    0.000000] OMAP GPIO hardware version 0.1
[    0.000000] OMAP GPIO hardware version 0.1
[    0.000000] OMAP GPIO hardware version 0.1
[    0.000000] OMAP GPIO hardware version 0.1
[    0.000000] omap_mux_init: Add partition: #1: core, flags: 2
[    0.000000] omap_mux_init: Add partition: #2: wkup, flags: 2
[    0.000000] error setting wl12xx data
[    0.000000] Failed omap4_twl6030_hsmmc_set_late_init
[    0.000000] Failed omap4_twl6030_hsmmc_set_late_init
[    0.000000] OMAP DMA hardware revision 0.0
[    0.000000] print_constraints: vwl1271: 1800 mV
[    0.000000] omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
[    0.000000] Skipping twl internal clock init and using bootloader
value (unknown osc rate)
[    0.000000] twl6030: PIH (irq 39) chaining IRQs 368..387
[    0.000000] print_constraints: VMMC: 1200 <--> 3000 mV at 1800 mV
normal standby
[    0.000000] print_constraints: VPP: 1800 <--> 2500 mV at 1900 mV
normal standby
[    0.000000] print_constraints: VANA: 2100 mV normal standby
[    0.000000] print_constraints: VCXIO: 1800 mV normal standby
[    0.000000] print_constraints: VDAC: 1800 mV normal standby
[    0.000000] print_constraints: VAUX2_6030: 1200 <--> 2800 mV at
1800 mV normal standby
[    0.000000] print_constraints: VAUX3_6030: 1000 <--> 3000 mV at
1200 mV normal standby
[    0.000000] print_constraints: CLK32KG:
[    0.000000] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
[    0.000000] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
[    0.000000] omap_i2c omap_i2c.4: bus 4 rev4.0 at 400 kHz
[    0.000000] Switching to clocksource gp timer
[    0.000000] Unpacking initramfs...
[    0.000000] Freeing initrd memory: 5208K
[    0.000000] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0
[    0.000000] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1
[    0.000000] omap_uart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2
[    0.000000] console [ttyO2] enabled
[    0.000000] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3
[    0.000000] i2c /dev entries driver
[    0.000000] OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
[    0.000000] Registered led device: pandaboard::status1
[    0.000000] Registered led device: pandaboard::status2
[    0.000000] VFP support v0.3: implementor 41 architecture 3 part 30
variant 9 rev 1
[    0.000000] Power Management for TI OMAP4.
[    0.000000] clock: disabling unused clocks to save power
[    0.000000] Kernel not built with RTC support, ALARM timers will
not wake from suspend
[    0.000000] regulator_init_complete: VDAC: incomplete constraints, leaving on
[    0.000000] regulator_init_complete: VCXIO: incomplete constraints,
leaving on
[    0.000000] regulator_init_complete: VANA: incomplete constraints, leaving on
[    0.000000] Freeing init memory: 112K

Attachment: gptimer-config
Description: Binary data


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux