====== What you need ====== You should have a Linux PC running some kind of Debian. I took Debian Sarge and installed it into a virtual machine "qemu". This makes things much more safe, because you will not get an untidy desktop system if something went wrong inside the VM. You need a working internet connection from the system you are compiling at. ====== Get a CHROOT environment ====== * Get the latest version: ''wget http://www.voyage.hk/download/voyage/voyage-current.tar.bz2'' * Unpack it: ''tar xzvf voyage-current.tar.gz'' * Install debootstrap utility: ''apt-get install debootstrap'' * Enter the directory: ''cd voyage-current'' * Get the chroot environment: ''./debootstrap.voyage.sh'' * Create a script ''enter_chroot.sh'' that mounts a few needed things: #!/bin/sh cd voyage-install mount -t proc /proc ./proc mount --bind /usr/src ./usr/src/ chroot . /bin/bash umount -lf ./usr/src/ umount -lf ./proc/ * You can use the chroot by calling the script (set execute rights) ===== Compiling the Kernel ===== * Use the directory ''/usr/src'' that is available from the chroot and the normal system: ''cd /usr/src'' * Follow the instructions in this wiki that explain how to get the kernel source to ''/usr/src'' * Enter the chroot: ''./enter_chroot.sh'' * Inside the chroot try to compile the Kernel, follow the instructions from this wiki on how to do that. I used the command ''make-kpkg kernel-image --rootcmd fakeroot'' without any additional extra version information. * In my case compilation did not went well, so i continued the compilation outside the chroot from the main system and got the *.deb packet. ===== Using the kernel to compiled modules like madwifi ===== * Enter the chroot * download madwifi sources * make KERNELPATH=/usr/src/kernel-sources... * copy the *.ko modules you need to your system board and try to insmod them