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.

[AM3517] 2.6.37: DaVinci EMAC: Failed to get EMAC clock

Other Parts Discussed in Thread: AM3517

Hi, all...

I am attempting to build a kernel for the AM3517 EVM directly from mainline (2.6.37 stable).  All appears well, except that the Davinci EMAC clock failed to register.  See end of message for my kernel log.

Used omap2plus_defconfig, with only one changed: enable CONFIG_TI_DAVINCI_EMAC  (TI Davinci EMAC Support)

I also tried disabling CONFIG_OMAP_RESET_CLOCKS (Reset unused clocks during boot), to no avail.

Thanks in advance for your help.

Regards,

Peter

P.S. Why am I not using TI's pre-packaged release (2.6.32)?  Trying to do a performance comparison with another ARM processor that is supported in 2.6.37.

=====================================

[    0.000000] Linux version 2.6.37 (root@UbuntuPete) (gcc version 4.4.5 (Buildroot 2010.11) ) #29 SMP Tue Feb 8 15:57:14 PST 2011
[    0.000000] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: OMAP3517/AM3517 EVM
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM3517 ES1.0 (l2cache iva sgx neon isp )
[    0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[    0.000000] PERCPU: Embedded 7 pages/cpu @c0d2f000 s6080 r8192 d14400 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=10.234.249.16:/export/rootfs.a8 ip=dhcp
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 248416k/248416k available, 13728k 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 : 0xd0800000 - 0xf8000000   ( 632 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc004a000   ( 264 kB)
[    0.000000]       .text : 0xc004a000 - 0xc05607c4   (5210 kB)
[    0.000000]       .data : 0xc0562000 - 0xc05d0640   ( 442 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU-based detection of stalled CPUs is disabled.
[    0.000000] NR_IRQS:402
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
[    0.000000] Reprogramming SDRC clock to 332000000 Hz
[    0.000000] dpll3_m2_clk rate change failed: -22
[    0.000000] GPMC revision 5.0
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[    0.000000] Total of 96 interrupts on 1 active controller
[    0.000000] Could not get gpios_ick
[    0.000000] Could not get gpios_fck
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     16384
[    0.000000] ... MAX_LOCKDEP_CHAINS:      32768
[    0.000000] ... CHAINHASH_SIZE:          16384
[    0.000000]  memory used by lock dependency info: 3695 kB
[    0.000000]  per task-struct memory footprint: 1152 bytes
[    0.000000] Calibrating delay loop... 497.82 BogoMIPS (lpj=1941504)
[    0.000000] pid_max: default: 32768 minimum: 301
[    0.000000] Security Framework initialized
[    0.000000] Mount-cache hash table entries: 512
[    0.000000] CPU: Testing write buffer coherency: ok
[    0.000000] Brought up 1 CPUs
[    0.000000] SMP: Total of 1 processors activated (497.82 BogoMIPS).
[    0.000000] regulator: core version 0.5
[    0.000000] regulator: dummy:
[    0.000000] NET: Registered protocol family 16
[    0.000000] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.000000] OMAP DMA hardware revision 4.0
[    0.069366] bio: create slab <bio-0> at 0
[    0.080383] SCSI subsystem initialized
[    0.089477] usbcore: registered new interface driver usbfs
[    0.091003] usbcore: registered new interface driver hub
[    0.091979] usbcore: registered new device driver usb
[    0.105346] i2c_omap i2c_omap.1: bus 1 rev3.12 at 400 kHz
[    0.120452] i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
[    0.136108] i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
[    0.149200] Switching to clocksource 32k_counter
[    0.283538] NET: Registered protocol family 2
[    0.284606] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.286987] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.287567] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
[    0.293487] TCP: Hash tables configured (established 8192 bind 8192)
[    0.293609] TCP reno registered
[    0.293670] UDP hash table entries: 128 (order: 1, 10240 bytes)
[    0.294097] UDP-Lite hash table entries: 128 (order: 1, 10240 bytes)
[    0.295318] NET: Registered protocol family 1
[    0.297119] RPC: Registered udp transport module.
[    0.297149] RPC: Registered tcp transport module.
[    0.297149] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.298797] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.490997] VFS: Disk quotas dquot_6.5.2
[    0.491363] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.494934] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.496520] msgmni has been set to 485
[    0.502655] io scheduler noop registered
[    0.502685] io scheduler deadline registered
[    0.502990] io scheduler cfq registered (default)
[    0.508941] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.519195] omap-hsuart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[    0.521270] omap-hsuart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[    0.522857] omap-hsuart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[    1.052032] console [ttyO2] enabled
[    1.105926] brd: module loaded
[    1.133453] loop: module loaded
[    1.145446] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.152648] omap2-nand driver initializing
[    1.158142] OneNAND driver initializing
[    1.169830] davinci_mdio davinci_mdio.0: failed to get device clock
[    1.178222] usbcore: registered new interface driver asix
[    1.184906] usbcore: registered new interface driver cdc_ether
[    1.191894] usbcore: registered new interface driver net1080
[    1.198669] usbcore: registered new interface driver cdc_subset
[    1.205718] usbcore: registered new interface driver zaurus
[    1.214965] usbcore: registered new interface driver cdc_wdm
[    1.221069] Initializing USB Mass Storage driver...
[    1.227020] usbcore: registered new interface driver usb-storage
[    1.233489] USB Mass Storage support registered.
[    1.239959] usbcore: registered new interface driver libusual
[    1.246978] usbcore: registered new interface driver usbtest
[    1.253051] udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma)
[    1.264251] mice: PS/2 mouse device common for all mice
[    1.276062] i2c /dev entries driver
[    1.286376] Driver for 1-wire Dallas network protocol.
[    1.294525] omap_device: omap_wdt.-1: new worst case activate latency 0: 122070
[    1.304626] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[    1.311248] omap_device: omap_wdt.-1: new worst case deactivate latency 0: 30517
[    1.327728] usbcore: registered new interface driver usbhid
[    1.333801] usbhid: USB HID core driver
[    1.337890] oprofile: hardware counters not available
[    1.343170] oprofile: using timer interrupt.
[    1.348571] TCP cubic registered
[    1.351959] Initializing XFRM netlink socket
[    1.356719] NET: Registered protocol family 17
[    1.361602] NET: Registered protocol family 15
[    1.366851] Registering the dns_resolver key type
[    1.372528] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[    1.382171] ThumbEE CPU extension supported.
[    1.397003] Power Management for TI OMAP3.
[    1.438079] clock: disabling unused clocks to save power
[    1.451110] DaVinci EMAC: Failed to get EMAC clock
[    1.456726] davinci_emac: probe of davinci_emac failed with error -16