Hi all TC's
As i stated in another thread, i start a new thread, hoping to guide me through the process of making my own kernel for my Raspberry PI.
I use this as my guideiance ::
http://elinux.org/RPi_Kernel_Compilation, but its not very detailed!
In section 2 Crosscompiling :
I have downloaded the
https://github.com/raspberrypi/tools/archive/master.tar.gz (tools-master)
Extracted it into (I renamed the tools-master to tools!), so my path for the cross-compiler is now :
CONFIG_CROSS_COMPILE="/home/jesper/rpi/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi-"
Now i get back to section 1, where compilation is explained :
1. Get the latest raspberrypi kernel source (
https://github.com/raspberrypi/linux)
This i did like :
mkdir ~/rpi3.11.y
cd rpi3.11.y
git init
git fetch git://github.com/raspberrypi/linux.git rpi-3.11.y:refs/remotes/origin/rpi-3.11.y
git checkout rpi-3.11.y
Now i grabbed the /proc/.config from Steens running PiCoreplayer V1.09, and pasted that into my rpi3.11.y directory.
(Actually i used SCP for grabbing it via my network)
Now i pasted my CONFIG_CROSS_COMPILE="/home/jesper/rpi/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi-" into the .config file (There is a line already for that)
Then i did make oldconfig ARCH=arm and then make menuconfig ARCH=arm
(-For testing right now, i just enabled some i2c stuff in kernel)
At this moment my pc is compiling my new kernel!
So this is great for now
// Jesper