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