Hi all,
I'm running Chris Boot's Debian Wheezy on my Pi. Until recently I've used his kernel packages but now have a requirement to compile my own.
Chris has some nice instructions on his website for building an Arm Cross-Compiler (http://www.bootc.net/archives/2012/05/26/how-to-build-a-cross-compiler-for-your-raspberry-pi/). I've successfully followed these and now have a Pi compatible compiler on a PC. Next I've extracted the .config from my active Pi but the next steps elude me.
I assume I want the kernel from git://github.com/raspberrypi/linux.git, rather than the stock linux kernel?
Next, copy in the .config and run:
make ARCH=arm CROSS_COMPILE=path/to/armgcc oldconfig
make ARCH=arm CROSS_COMPILE=path/to/armgcc menuconfig
Normally I'd then run make-kpkg to compile the kernel into a Debian Package but I can't find any information on this step or any prerequisites to it. I'd really appreciate some guidance.
Steve
Kernel Cross Compilation on Wheezy
2 posts
- Posts: 3
- Joined: Mon Oct 29, 2012 8:55 am
Hey Steve,
Try this link
http://wiki.gentoo.org/wiki/Raspberry_Pi
It will give u little bit more detail how to compile the resources and how to generate kernel.img.
I followed all this, everything goes fine. Kernel boots up successfully but it failed to load any module even keyboard and mouse are not working. Try this and share with me if u have the same problem.
Regards,
Zia
Try this link
http://wiki.gentoo.org/wiki/Raspberry_Pi
It will give u little bit more detail how to compile the resources and how to generate kernel.img.
I followed all this, everything goes fine. Kernel boots up successfully but it failed to load any module even keyboard and mouse are not working. Try this and share with me if u have the same problem.
Regards,
Zia
- Posts: 10
- Joined: Thu Oct 18, 2012 6:39 am