Changes

How to boot from MicroSD Card

366 bytes added, 13:05, 8 March 2014
Root File System
Notes: Kernel 3.8.y use dtb file for describe the board configuration, these files resides inside the directory: $/home/jdoe/linux-omap-2.6/arch/arm/boot/dtbs/ and you must copy the right dtb for your board.
== Root File System ==
In this tutorial we will use the [http://downloads.isee.biz/pub/files/linaro/releases/linaro-m-headless-tar-20101108-2.tar.gz linaro headless]  (soft floating) image as rootfs but you can use your favorite rootfs also.
<br> {{Message/Information Message|message=Here there are many articles about how to get '''many other [[:Category:Software distributions|software distributions]]'''.}}
{{Message/Information Message|message=<br> Here there are many articles about how to get ''you'many other [ve the [http:Category:Software distributions|software distributions//downloads.isee.biz/pub/files/linaro/releases/linaro-11.09-nano-n-tar-20110929-0.tar.gz linaro nano 11.09]]'''&nbsp;(soft floating) available for download from the ISEE server.}}<br>
Notes: You must build your programs with the hard floating if your rootfs is build with it.
Here you've the [httpNotes://downloads.isee.biz/pub/files/linaro/releases/linaro-11.09-nano-n-tar-20110929-0.tar.gz linaro nano 11.09] available for download from the ISEE server.IGEPv5 must use Hard floating Rootfs
<br>
=== Create the Rootfs mount point ===
$ sudo mkdir binary
</pre>
<br>
=== Mount the RootFS partition ===
<pre>$ media &gt; sudo mount /dev/mmcblkp2 /media/binary
</pre>
<br>
=== Untar the rootfs package ===
$ /home/jdoe/linux-omap-2.6&gt; sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules_install INSTALL_MOD_PATH=/media/binary
</pre>
Alternatively if you downloaded the binary package uncompress it inside the directory /media/binary
=== 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&gt; sudo cp arch/arm/boot/zImage /media/boot/
if you're using dtb kernel as 3.8.y you must copy the dtb too.
$ /home/jdoe/linuz-omap-2.6&gt; sudo cp arch/arm/boot/dtbs/omap5-igep0050.dtb /media/boot
 
</pre>
After that you can unmount the boot &amp; rootfs partitions.