GTA04Installation » History » Revision 5
Revision 4 (Paul Kocialkowski, 08/01/2012 03:34 PM) → Revision 5/24 (Paul Kocialkowski, 08/15/2012 11:59 AM)
h1. GTA04 Installation h2. Installing for µSD card storage What Once Replicant systemtarball and bootimage for GTA04 are ready, you need is a microSD card that is at least 1Gio. Note that this document refers to can start the microSD card as @sdcard@. Make sure you have downloaded all the required files to install Replicant on sdcard: * bootloader.img * boot.scr * boot.img * system.tar.bz2 procedure. h3. Getting the install script To make it easier to install Replicant on GTA04, you can use the install script: replicant_gta04_install.sh. It should be shipped with Replicant images or copied in @out/target/product/gta04/@ during the build process. If you cannot find the script, download the latest version from gitorious: "replicant_gta04_install.sh":https://gitorious.org/replicant/device_goldelico_gta04/blobs/raw/replicant-2.3/replicant_gta04_install.sh <pre> Usage: ./replicant_gta04_install.sh [TYPE] [DRIVE] h3. Installing the kernel Arguments: - The [TYPE] argument can either be: * "install" You have to create an install sdcard * "system" to create a system sdcard - The [DRIVE] argument is write the sdcard drive node and can be omitted Notes: The following files must be present in kernel at the directory correct location where you run the script: * bootloader.img u-boot will read it. Replicant may provide a boot.scr boot.img (install) * system.tar.bz2 (system) </pre> h3. Creating an install sdcard The install sdcard will flash file in the bootloader, the boot instructions future, allowing to chose between NAND and the uSD kernel to location. h3. Installing the GTA04 NAND flash. Make sure that the following files are in the directory where you run the script: @bootloader.img boot.scr boot.img@ system Process that way: Follow replicant_gta04_install.sh usage: <pre> Usage: ./replicant_gta04_install.sh install </pre> [DRIVE] [SYSTEM] If you know what the sdcard drive is, you Notes: - The [DRIVE] argument can also specify it explicitly: be omitted <pre> ./replicant_gta04_install.sh install /dev/sde </pre> - The script will then format the sdcard and copy the files. Once it has completed with success (@Your drive is now ready to [SYSTEM] argument must be used!@), put the sdcard in the phone and boot. a tar archive It will flash the files to the GTA04 NAND flash. The AUX (top left) led indicates the status: </pre> |_. Led color |_. Status | | Orange | Flashing | | Yellow | Completed | | Red | Error | If flashing failed, you might need to get a serial cable to investigate what's going on. For instance: @./replicant_gta04_install.sh system.tar@