Wiki
Clone wikiARDroneTools / Home
How to build a kernel module for the ARDone 2.0
Resources
https://bitbucket.org/multidest/ardronetools/wiki/Resources
First create a directory for your toolkit
#!bash cd ~ mkdir ardtool
Then download and extract the buildroot, ardrone-toolchain, and linux tar files to a directory.
#!bash
wget https://bitbucket.org/multidest/ardronetools/downloads/buildroot-2013.11.tar.gz
wget https://bitbucket.org/multidest/ardronetools/downloads/ardrone-toolchain.tar.xz
wget https://bitbucket.org/multidest/ardronetools/downloads/linux.tar.gz
wget https://bitbucket.org/multidest/ardronetools/downloads/kernel.config.txt
wget https://bitbucket.org/multidest/ardronetools/downloads/buildscript
wget https://bitbucket.org/multidest/ardronetools/downloads/buildroot.config.txt
mkdir buildroot
tar xf buildroot-2013.11.tar.gz -C ./buildroot
tar xf ardrone-toolchain.tar.xz
mkdir linux
tar xf linux.tar.gz -C ./linux
Edit buildscript to point to the location of your files and give execute permisions.
#!bash
vi buildscript
chmod +x buildscript
Copy the kernel .config and buildroot .config to there respective root directories.
#!bash
cp kernel.config.txt ./linux/.config
cp buildroot.config.txt ./buildroot/.config
Edit buildroot .config at the line that says BR2_TOOLCHAIN_EXTERNAL_PATH= to point to your files
#!bash
vi ./buildroot/.config
Goto the linux directory and run the buildscript.
#!bash cd linux ../builscript
I made some modifications to the files to get the arduino micro to talk to the cdc-acm.ko modules. You can check those changes out from this projects git repo.
Updated