Project

General

Profile

GTA04Installation » History » Version 11

Paul Kocialkowski, 07/03/2013 09:38 PM

1 1 Paul Kocialkowski
h1. GTA04 Installation
2
3 9 Paul Kocialkowski
h2. Replicant 4.0 installation
4 1 Paul Kocialkowski
5 9 Paul Kocialkowski
Replicant installation requires a microSD card that is at least 1Gio. Note that this document refers to the microSD card as @sdcard@.
6 1 Paul Kocialkowski
7 10 Paul Kocialkowski
Make sure you have all the required files to install Replicant:
8 9 Paul Kocialkowski
* MLO
9
* u-boot.bin
10
* splash.rgb16z
11 5 Paul Kocialkowski
* boot.scr
12 1 Paul Kocialkowski
* boot.img
13
* system.tar.bz2
14
15 9 Paul Kocialkowski
To make it easier to install Replicant on GTA04, you can use the install script: replicant_gta04_install.sh.
16
# Connect the sdcard to your computer
17
# Run the install script:
18
<pre>
19
./replicant_gta04_install.sh path/to/files
20
</pre>
21
# Select the device that matches your sdcard (might be shown as USB card reader)
22
# Confirm erasing the drive by typing "y"
23
# Wait until the installation ends
24
# Remove the sdcard and insert it into the phone
25
# Start the phone, the power LED will show the boot status and the splashscreen will shortly appear
26
27
The POWER (bottom right) led indicates the status:
28
29
|_. Led color |_. Status |
30
| Orange | Loading Linux |
31
| Yellow | Completed |
32
| Red | Error |
33
34
*Your device should now be running Replicant!*
35
36
h2. Replicant 2.3 installation
37
38
Replicant installation requires a microSD card that is at least 1Gio. Note that this document refers to the microSD card as @sdcard@.
39
40
Make sure you have downloaded all the required files to install Replicant:
41
* replicant_gta04_install.sh
42
* bootloader.img
43
* boot.scr
44
* boot.img
45
* system.tar.bz2
46
47 1 Paul Kocialkowski
To make it easier to install Replicant on GTA04, you can use the install script: replicant_gta04_install.sh.
48
49 5 Paul Kocialkowski
<pre>
50
Usage: ./replicant_gta04_install.sh [TYPE] [DRIVE]
51 1 Paul Kocialkowski
52 5 Paul Kocialkowski
Arguments:
53
- The [TYPE] argument can either be:
54
  * "install" to create an install sdcard
55
  * "system" to create a system sdcard
56
- The [DRIVE] argument is the sdcard drive node and can be omitted
57 1 Paul Kocialkowski
58 5 Paul Kocialkowski
Notes:
59
The following files must be present in the directory where you run the script:
60
* bootloader.img boot.scr boot.img (install)
61
* system.tar.bz2 (system)
62
</pre>
63 1 Paul Kocialkowski
64 5 Paul Kocialkowski
h3. Creating an install sdcard
65
66
The install sdcard will flash the bootloader, the boot instructions and the kernel to the GTA04 NAND flash.
67
Make sure that the following files are in the directory where you run the script: @bootloader.img boot.scr boot.img@
68
69
Process that way:
70 1 Paul Kocialkowski
<pre>
71 5 Paul Kocialkowski
./replicant_gta04_install.sh install
72
</pre>
73 1 Paul Kocialkowski
74 5 Paul Kocialkowski
If you know what the sdcard drive is, you can also specify it explicitly:
75
<pre>
76
./replicant_gta04_install.sh install /dev/sde
77 1 Paul Kocialkowski
</pre>
78
79 8 Paul Kocialkowski
The script will then format the sdcard and copy the files.
80
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*.
81 5 Paul Kocialkowski
It will flash the files to the GTA04 NAND flash. 
82
83
The AUX (top left) led indicates the status:
84
85
|_. Led color |_. Status |
86
| Orange | Flashing |
87
| Yellow | Completed |
88
| Red | Error |
89
90
If flashing failed, you might need to get a serial cable to investigate what's going on.
91 6 Paul Kocialkowski
92
h3. Creating a system sdcard
93
94
The system sdcard holds the partitions required to hold the Replicant system files.
95
Make sure that the following files are in the directory where you run the script: @system.tar.bz2@
96
97
Process that way:
98
<pre>
99
./replicant_gta04_install.sh system
100
</pre>
101
102
If you know what the sdcard drive is, you can also specify it explicitly:
103
<pre>
104
./replicant_gta04_install.sh system /dev/sde
105
</pre>
106
107
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.
108
Now you must leave the sdcard in the phone in order to boot Replicant.
109
110
The POWER (bottom right) led indicates the status:
111
112
|_. Led color |_. Status |
113
| Orange | Booting Linux |
114
| Yellow | Completed |
115
| Red | Error |