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