GTA04Installation » History » Version 8
Paul Kocialkowski, 09/04/2012 06:19 PM
1 | 1 | Paul Kocialkowski | h1. GTA04 Installation |
---|---|---|---|
2 | |||
3 | 4 | Paul Kocialkowski | h2. Installing for µSD card storage |
4 | 1 | Paul Kocialkowski | |
5 | 5 | Paul Kocialkowski | What you need is a microSD card that is at least 1Gio. Note that this document refers to the microSD card as @sdcard@. |
6 | 1 | Paul Kocialkowski | |
7 | 5 | Paul Kocialkowski | Make sure you have downloaded all the required files to install Replicant on sdcard: |
8 | * bootloader.img |
||
9 | * boot.scr |
||
10 | * boot.img |
||
11 | * system.tar.bz2 |
||
12 | |||
13 | 4 | Paul Kocialkowski | h3. Getting the install script |
14 | 1 | Paul Kocialkowski | |
15 | To make it easier to install Replicant on GTA04, you can use the install script: replicant_gta04_install.sh. |
||
16 | 4 | Paul Kocialkowski | It should be shipped with Replicant images or copied in @out/target/product/gta04/@ during the build process. |
17 | 1 | Paul Kocialkowski | 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 |
18 | |||
19 | 5 | Paul Kocialkowski | <pre> |
20 | Usage: ./replicant_gta04_install.sh [TYPE] [DRIVE] |
||
21 | 1 | Paul Kocialkowski | |
22 | 5 | Paul Kocialkowski | Arguments: |
23 | - The [TYPE] argument can either be: |
||
24 | * "install" to create an install sdcard |
||
25 | * "system" to create a system sdcard |
||
26 | - The [DRIVE] argument is the sdcard drive node and can be omitted |
||
27 | 1 | Paul Kocialkowski | |
28 | 5 | Paul Kocialkowski | Notes: |
29 | The following files must be present in the directory where you run the script: |
||
30 | * bootloader.img boot.scr boot.img (install) |
||
31 | * system.tar.bz2 (system) |
||
32 | </pre> |
||
33 | 1 | Paul Kocialkowski | |
34 | 5 | Paul Kocialkowski | h3. Creating an install sdcard |
35 | |||
36 | The install sdcard will flash the bootloader, the boot instructions and the kernel to the GTA04 NAND flash. |
||
37 | Make sure that the following files are in the directory where you run the script: @bootloader.img boot.scr boot.img@ |
||
38 | |||
39 | Process that way: |
||
40 | 1 | Paul Kocialkowski | <pre> |
41 | 5 | Paul Kocialkowski | ./replicant_gta04_install.sh install |
42 | </pre> |
||
43 | 1 | Paul Kocialkowski | |
44 | 5 | Paul Kocialkowski | If you know what the sdcard drive is, you can also specify it explicitly: |
45 | <pre> |
||
46 | ./replicant_gta04_install.sh install /dev/sde |
||
47 | 1 | Paul Kocialkowski | </pre> |
48 | |||
49 | 8 | Paul Kocialkowski | The script will then format the sdcard and copy the files. |
50 | Once it has completed with success (@Your drive is now ready to be used!@), put the sdcard in the phone and boot *while pressing the AUX button until it becomes lightened*. |
||
51 | 5 | Paul Kocialkowski | It will flash the files to the GTA04 NAND flash. |
52 | |||
53 | The AUX (top left) led indicates the status: |
||
54 | |||
55 | |_. Led color |_. Status | |
||
56 | | Orange | Flashing | |
||
57 | | Yellow | Completed | |
||
58 | | Red | Error | |
||
59 | |||
60 | If flashing failed, you might need to get a serial cable to investigate what's going on. |
||
61 | 6 | Paul Kocialkowski | |
62 | h3. Creating a system sdcard |
||
63 | |||
64 | The system sdcard holds the partitions required to hold the Replicant system files. |
||
65 | Make sure that the following files are in the directory where you run the script: @system.tar.bz2@ |
||
66 | |||
67 | Process that way: |
||
68 | <pre> |
||
69 | ./replicant_gta04_install.sh system |
||
70 | </pre> |
||
71 | |||
72 | If you know what the sdcard drive is, you can also specify it explicitly: |
||
73 | <pre> |
||
74 | ./replicant_gta04_install.sh system /dev/sde |
||
75 | </pre> |
||
76 | |||
77 | The script will then format the sdcard and copy the files. Once it has completed with success (@Your drive is now ready to be used!@), put the sdcard in the phone and boot. |
||
78 | Now you must leave the sdcard in the phone in order to boot Replicant. |
||
79 | |||
80 | The POWER (bottom right) led indicates the status: |
||
81 | |||
82 | |_. Led color |_. Status | |
||
83 | | Orange | Booting Linux | |
||
84 | | Yellow | Completed | |
||
85 | | Red | Error | |