Quick Start Guide
6 Appendix C: Recovering the Bootloader
www.starfivetech.com
Page 35
V1.1 (2022-03-01)
Figure 6-3
Example Output
Step 10
Type 0 and press Enter to update the bootloader.
Step 11
Navigate to
File
>
Transfer
>
XMODEM
>
Send...
and choose the following file from
the
.zip
file we downloaded before:
bootloader-JH7100-211102.bin.out
Step 12
Repeat the steps
10
and
11
to update the ddr init according to the following.
Type 1 - update ddr init [Filename:
ddrinit-2133-211102.bin.out
]
6.2.2
For Mac/Linux
Step 1
Clone the following GitHub repo which includes a bootloader recovery and updater
tool.
git clone https://github.com/xypron/JH71xx-tools/
Step 2
Navigate to the cloned repo and build the tool.
cd JH71xx-tools
gcc -o jh7100-recover jh7100-recover.c
Step 3
Copy
JH7100_recovery_boot.bin
,
bootloader
and
ddr init
to the
JH71xx-
tools
directory.
Information:
This step is not a must, but it makes it more convenient in the following steps when
we point to the file locations.
Step 4
Type the following in the terminal to view the connected serial devices.
dmesg | grep tty
Example Output:
Figure 6-4
Example Output
Step 5
Type the following and it will wait for bootloader mode.
sudo ./jh7100-recover -D /dev/ttyUSB0 -r jh7100_recov-
ery_boot.bin -b bootloader-JH7100-211102.bin.out -d ddrinit-
StarFive