Beagle Board XM Rev C

I have tried many kernels and configurations and can not get the USB
or Ethernet working on the beagle board xm rev c.

I am now running 3.0.6-gentoo and get the following errors as shown
below.

I built my kernel using the omap2plus_defconfig, and selected the usb
networking driver for the smsc95xx device and also selected the
EHCI_HCD usb hub driver.

localhost ~ # ifconfig usb0 up
usb0: ERROR while getting interface flags: No such device

localhost ~ # ifconfig usb1 up
usb1: ERROR while getting interface flags: No such device

localhost ~ # ifconfig eth0 up
eth0: ERROR while getting interface flags: No such device

localhost ~ # uname -a
Linux localhost 3.0.6-gentoo #3 SMP Tue Oct 25 10:36:36 BST 2011
armv7l ARMv7

Processor rev 2 (v7l) OMAP3 Beagle Board GNU/Linux
localhost ~ # dmesg -c
[ 0.000000] Linux version 3.0.6-gentoo (root@testing-ubuntu) (gcc
version
4.3.5 (crosstool-NG-1.9.1) ) #3 SMP Tue Oct 25 10:36:36 BST 2011
[ 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: OMAP3 Beagle Board
[ 0.000000] Reserving 12582912 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size:
0x10000
[ 0.000000] On node 0 totalpages: 128000
[ 0.000000] free_area_init_node: node 0, pgdat c0673640,
node_mem_map
c0bca000
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 126976 pages, LIFO batch:31
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
[ 0.000000] Reprogramming SDRC clock to 332000000 Hz
[ 0.000000] PERCPU: Embedded 7 pages/cpu @c0fd2000 s5984 r8192
d14496
u32768
[ 0.000000] pcpu-alloc: s5984 r8192 d14496 u32768 alloc=8*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total
pages: 126976
[ 0.000000] Kernel command line: console=ttyS2,115200n8 mpurate=500
vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapfb.debug=y
omapdss.def_disp=dvi
root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
[ 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: 500MB = 500MB total
[ 0.000000] Memory: 495376k/495376k available, 28912k 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 - 0xc0054000 ( 304 kB)
[ 0.000000] .text : 0xc0054000 - 0xc05f3960 (5759 kB)
[ 0.000000] .data : 0xc05f4000 - 0xc0674a60 ( 515 kB)
[ 0.000000] .bss : 0xc0674a84 - 0xc0bc99e4 (5460 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:410
[ 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] omap_hwmod: gpt12_fck: missing clockdomain for
gpt12_fck.
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns,
wraps every
131071999ms
[ 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.000885] Calibrating delay loop... 493.67 BogoMIPS (lpj=1929216)
[ 0.071441] pid_max: default: 32768 minimum: 301
[ 0.072143] Security Framework initialized
[ 0.072509] Mount-cache hash table entries: 512
[ 0.076507] CPU: Testing write buffer coherency: ok
[ 0.079071] Brought up 1 CPUs
[ 0.079101] SMP: Total of 1 processors activated (493.67 BogoMIPS).
[ 0.092620] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for
l4_core
[ 0.092651] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for
l4_per
[ 0.092681] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for
l4_wkup
[ 0.106597] omap_hwmod: i2c1: softreset failed (waited 10000 usec)
[ 0.118988] omap_hwmod: i2c2: softreset failed (waited 10000 usec)
[ 0.131286] omap_hwmod: i2c3: softreset failed (waited 10000 usec)
[ 0.136688] print_constraints: dummy:
[ 0.137847] NET: Registered protocol family 16
[ 0.138977] GPMC revision 5.0
[ 0.147216] omap_device: omap_gpio.0: new worst case activate
latency 0:
91552
[ 0.149719] OMAP GPIO hardware version 2.5
[ 0.151214] OMAP GPIO hardware version 2.5
[ 0.152526] OMAP GPIO hardware version 2.5
[ 0.153778] OMAP GPIO hardware version 2.5
[ 0.155029] OMAP GPIO hardware version 2.5
[ 0.156616] OMAP GPIO hardware version 2.5
[ 0.164367] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.166870] OMAP3 Beagle Rev: unknown 2
[ 0.175079] omap_device: omap_uart.0: new worst case activate
latency 0:
30517
[ 0.182281] Found NAND on CS0
[ 0.182312] Registering NAND on CS0
[ 0.183349] gpio_request: gpio--22 (DVI reset) status -22
[ 0.183349] Unable to get DVI reset GPIO
[ 0.183654] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.279296] Switched to new clocking rate (Crystal/Core/MPU):
26.0/332/500
MHz
[ 0.280822] OMAP DMA hardware revision 5.0
[ 0.353454] bio: create slab <bio-0> at 0
[ 0.364166] SCSI subsystem initialized
[ 0.364837] omap_device: omap2_mcspi.1: new worst case activate
latency 0:
30517
[ 0.369628] omap_device: omap2_mcspi.4: new worst case deactivate
latency
0: 30517
[ 0.373870] usbcore: registered new interface driver usbfs
[ 0.375152] usbcore: registered new interface driver hub
[ 0.376159] usbcore: registered new device driver usb
[ 0.378540] omap_device: omap_i2c.1: new worst case activate
latency 0:
30517
[ 0.378753] omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz
[ 0.391082] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 0.391265] twl4030: power (irq 373) chaining IRQs 376..383
[ 0.393432] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 0.406005] print_constraints: VMMC1: 1850 <--> 3150 mV at 3000 mV
normal
standby
[ 0.408508] print_constraints: VDAC: 1800 mV normal standby
[ 0.411407] print_constraints: VDVI: 1800 mV normal standby
[ 0.414031] print_constraints: VSIM: 1800 <--> 3000 mV at 1800 mV
normal
standby
[ 0.414764] omap_device: omap_i2c.1: new worst case deactivate
latency 0:
30517
[ 0.415069] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
[ 0.426391] Switching to clocksource 32k_counter
[ 0.428619] Switched to NOHz mode on CPU #0
[ 0.547180] NET: Registered protocol family 2
[ 0.548095] IP route cache hash table entries: 4096 (order: 2,
16384 bytes)
[ 0.550231] TCP established hash table entries: 16384 (order: 5,
131072
bytes)
[ 0.551086] TCP bind hash table entries: 16384 (order: 7, 589824
bytes)
[ 0.561004] TCP: Hash tables configured (established 16384 bind
16384)
[ 0.561126] TCP reno registered
[ 0.561157] UDP hash table entries: 256 (order: 2, 20480 bytes)
[ 0.561492] UDP-Lite hash table entries: 256 (order: 2, 20480
bytes)
[ 0.562622] NET: Registered protocol family 1
[ 0.564178] RPC: Registered named UNIX socket transport module.
[ 0.564208] RPC: Registered udp transport module.
[ 0.564208] RPC: Registered tcp transport module.
[ 0.564239] RPC: Registered tcp NFSv4.1 backchannel transport
module.
[ 0.565216] NetWinder Floating Point Emulator V0.97 (double
precision)
[ 0.764770] VFS: Disk quotas dquot_6.5.2
[ 0.765167] Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 0.768218] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red
Hat, Inc.
[ 0.769592] msgmni has been set to 967
[ 0.774475] io scheduler noop registered
[ 0.774505] io scheduler deadline registered
[ 0.774780] io scheduler cfq registered (default)
[ 0.776153] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.784484] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a
OMAP
UART0
[ 0.786956] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a
OMAP
UART1
[ 0.788421] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a
OMAP
UART2
[ 0.789764] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a
OMAP
UART3
[ 0.834136] brd: module loaded
[ 0.853332] loop: module loaded
[ 0.855377] omap_device: omap_i2c.1: new worst case activate
latency 0:
183105
[ 0.864257] mtdoops: mtd device (mtddev=name/number) must be
supplied
[ 0.864379] omap2-nand driver initializing
[ 0.865325] No NAND device found.
[ 0.865570] No NAND device found.
[ 0.866607] OneNAND driver initializing
[ 0.874267] usbcore: registered new interface driver cdc_ether
[ 0.874999] usbcore: registered new interface driver smsc95xx
[ 0.876983] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver
[ 0.877014] ehci_hcd: block sizes: qh 64 qtd 96 itd 160 sitd 96
[ 0.877502] ehci-omap ehci-omap.0: failed to get ehci port0
regulator
[ 0.877532] ehci-omap ehci-omap.0: failed to get ehci port1
regulator
[ 1.880096] ehci-omap ehci-omap.0: phy reset operation timed out
[ 2.887908] ehci-omap ehci-omap.0: phy reset operation timed out
[ 2.887939] ehci-omap ehci-omap.0: reset hcs_params 0x1313 dbg=0
cc=1 pcc=3
ordered ports=3
[ 2.887969] ehci-omap ehci-omap.0: reset hcc_params 0016 thresh 1
uframes
256/512/1024 park
[ 2.888000] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 2.889862] drivers/usb/core/inode.c: creating file 'devices'
[ 2.890258] drivers/usb/core/inode.c: creating file '001'
[ 2.893341] ehci-omap ehci-omap.0: new USB bus registered, assigned
bus
number 1
[ 2.893829] ehci-omap ehci-omap.0: park 0
[ 2.893920] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 2.893951] ehci-omap ehci-omap.0: reset command 0080b02 park=3
ithresh=8
period=1024 Reset HALT
[ 2.894012] ehci-omap ehci-omap.0: init command 0010005 (park)=0
ithresh=1
period=512 RUN
[ 2.903747] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 2.904998] usb usb1: default language 0x0409
[ 2.905151] usb usb1: udev 1, busnum 1, minor = 0
[ 2.905151] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002
[ 2.905181] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 2.905212] usb usb1: Product: OMAP-EHCI Host Controller
[ 2.905242] usb usb1: Manufacturer: Linux 3.0.6-gentoo ehci_hcd
[ 2.905242] usb usb1: SerialNumber: ehci-omap.0
[ 2.908142] usb usb1: usb_probe_device
[ 2.908172] usb usb1: configuration #1 chosen from 1 choice
[ 2.908935] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 2.910522] hub 1-0:1.0: usb_probe_interface
[ 2.910552] hub 1-0:1.0: usb_probe_interface - got id
[ 2.910614] hub 1-0:1.0: USB hub found
[ 2.910827] hub 1-0:1.0: 3 ports detected
[ 2.910858] hub 1-0:1.0: standalone hub
[ 2.910888] hub 1-0:1.0: individual port power switching
[ 2.910888] hub 1-0:1.0: individual port over-current protection
[ 2.910919] hub 1-0:1.0: power on to power good time: 20ms
[ 2.911621] hub 1-0:1.0: local power source is good
[ 2.911651] hub 1-0:1.0: enabling power on all ports
[ 2.914031] drivers/usb/core/inode.c: creating file '001'
[ 2.914611] ehci-omap ehci-omap.0: ...powerup ports...
[ 2.944091] usbcore: registered new interface driver cdc_wdm
[ 2.944122] Initializing USB Mass Storage driver...
[ 2.944885] usbcore: registered new interface driver usb-storage
[ 2.944915] USB Mass Storage support registered.
[ 2.946441] usbcore: registered new interface driver libusual
[ 2.947235] usbcore: registered new interface driver usbtest
[ 2.951019] mousedev: PS/2 mouse device common for all mice
[ 2.954010] input: gpio-keys as /devices/platform/gpio-keys/input/
input0
[ 2.964569] input: twl4030_pwrbutton as
/devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/
input1
[ 2.971038] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 2.971374] twl_rtc twl_rtc: Power up reset detected.
[ 2.972229] twl_rtc twl_rtc: Enabling TWL-RTC.
[ 2.974517] i2c /dev entries driver
[ 2.978546] Driver for 1-wire Dallas network protocol.
[ 2.980865] omap_device: omap_wdt.-1: new worst case activate
latency 0:
30517
[ 2.983062] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 2.984344] twl4030_wdt twl4030_wdt: Failed to register misc device
[ 2.984405] twl4030_wdt: probe of twl4030_wdt failed with error -16
[ 3.001251] usbcore: registered new interface driver usbhid
[ 3.001281] usbhid: USB HID core driver
[ 3.001312] oprofile: hardware counters not available
[ 3.001312] oprofile: using timer interrupt.
[ 3.002044] TCP cubic registered
[ 3.002075] Initializing XFRM netlink socket
[ 3.002227] NET: Registered protocol family 17
[ 3.002349] NET: Registered protocol family 15
[ 3.002716] Registering the dns_resolver key type
[ 3.003295] VFP support v0.3: implementor 41 architecture 3 part 30
variant
c rev 3
[ 3.003356] ThumbEE CPU extension supported.
[ 3.014831] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
[ 3.058044] clock: disabling unused clocks to save power
[ 3.063812] regulator_init_complete: VDVI: incomplete constraints,
leaving
on
[ 3.064086] regulator_init_complete: VDAC: incomplete constraints,
leaving
on
[ 3.065216] twl_rtc twl_rtc: setting system clock to 2000-01-01
00:00:00
UTC (946684800)
[ 3.066162] Warning: unable to open an initial console.
[ 3.068176] Waiting for root device /dev/mmcblk0p2...
[ 3.255310] mmc0: new SDHC card at address 239c
[ 3.259216] mmcblk0: mmc0:239c SD04G 3.69 GiB
[ 3.266174] mmcblk0: p1 p2
[ 3.294860] EXT3-fs: barriers not enabled
[ 3.296966] kjournald starting. Commit interval 5 seconds
[ 3.297515] EXT3-fs (mmcblk0p2): warning: maximal mount count
reached,
running e2fsck is recommended
[ 3.301818] EXT3-fs (mmcblk0p2): using internal journal
[ 3.302581] EXT3-fs (mmcblk0p2): mounted filesystem with ordered
data mode
[ 3.303070] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 3.303344] Freeing init memory: 304K
[ 5.013366] hub 1-0:1.0: hub_suspend
[ 5.013916] usb usb1: bus auto-suspend
[ 5.013946] ehci-omap ehci-omap.0: suspend root hub
[ 12.173339] udev[775]: starting version 164
[ 16.974151] ------------[ cut here ]------------
[ 16.974212] WARNING: at kernel/irq/handle.c:130
handle_irq_event_percpu+0x1d4/0x208()
[ 16.974273] irq 379 handler twl_rtc_interrupt+0x0/0xa4 enabled
interrupts
[ 16.974273] Modules linked in: snd_soc_twl4030 snd_soc_core snd_pcm
snd_timer snd soundcore snd_page_alloc
[ 16.974395] [<c0066ff0>] (unwind_backtrace+0x0/0xf4) from
[<c009d0a0>]
(warn_slowpath_common+0x4c/0x64)
[ 16.974426] [<c009d0a0>] (warn_slowpath_common+0x4c/0x64) from
[<c009d14c>]
(warn_slowpath_fmt+0x30/0x40)
[ 16.974456] [<c009d14c>] (warn_slowpath_fmt+0x30/0x40) from
[<c00e6140>]
(handle_irq_event_percpu+0x1d4/0x208)
[ 16.974517] [<c00e6140>] (handle_irq_event_percpu+0x1d4/0x208) from
[<c00e61b0>] (handle_irq_event+0x3c/0x5c)
[ 16.974548] [<c00e61b0>] (handle_irq_event+0x3c/0x5c) from
[<c00e86a0>]
(handle_edge_irq+0xac/0x178)
[ 16.974578] [<c00e86a0>] (handle_edge_irq+0xac/0x178) from
[<c00e5b2c>]
(generic_handle_irq+0x34/0x50)
[ 16.974639] [<c00e5b2c>] (generic_handle_irq+0x34/0x50) from
[<c02e248c>]
(handle_twl4030_sih+0x98/0xdc)
[ 16.974670] [<c02e248c>] (handle_twl4030_sih+0x98/0xdc) from
[<c00e5b2c>]
(generic_handle_irq+0x34/0x50)
[ 16.974700] [<c00e5b2c>] (generic_handle_irq+0x34/0x50) from
[<c02e1ce8>]
(twl4030_irq_thread+0xa4/0x138)
[ 16.974761] [<c02e1ce8>] (twl4030_irq_thread+0xa4/0x138) from
[<c00bd018>]
(kthread+0x7c/0x84)
[ 16.974792] [<c00bd018>] (kthread+0x7c/0x84) from [<c0060cf4>]
(kernel_thread_exit+0x0/0x8)
[ 16.974822] ---[ end trace 6c63ebe3c12b0ba5 ]---