Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I've used the Yocto project to build a simple linux for my Beagleboard xM (Rev C). I used the "beagleboard" machine setting and a "core-image-basic" recipe. I don't need a GUI or any dev tools, just support for the onboard network hardware plus additional USB-Ethernet adaptors.
The build works OK, and I managed to set up my micro SD card and get it to boot. I see lots of messages about loading drivers during boot, and I can log in to Linux.
However, the USB devices don't seem to be working. The built-in USB-Ethernet gadget isn't there, and when I plug in a USB stick nothing happens - nothing in /dev/ and no messages in the system log.
I don't know whether this is something I missed in the build, or some configuration I need to do. I also don't know whether it is specific to the Beagle or a general problem. Unfortunately I am new to Kernel builds and device drivers.
Here's what I've checked:
The boot-up messages indicate that the USB drivers are loaded, e.g.:
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbcore: registered new interface driver smsc75xx
usbcore: registered new interface driver smsc95xx
(I think smsc95xx is the USB-Ethernet chip on the Beagleboard xM).
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap: OMAP-EHCI Host Controller driver
ehci-omap 48064800.ehci: EHCI Host Controller
ehci-omap 48064800.ehci: new USB bus registered, assigned bus number 1
ehci-omap 48064800.ehci: irq 93, io mem 0x48064800
ehci-omap 48064800.ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
usbcore: registered new interface driver usb-storage
musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -6
mousedev: PS/2 mouse device common for all mice
There's a modprobe error which occurs a couple of times:
udevd: starting version 175
modprobe: chdir(3.10.11-yocto-standard): No such file or directory
I also saw errors from the ethernet subsystem (?), along the lines of "eth0: device not found" and "usb0: device not found". This occurred during boot and also when I used "ifup eth0". I'm actually seeing a different error now: "ifconfig: SIOCGIFFLAGS: No such device". In either case, I think it's because something to do with the actual USB hardware is missing or not configured.
"lsmod" shows no modules loaded, i.e.:
Module Size Used by
Does this mean that the various device drivers, etc, above are built in to the kernel?
Any suggestions for how to diagnose / fix this problem? Anybody else have experience with the BeagleBoard xM or similar?
It may be a configuration file I need to edit, or a service I need to start... I'm a bit lost.