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