Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

The IGEP X-loader

1,287 bytes removed, 22:48, 2 March 2012
no edit summary
You should copy the x-loader in the firsts 4 blocks (first 512 KiB), this is not a formated partition due the ROM not permits boot from a formated partition in flash, you should use flash_eraseall and [http://git.igep.es/?p=pub/scm/writeloader.git;a=summary writeloader] for copy x-loader in the first blocks.
<pre><span class="Apple-style-span">Suggested procedure:
Sign the x-loader before write it on the flash or microsd card.
</span><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; white-space: normal; "><pre style="padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(47, 111, 171); border-right-color: rgb(47, 111, 171); border-bottom-color: rgb(47, 111, 171); border-left-color: rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em; ">Sign x-loader:
You should execute contrib/signGP for sign the xloader that resides inside the flash memory.
contrib/signGP x-load.bin
The signed x-loader it's named: x-load.bin.ift
</pre><div><br></div></span><span class="Apple-style-span">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>
 
Due the Onenand 512 MiB has two dies it's necessary split the x-loader and convert it to a 1 die binary.
This is a know OMAP/DM/AM OneNand/Nand boot limitation.
 
This is the procedure for create the x-loader OneNand binary:
You should execute: (You can use copy paste in your console)
split -b 2K x-load.bin.ift split-
for file in `ls split-a?`; do cat $file &gt;&gt; x-load-ddp.bin.ift; cat $file &gt;&gt; x-load-ddp.bin.ift; done
 
This last command generate a file named x-load-ddp.bin.ift this is the x-loader for copy it in the OneNand.</span></pre>
==== <span style="display: none;" id="1299156619608S">&nbsp;</span>Boot Partition ====