1
Debian / Kernel Conf File For Kernel 2.6.24.4-yonggun
« on: July 01, 2008, 04:58:45 pm »Quote from: abm_y4k
Hi,
I've successfully recompiled the kernel and the hostap driver for injection with firmware upgradeable.
It seems hard to find a proper way to do the cross compile so I'll like to share my steps with you all.
Code: [Select]wget http://www.codesourcery.com/gnu_toolchains/arm/portal/package2549/public/arm-none-linux-gnueabi/arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linu
x-gnu.tar.bz2
tar xjf arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
mv arm-2008q1 /usr/local
export PATH=/usr/local/arm-2008q1/bin/:$PATH
cd /usr/src
*download the kernel conf and patch file from http://yonggun.tistory.com/66
*save the kernel source to /usr/src
tar zxvf kernel-2.6.6.24.4.tar.gz
mv config linux-2.6.24.4/.config
cd /usr/src/linux-2.6.24.4
make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
make modules ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
make modules_install
* kernel should be in /usr/src/linux-2.6.24.4/arch/arm/boot/zImage
* modules should be in /lib/modules/
* make sure flash the kernel with the newly built modules
This might be very helpful for many ppl, forum admin should consider sticky this.
Thanks,
Been looking for this for such a long time , will give it a try on the weekend.
Thanks so much!