1,381
edits
Changes
no edit summary
You can follow this other howto about [[The Linux kernel|how compile and install the Linux Kernel]].
In our case we build the kernel sources from zero:<br>
<pre>a) Clone the Kernel git repository
$/home/jdoe/linux-omap-2.6> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- zImage modules
</pre>Notes: The kernel binary resides inside the directory: $/home/jdoe/linux-omap-2.6/arch/arm/boot/'''zImage'''
We will use the [http://downloads.igep.es/files/linaro-m-headless-tar-20101108-2.tar.gz linaro headless] image as rootfs but you can use your favorite rootfs also.
Copy "linaro-m-headless-tar-20101108-2.tar.gz" file inside the /media directory and untar the file
<pre>$ media > sudo tar xvfz linaro-m-headless-tar-20101108-2.tar.gz</pre> <br> Now you should see inside your rootfs partition a similar structure like this.<br>
=== [[Image:Linaro RootFS.png|thumb|center]]Install the kernel modules<br> ===
<pre>$ media > cd /home/jdoe/linux-omap-2.6
$ /home/jdoe/linux-omap-2.6> sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules_install INSTALL_MOD_PATH=/media/binary
</pre>=== Install the kernel Image<br> ===
Just copy the zImage inside your boot partition, remember before that you must mount your mmc boot partition.<br>
<pre>$ /home/jdoe/linux-omap-2.6> sudo cp arch/arm/boot/zImage /media/boot/
</pre>Now we're ready for test our new microsd cardAfter that you can unmount the boot & rootfs partitions.<br>
Now we're ready for test our new microsd car<br>
<br>
<br>
<br>
<br>