diff options
Diffstat (limited to 'tools/agptek_rocker/README')
-rw-r--r-- | tools/agptek_rocker/README | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/tools/agptek_rocker/README b/tools/agptek_rocker/README index 6b627698e5..b08d067a7d 100644 --- a/tools/agptek_rocker/README +++ b/tools/agptek_rocker/README | |||
@@ -1,6 +1,21 @@ | |||
1 | Update file with .upt extension is actually ISO9660 image. Inside | ||
2 | there are: | ||
3 | 1) uboot.bin - uBoot image | ||
4 | 2) uimage.bin - linux kernel image packed in legacy uboot format | ||
5 | 3) system.ubi - UBIFS rootfs image | ||
6 | 4) update.txt - text file describing update image content | ||
7 | 5) version.txt - text file describing version of update image | ||
8 | |||
1 | Steps needed to patch update.upt with rockbox bootloader are explained in | 9 | Steps needed to patch update.upt with rockbox bootloader are explained in |
2 | bootloader_install.sh shell script. Process is quite involved and some | 10 | below. Process is quite involved and some custom tools are needed. |
3 | custom tools are needed. | 11 | bootloader_install.sh scipt is design to automate the process. |
12 | |||
13 | 1) First content of ISO9660 .upt file needs to be unpacked | ||
14 | 2) system.ubi UBIFS image needs to be unpacked | ||
15 | 3) Rockbox bootloader is copied to unpacked rootfs | ||
16 | 4) Recreate UBIFS with altered content | ||
17 | 5) Update update.txt file with correct CRC of altered system.ubi | ||
18 | 6) Recreate ISO9660 .upt file | ||
4 | 19 | ||
5 | 20 | ||
6 | For convenience Dockerfile is provided which prepares custom image based | 21 | For convenience Dockerfile is provided which prepares custom image based |
@@ -9,7 +24,7 @@ images. | |||
9 | 24 | ||
10 | Basically image extends standard debian image by: | 25 | Basically image extends standard debian image by: |
11 | 1) Installing developer packages from stock debian | 26 | 1) Installing developer packages from stock debian |
12 | 2) Cloning https://github.com/wodz/rockbox-wodz.git | 27 | 2) Cloning rockbox repository http://gerrit.rockbox.org/p/rockbox |
13 | 3) Building custom cross toolchain | 28 | 3) Building custom cross toolchain |
14 | 4) Cloning and installing tools to work with UBIFS | 29 | 4) Cloning and installing tools to work with UBIFS |
15 | 30 | ||
@@ -31,7 +46,8 @@ docker run -it -v /path/to/dir/with/update.upt:/upt \ | |||
31 | 46 | ||
32 | 47 | ||
33 | Files in this directory: | 48 | Files in this directory: |
34 | README - this file | 49 | README - this file |
50 | |||
35 | bootloader_install.sh - shell script documenting process of patching | 51 | bootloader_install.sh - shell script documenting process of patching |
36 | agptek rocker update images | 52 | agptek rocker update images |
37 | 53 | ||