Difference between revisions of "Rock5/install/rockchip-flash-tools"
m (rock Header correction) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{rock5_header}} |
{{Languages|rock5/install/rockchip-flash-tools}} | {{Languages|rock5/install/rockchip-flash-tools}} | ||
Line 9: | Line 9: | ||
ROCK 5 supports ''maskrom mode'', which is a special operation mode for CPU to wait for command from USB OTG port. The Linux/macOS PC tool we use to communicate with ROCK 5 in ''maskrom mode'' are '''rkdeveloptool on Linux/macOS PC''' and '''RKDevTool on Windows PC'''. | ROCK 5 supports ''maskrom mode'', which is a special operation mode for CPU to wait for command from USB OTG port. The Linux/macOS PC tool we use to communicate with ROCK 5 in ''maskrom mode'' are '''rkdeveloptool on Linux/macOS PC''' and '''RKDevTool on Windows PC'''. | ||
− | === | + | === Option one: RKDevTool on Windows === |
==== Step 1:Install RKDevTool ==== | ==== Step 1:Install RKDevTool ==== | ||
Line 16: | Line 16: | ||
* [https://dl.radxa.com/tools/windows/RKDevTool_Release_v2.81.zip RKDevTool_v2.81] | * [https://dl.radxa.com/tools/windows/RKDevTool_Release_v2.81.zip RKDevTool_v2.81] | ||
* [https://dl.radxa.com/tools/windows/windows_RKDevTool_Release_v2.92.zip RKDevTool_v2.92] | * [https://dl.radxa.com/tools/windows/windows_RKDevTool_Release_v2.92.zip RKDevTool_v2.92] | ||
− | * [https://dl.radxa.com/tools/windows/RKDevTool_Release_v2. | + | * [https://dl.radxa.com/tools/windows/RKDevTool_Release_v2.96-20221121.rar RKDevTool_v2.96 ](including ROCK 5B eMMC/SPI flash configuration files. Recommended.) |
Installation step is completed. | Installation step is completed. | ||
Line 31: | Line 31: | ||
Then click “Install Driver”to install the driver. And restart PC. | Then click “Install Driver”to install the driver. And restart PC. | ||
− | === | + | === Option two: rkdeveloptool on Linux (X86 or ARM) === |
For Linux, we build the latest rkdeveloptool (version '''>=1.32'''), from source code. | For Linux, we build the latest rkdeveloptool (version '''>=1.32'''), from source code. | ||
Line 41: | Line 41: | ||
Clone the source code and build: | Clone the source code and build: | ||
− | git clone https://github.com/ | + | git clone https://github.com/radxa/rkdeveloptool.git |
cd rkdeveloptool | cd rkdeveloptool | ||
autoreconf -i | autoreconf -i | ||
Line 68: | Line 68: | ||
rkdeveloptool ver 1.32 | rkdeveloptool ver 1.32 | ||
− | === | + | === Option three: rkdeveloptool on macOS(Intel & Apple Silicon) === |
To build rkdeveloptool on macOS, you need [https://brew.sh/ homebrew](or similar package manager) to install required packages. | To build rkdeveloptool on macOS, you need [https://brew.sh/ homebrew](or similar package manager) to install required packages. | ||
Line 76: | Line 76: | ||
Clone the source code and build: | Clone the source code and build: | ||
− | git clone https://github.com/ | + | git clone https://github.com/radxa/rkdeveloptool.git |
cd rkdeveloptool | cd rkdeveloptool | ||
autoreconf -i | autoreconf -i |
Latest revision as of 10:52, 10 September 2023
ROCK5 > Installation > Install Rockchip Flashing tools
Contents
Install Rockchip flashing tools
ROCK 5 supports maskrom mode, which is a special operation mode for CPU to wait for command from USB OTG port. The Linux/macOS PC tool we use to communicate with ROCK 5 in maskrom mode are rkdeveloptool on Linux/macOS PC and RKDevTool on Windows PC.
Option one: RKDevTool on Windows
Step 1:Install RKDevTool
The tool is provided in a compressed package. Please download the compressed package of this tool and extract files.
- RKDevTool_v2.81
- RKDevTool_v2.92
- RKDevTool_v2.96 (including ROCK 5B eMMC/SPI flash configuration files. Recommended.)
Installation step is completed.
Step 2:Install driver
Using the RK driver assistant tool to install the driver.
There’s no need to connect your Rockchip device during this procedure just download and extract RKDriverAssistant.zip
Then double click on DriverInstall.exe in the RKDriverAssistant directory to start the utility. If you installed the Rockchip USB drivers for any other Rockchip devices already, make sure you click “Uninstall Driver” first.
Then click “Install Driver”to install the driver. And restart PC.
Option two: rkdeveloptool on Linux (X86 or ARM)
For Linux, we build the latest rkdeveloptool (version >=1.32), from source code.
To build rkdeveloptool on a Debian based Linux distribution, follow the instruction below:
Install build dependency:
sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf
Clone the source code and build:
git clone https://github.com/radxa/rkdeveloptool.git cd rkdeveloptool autoreconf -i ./configure make
If you encounter compile error like below
./configure: line 4269: syntax error near unexpected token `LIBUSB1,libusb-1.0' ./configure: line 4269: `PKG_CHECK_MODULES(LIBUSB1,libusb-1.0)'
You should install pkg-config libusb-1.0
sudo apt-get install pkg-config libusb-1.0
Then re-run
autoreconf -i ./configure make
Now you have rkdeveloptool executable at the current directory.
sudo cp rkdeveloptool /usr/local/bin/ sudo ldconfig
Make sure that its version is 1.32.or later
rkdeveloptool -v rkdeveloptool ver 1.32
Option three: rkdeveloptool on macOS(Intel & Apple Silicon)
To build rkdeveloptool on macOS, you need homebrew(or similar package manager) to install required packages.
Install build dependency:
brew install automake autoconf libusb
Clone the source code and build:
git clone https://github.com/radxa/rkdeveloptool.git cd rkdeveloptool autoreconf -i ./configure make
If you encounter compile error like below
./configure: line 5384: syntax error near unexpected token `LIBUSB1,libusb-1.0' ./configure: line 5384: `PKG_CHECK_MODULES(LIBUSB1,libusb-1.0)'
You should install pkg-config libusb-1.0
brew install pkg-config
Then re-run
autoreconf -i ./configure make
Now you have rkdeveloptool executable at the current directory.
sudo cp rkdeveloptool /opt/homebrew/bin/
Make sure that its version is 1.32 or later.
rkdeveloptool -v rkdeveloptool ver 1.32