summaryrefslogtreecommitdiff
path: root/rbutil/jztool/README.md
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-07-17 19:35:09 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-07-20 14:56:58 +0000
commit740a50687f67f3684e4b5698f8f30e3adebb8f6e (patch)
treecc2afcc989f0ca89e849338ad136e4042acd6bc1 /rbutil/jztool/README.md
parent6f042e91dd8730bf72b423248aa2c520708f03c5 (diff)
downloadrockbox-740a50687f67f3684e4b5698f8f30e3adebb8f6e.tar.gz
rockbox-740a50687f67f3684e4b5698f8f30e3adebb8f6e.zip
jztool: add support for Shanling Q1 and Eros Qbootloader_shanlingq1_v1
Change-Id: I8e93162d1a9d82e9d132219f2803b1856d24ae6c
Diffstat (limited to 'rbutil/jztool/README.md')
-rw-r--r--rbutil/jztool/README.md85
1 files changed, 55 insertions, 30 deletions
diff --git a/rbutil/jztool/README.md b/rbutil/jztool/README.md
index 2c4dd4992c..72c630c6c3 100644
--- a/rbutil/jztool/README.md
+++ b/rbutil/jztool/README.md
@@ -1,26 +1,45 @@
1# jztool -- Ingenic device utility & bootloader installer 1# jztool -- Ingenic device utility & bootloader installer
2 2
3The `jztool` utility can help install, backup, and restore the bootloader on 3The `jztool` utility can help install, backup, and restore the bootloader on
4Rockbox players based on a supported Ingenic SoC. 4Rockbox players based on a supported Ingenic SoC (currently only the X1000).
5 5
6## FiiO M3K 6## Running jztool
7 7
8First, get a copy of the `bootloader.m3k` file, either by downloading it 8### Getting a bootloader
9from <https://rockbox.org>, or by compiling it yourself (choose 'B'ootloader
10build when configuring your build).
11 9
12The first time you install Rockbox, you need to load the Rockbox bootloader 10To use `jztool` you need to compile or download a bootloader for your player.
13over USB by entering USB boot mode. The easiest way to do this is by plugging 11It's recommended to use only official released bootloaders, since bootloaders
14in the microUSB cable to the M3K and holding the VOL- button while plugging 12compiled from Git are not tested and might be buggy.
15the USB into your computer. If you entered USB boot mode, the button light
16will turn on but the LCD will remain black.
17 13
18Copy the `bootloader.m3k` next to the `jztool` executable and follow the 14You can download released bootloaders from <https://download.rockbox.org/>.
19instructions below which are appropriate to your OS.
20 15
21### Running jztool 16The bootloader file is named after the target: for example, the FiiO M3K
17bootloader is called `bootloader.m3k`. The FiiO M3K is used as an example
18here, but the instructions apply to all X1000-based players.
22 19
23#### Linux/Mac 20Use `jztool --help` to find out the model name of your player.
21
22### Entering USB boot mode
23
24USB boot mode is a low-level mode provided by the CPU which allows a computer
25to load firmware onto the device. You need to put your player into this mode
26manually before using `jztool` (unfortunately, it can't be done automatically.)
27
28To connect the player in USB boot mode, follow these steps:
29
301. Ensure the player is fully powered off.
312. Plug one end of the USB cable into your player.
323. Hold down your player's USB boot key (see below).
334. Plug the other end of the USB cable into your computer.
345. Let go of the USB boot key.
35
36The USB boot key depends on your player:
37
38- FiiO M3K: Volume Down
39- Shanling Q1: Play
40- Eros Q: Menu
41
42### Linux/Mac
24 43
25Run the following command in a terminal. Note that on Linux, you will need to 44Run the following command in a terminal. Note that on Linux, you will need to
26have root access to allow libusb to access the USB device. 45have root access to allow libusb to access the USB device.
@@ -32,9 +51,9 @@ have root access to allow libusb to access the USB device.
32$ ./jztool fiiom3k load bootloader.m3k 51$ ./jztool fiiom3k load bootloader.m3k
33``` 52```
34 53
35#### Windows 54### Windows
36 55
37To allow `jztool` access to the M3K in USB boot mode, you need to install 56To allow `jztool` access to your player in USB boot mode, you need to install
38the WinUSB driver. The recommended way to install it is using Zadig, which 57the WinUSB driver. The recommended way to install it is using Zadig, which
39may be downloaded from its homepage <https://zadig.akeo.ie>. Please note 58may be downloaded from its homepage <https://zadig.akeo.ie>. Please note
40this is 3rd party software not maintained or supported by Rockbox developers. 59this is 3rd party software not maintained or supported by Rockbox developers.
@@ -42,10 +61,10 @@ this is 3rd party software not maintained or supported by Rockbox developers.
42 61
43When running Zadig you must select the WinUSB driver; the other driver options 62When running Zadig you must select the WinUSB driver; the other driver options
44will not work properly with `jztool`. You will have to select the correct USB 63will not work properly with `jztool`. You will have to select the correct USB
45device in Zadig -- the name and USB IDs of the M3K in USB boot mode are listed 64device in Zadig. All X1000-based players use the same USB ID while in USB boot
46below. NOTE: the device name may show only as "X" and a hollow square in Zadig. 65mode, listed below. NOTE: the device name may show only as "X" and a hollow
47The IDs will not change, so those are the most reliable way to confirm you have 66square in Zadig. The IDs will not change, so those are the most reliable way
48selected the correct device. 67to confirm you have selected the correct device.
49 68
50``` 69```
51Name: Ingenic Semiconductor Co.,Ltd X1000 70Name: Ingenic Semiconductor Co.,Ltd X1000
@@ -63,21 +82,27 @@ Type the following command to load the Rockbox bootloader:
63$ jztool.exe fiiom3k load bootloader.m3k 82$ jztool.exe fiiom3k load bootloader.m3k
64``` 83```
65 84
66### Further instructions 85## Using the recovery menu
67 86
68After running `jztool` successfully your M3K will display the recovery menu 87If `jztool` runs successfully your player will display the Rockbox bootloader's
69of the Rockbox bootloader. If you want to permanently install Rockbox to your 88recovery menu. If you want to permanently install Rockbox to your device, copy
70M3K, copy `bootloader.m3k` to the root of an SD card, insert it to your device, 89the bootloader file you downloaded to the root of your SD card, insert the SD
71then choose "Install/update bootloader" from the menu. 90card to your player, and choose "Install/update bootloader" from the menu.
72 91
73It is _highly_ recommended that you take a backup of your existing bootloader 92It is _highly_ recommended that you take a backup of your existing bootloader
74in case of any trouble -- choose "Backup bootloader" from the recovery menu. 93in case of any trouble -- choose "Backup bootloader" from the recovery menu.
75The backup file is called "fiiom3k-boot.bin" and will be saved to the root of 94The backup file is called `PLAYER-boot.bin`, where `PLAYER` is the model name.
76the SD card. If you need to restore it, simply place the file at the root of 95(Example: `fiiom3k-boot.bin`.)
77your SD card and select "Restore bootloader". 96
97You can restore the backup later by putting it on the root of your SD card and
98selecting "Restor bootloader" in the recovery menu.
99
100After installing the Rockbox bootloader, you can access the recovery menu by
101holding a key while booting:
78 102
79In the future if you want to backup, restore, or update the bootloader, you 103- FiiO M3K: Volume Up
80can access the Rockbox bootloader's recovery menu by holding VOL+ when booting. 104- Shanling Q1: Next (button on the lower left)
105- Eros Q: Volume Up
81 106
82### Known issues 107### Known issues
83 108