1,381
edits
Changes
no edit summary
You can follow this other howto about [[The Linux kernel|how compile and install the Linux Kernel]].
$/home/jdoe> cd linux-omap-2.6 b) Checkout your desired branch (we used for this howto 2.6.35.y) $/home/jdoe/linux-omap-2.6> git checkout origin/linux-2.6.35.y -b linux-2-6-35.y c) Configure the kernel $/home/jdoe/linux-omap-2.6> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- igep0020-defconfig d) Build the kernel and Modules $/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. === Create the Rootfs mount point === Go to /media directory and create one subfolder called "binary"
<pre>$ cd /media
$ sudo mkdir binary
</pre>=== Mount the RootFS partition ===
Mount the rootfs partition using the 'binary' directory
<pre>$ media > sudo mount /dev/mmcblkp2 /media/binary
</pre>
=== Untar the rootfs package ===
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>
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> ===
Now you should install your kernel modules inside your root file system.<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>
=== Untar Install the rootfs package kernel Image<br> ===
</pre>
Now we're ready for test our new microsd card.<br>
<br>
<br>
<br>