This is more about what I've tried. I Download the CodeSourcery-lite cross compiling software and install. Add the 'bin' directory for the CodeSourcery tools to the path variable. I Downloaded and untarred 'ARDrone_Version_20100809_1_2-linux-2.6.27.tar.bz2'
from:
https://projects.ardrone.org/attachm...2.6.27.tar.bz2
Downloaded and untarred 'ARDrone_Version_20100809_1_2-kernel.config'
from:
https://projects.ardrone.org/documents/show/18
Go to directory 'linux-2.6.27' and copy the 'ARDrone_Version_20100809_1_2-kernel.config' file to '.config'. Go to the directory 'linux-2.6.27/drivers/parrot/usb/dwc_otg/' and edit the 'dwc_otg_driver.c' file as described in the link below, changing three lines:
http://embedded-software.blogspot.co...drone-usb.html
Go back to 'linux-2.6.27' and execute the command below:
Code:
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
This builds the kernel and the modules. Here is some of the output at the end of the compile showing the zImage and the modules created.
Code:
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 4 modules
CC drivers/block/loop.mod.o
LD [M] drivers/block/loop.ko
CC drivers/block/nbd.mod.o
LD [M] drivers/block/nbd.ko
CC drivers/parrot/mmc/p6_sdhci.mod.o
LD [M] drivers/parrot/mmc/p6_sdhci.ko
CC drivers/scsi/scsi_wait_scan.mod.o
LD [M] drivers/scsi/scsi_wait_scan.ko
$
The problem is that no dwc_otg.ko module is created. I did notice in the 'drivers/parrot/usb/dwc_otg/' folder a new file called 'built-in.o'. Is there a way to get the dwc_otg.ko file that I need in this situation??