summaryrefslogtreecommitdiff
path: root/tools/agptek_rocker/README
diff options
context:
space:
mode:
Diffstat (limited to 'tools/agptek_rocker/README')
-rw-r--r--tools/agptek_rocker/README24
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 @@
1Update file with .upt extension is actually ISO9660 image. Inside
2there are:
31) uboot.bin - uBoot image
42) uimage.bin - linux kernel image packed in legacy uboot format
53) system.ubi - UBIFS rootfs image
64) update.txt - text file describing update image content
75) version.txt - text file describing version of update image
8
1Steps needed to patch update.upt with rockbox bootloader are explained in 9Steps needed to patch update.upt with rockbox bootloader are explained in
2bootloader_install.sh shell script. Process is quite involved and some 10below. Process is quite involved and some custom tools are needed.
3custom tools are needed. 11bootloader_install.sh scipt is design to automate the process.
12
131) First content of ISO9660 .upt file needs to be unpacked
142) system.ubi UBIFS image needs to be unpacked
153) Rockbox bootloader is copied to unpacked rootfs
164) Recreate UBIFS with altered content
175) Update update.txt file with correct CRC of altered system.ubi
186) Recreate ISO9660 .upt file
4 19
5 20
6For convenience Dockerfile is provided which prepares custom image based 21For convenience Dockerfile is provided which prepares custom image based
@@ -9,7 +24,7 @@ images.
9 24
10Basically image extends standard debian image by: 25Basically image extends standard debian image by:
111) Installing developer packages from stock debian 261) Installing developer packages from stock debian
122) Cloning https://github.com/wodz/rockbox-wodz.git 272) Cloning rockbox repository http://gerrit.rockbox.org/p/rockbox
133) Building custom cross toolchain 283) Building custom cross toolchain
144) Cloning and installing tools to work with UBIFS 294) 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
33Files in this directory: 48Files in this directory:
34README - this file 49README - this file
50
35bootloader_install.sh - shell script documenting process of patching 51bootloader_install.sh - shell script documenting process of patching
36 agptek rocker update images 52 agptek rocker update images
37 53