Difference between revisions of "The bootloader X-loader"

From IGEP - ISEE Wiki

Jump to: navigation, search
(X-loader for IGEP v2)
Line 24: Line 24:
 
$ source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi
 
$ source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi
 
</pre>
 
</pre>
if you have updated your SDK environment to latest version (see [[Ubuntu804IGEPv20SDKVirtualMachine|Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine]])
+
if you have updated your SDK environment to latest version (see [[Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine]])
  
 
==== X-loader v1.4.2-2 (stable) ====
 
==== X-loader v1.4.2-2 (stable) ====

Revision as of 19:12, 30 May 2010

How to cross compile X-loader

Overview of How-To

This How-To is meant to be a starting point for people to learn build the x-loader software for IGEP v2 devices as quickly and easily as possible.

This How-To works with the Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine but most of the contents are valid also for other GNU/Linux distributions. We do not issue any guarantee that this will work on other distributions.

Requirements

  • Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine

Feedback and Contributing

At any point, if you see a mistake you can contribute to this How-To.

X-loader for IGEP v2

First of all setup the build environment sourcing this script

$ source /usr/local/poky/eabi-glibc/arm/environment-setup

or

$ source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi

if you have updated your SDK environment to latest version (see Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine)

X-loader v1.4.2-2 (stable)

This version supports full OneNAND DDP

Download the IGEP v2 X-loader sources and follow next steps:

$ wget http://www.igep.es/downloads/01-ISEE_Products/IGEPv2/SW_Releases/sources/x-loader-1.4.2-2.tar.gz
$ tar xzf x-loader-1.4.2-2.tar.gz
$ cd x-loader-1.4.2-2
$ scripts/./autobuild.sh arm-none-linux-gnueabi-

The result will be :

  • x-load-ddp.bin.ift in autobuild/igep0020/flash directory (for OneNAND DDP)
  • x-load.bin.ift in autobuild/igep0020/sdcard directory (for SD card)

X-loader mainline tree (development)

Clone the GIT repository from git.myigep.com

$ git clone git://git.igep.es/pub/scm/x-loader.git
$ cd x-loader

and build with

$ cd x-loader
$ scripts/./autobuild.sh arm-none-linux-gnueabi-

The result will be :

  • x-load-ddp.bin.ift in autobuild/igep0020b/flash directory (for OneNAND DDP)
  • x-load.bin.ift in autobuild/igep0020b/sdcard directory (for SD card)