Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

The IGEP X-loader

64 bytes added, 17:39, 7 July 2011
no edit summary
*The ini configuration file it's limited to max size: 16 KiB
*Kernel Command line parameters it's limited to: 4 KiB
*Malloc it's limited to 32 MiB. *Cannot write comments in lines with tag=value<br>
== TODO<br> ==
*Support for IGEP0030 - Family boards.
*Support for other OMAP/DM/AM processor boards.
*Remove compilation warnings. *Comments in tag lines<br>
== STATUS<br> ==
*Support IGEP0020 (IGEPv2) Revision B &amp; C family boards.
*Tested with IGEPv2 (DM3730@1Ghz and 512/512 MB Ram/Onenand)
*Tested with IGEPv2 (AM3703@1Ghz and 512/512 MB Ram/Onenand)
*Tested with IGEPv2 (OMAP3530@720Mhz and 512/512 MB Ram/Onenand)<br> *Support IGEP 0030 (IGEP Module)<br> == VERSION CHANGES<br> == [2.1.0-1] This version only can be build with gcc linaro 4.5.2 other compilers be not supported.<br>[2.1.0-1] Removed some uncontrolled "printf" with incorrect information.<br>[2.1.0-1] Modified some code under __DEBUG__ option.<br>[2.1.0-1] Added Support for TPS65950-A3 initialization at 1.35V<br>[2.1.0-1] Added support for IGEP Module 0030<br>[2.1.0-1] Added support dynamic Machine ID selection (same xloader boot IGEPv2 &amp; IGEP Module)<br><br>
= Build Procedure<br> =
== Build with Ubuntu Cross Compiler gcc 4.5.1 2 ==
<span style="font-style: italic;"><span style="font-weight: bold;">Enviroment</span></span>'''''Ubuntu 10.10'''''
=== Install the cross compiler if you not do it before.<br> ===
<pre>contrib/signGP x-load.bin
The signed x-loader it's named: x-load.bin.ift
</pre> == Build with IGEP SDK == === Setup the Enviroment<br> ===<pre>source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi</pre> === Setup the board settings<br> ===<pre>make igep0020-sdcard_config</pre> === Build<br> ===<pre>make CROSS_COMPILE=arm-none-linux-gnueabi-</pre> === Sign the binary x-loader === ''You should execute contrib/signGP for sign the xloader.'' <pre>contrib/signGP x-load.binThe signed x-loader it's named: x-load.bin.ift</pre>
== Build Native ==
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.</pre> ==== <span id="1299156619608S" style="display: none;" id="1299156619608S">&nbsp;</span>Boot Partition ====
*fs used jffs2 zlib compressed filesystem.
[http://en.wikipedia.org/wiki/INI_file This entry in wikipedia] can help you how a ini file it's structured.
Inside the sources/scripts directory you can found a [http://git.igep.es/?p=pub/scm/igep-x-loader.git;a=blob;f=scripts/igep.ini;h=7ecda91b2716d8984d48fa6c5eb5c74b8f0b0959;hb=HEAD igep.ini] example file.
The actual XLoader can handle two kind tags:
7 kImageName=zImage-test
8 kRdImageName=rdImage-test
9 MachineID=xxxx Where Machine ID =&nbsp;2344 for IGEPv2 and ID = 2717 for IGEP Module
</pre>
=== TAG:&nbsp;[kparams] ===
Also remember you can comment any line using ';' or '#' characters.
</pre> = FAQ =
== How I can boot from NFS? ==
nfsroot=192.168.2.105:/srv/nfs/linaro_minimal
</pre> 
= 6 Contribution &amp; Support &amp; Bugs Report =
Contributions to this project be welcome and you can send your patches to support@iseebcn.com&nbsp;or you can use the igep forum for it.<br>You can access to IGEP-x-Loader repository using our git at [http://git.igep.es git.igep.es]<br>IGEP IRC Channel: [http://webchat.freenode.net/?channels=igep http://webchat.freenode.net/?channels=igep]<br>
<br><span id="1299156619619E" style="display: none;" id="1299156619619E">&nbsp;</span><br>
[[Category:How_to_forge|X_Loader]]