Hi all!
I’ve recently bought a Beagle Board xM Rev C and i’m trying to build my own custom kernel. I’ve done the following steps:
- created a cross tool chain from crosstool-ng.org
- build my boot loader from ftp://ftp.denx.de/pub/u-boot/u-boot-2011.12.tar.bz2 (make omap3_beagle_config)
- created my initramfs file system from http://busybox.net/downloads/busybox-1.19.4.tar.bz2
- Downloaded the 3.2.7 kernel sources from http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.7.tar.bz2 and applies patches:
- 0025-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch
- patches/add_qosmos_board_to_omap3beagle_bsp.patch
- And a rootfs file system from http://buildroot.uclibc.org/downloads/buildroot-2012.02.tar.gz
I’ve written (I think that rcnelson wrote it) that there’s no more specific config file for the beagleboard in arch/arm/configs/ folder . That, instead, the most suitable file for Bb should be the omap2plus_defconfig file. So i used this file to build the kernel, created my modules, installed them on the rootfs filesystem and launched Bb with the new kernel.
It seems to work correctly (no errors during the boot), but when i try to load any of the gadget modules (http://www.linux-usb.org/gadget/ ) , i get an error message.
Here an example:
beagle# modprobe -l | grep gadget
kernel/drivers/usb/gadget/omap_udc.ko
kernel/drivers/usb/gadget/g_zero.ko
kernel/drivers/usb/gadget/g_ether.ko
kernel/drivers/usb/gadget/g_file_storage.ko
kernel/drivers/usb/gadget/g_mass_storage.ko
kernel/drivers/usb/gadget/g_serial.ko
beagle# modprobe g_serial
modprobe: can’t load module g_serial (kernel/drivers/usb/gadget/g_serial.ko): No such device
It happens with any gadget module i try to install. I want to test the Beagle board as a device for my PC/Host, and i just can’t get the way to load those gadget modules. Is there something i’m missing?? (From narcissus i’ve downloaded a beagle bone version with the option “All kernel modules” checked, and it works fine). Any Patch?? another module that should be installed?? they should be built-in modules?? Any Idea??
Thank you very much for your time and attention.
Bests
Natxo