Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

The IGEP X-loader

18 bytes removed, 14:01, 30 September 2015
m
no edit summary
=== Download the sources from our git repository ===
<pre>$ git clone git://git.isee.biz/pub/scm/igep-x-loader.git
</pre>
=== Get your desired tag / release ===
git checkout &lt;your_desired_release&gt; -b &lt;your_name_release&gt;<br>
<pre>$ git checkout release-2.5.0-2 -b release-2.5.0-2-local
</pre>
=== Download from git repository ===
<pre style="font-weight: normal;">$ git clone git://git.isee.biz/pub/scm/igep-x-loader.git
</pre>
git checkout &lt;your_desired_release&gt; -b &lt;your_name_release&gt;<br>
<pre style="font-weight: normal;">$ git checkout release-2.5.0-2 -b release-2.5.0-2-local
</pre>
'''kernel build command example''':
<pre>$make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- zImage modules
</pre>
Erase and copy the x-loader into the first flash partition (mtd0):
$nand_eraseall /dev/mtd0$writeloader -i &lt;x-loader.bin.ift&gt; -o /dev/mtd0
</pre>
==== <span id="1299156619608S" style="display: none;">&nbsp;</span>Boot Partition ====
Erase all mtd1 content:
$flash_eraseall /dev/mtd1
Create your partition:
$mount -t jffs2 /dev/mtdblock1 /mnt
</pre>
<u>Next uses:</u>
<u></u>You can mount the partition over your boot directory in the rootfs
<pre>$mount -t jffs2 /dev/mtdblock1 /boot</pre>
You can use the cp command for copy your kernel and igep.ini configuration file.
<pre>$cp igep.ini /boot$cp zImage /boot</pre>
==== Rootfs Partition ====
Just copy the new one, the most secure way it's copy the new one and at end replace the igep.ini file with your new one.
<pre>$ mount -t jffs2 /dev/mtdblock1 /boot
$ cp newkernel.bin /boot
$ cp igep.ini /boot</pre>
Use a different kernel name and you always can boot from your old one.
4,199
edits