Difference between revisions of "Rock3/install/rockchip-flash-tools"
(Created page with "{{rock3_header}} {{Languages|rock3/install/rockchip-flash-tools}} ROCK 3 > Installation > rock3/install/rockchip-flash-tools | Install...") |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
{{Languages|rock3/install/rockchip-flash-tools}} | {{Languages|rock3/install/rockchip-flash-tools}} | ||
− | [[rock3 | ROCK 3]] > [[rock3/install | Installation]] > [[rock3/install/rockchip-flash-tools | Install | + | [[rock3 | ROCK 3]] > [[rock3/install | Installation]] > [[rock3/install/rockchip-flash-tools | Install Rockchip Flashing tools]] |
− | == Install | + | == Install Rockchip flashing tools == |
− | + | ROCK 3 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 3 in ''maskrom mode'' are '''rkdeveloptool''' and '''RKDevTool'''. We use tool rkdeveloptool in Linux/macOS and RKDevTool tool under Windows. | |
− | === Part one: RKDevTool | + | === Part one: RKDevTool on Windows === |
==== Step 1:Install RKDevTool ==== | ==== Step 1:Install RKDevTool ==== | ||
− | The tool is provided in a compressed package. First, download the compressed package of this tool, and click the download link [https://dl.radxa.com/tools/windows/RKDevTool_Release_v2. | + | The tool is provided in a compressed package. First, download the compressed package of this tool, and click the download link [https://dl.radxa.com/tools/windows/RKDevTool_Release_v2.86.zip (RKDevTool_Release_v2.86.zip)]. After downloading, unzip it. Installation step is completed. |
==== Step 2:Install driver ==== | ==== Step 2:Install driver ==== | ||
Line 23: | Line 23: | ||
[[File:RK_Driver_Assistant_Install_Uninstall.jpg]] | [[File:RK_Driver_Assistant_Install_Uninstall.jpg]] | ||
− | Then click “Install Driver”to install the driver. | + | Then click “Install Driver”to install the driver. And restart PC. |
− | === Part two: rkdeveloptool | + | === Part two: rkdeveloptool on Linux === |
− | For Linux, we build the rkdeveloptool | + | 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: | To build rkdeveloptool on a Debian based Linux distribution, follow the instruction below: | ||
Line 35: | Line 35: | ||
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 57: | Line 57: | ||
sudo ldconfig | sudo ldconfig | ||
− | Make sure that its version is | + | Make sure that its version is 1.32.or later |
rkdeveloptool -v | rkdeveloptool -v | ||
rkdeveloptool ver 1.32 | rkdeveloptool ver 1.32 | ||
− | === Part three: rkdeveloptool | + | === Part 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 70: | Line 70: | ||
Clone the source code and build: | Clone the source code and build: | ||
− | git clone https://github.com/ | + | git clone https://github.com/radxa/rkdeveloptool |
cd rkdeveloptool | cd rkdeveloptool | ||
autoreconf -i | autoreconf -i | ||
Line 92: | Line 92: | ||
sudo cp rkdeveloptool /opt/homebrew/bin/ | sudo cp rkdeveloptool /opt/homebrew/bin/ | ||
− | Make sure that its version is | + | Make sure that its version is 1.32 or later. |
rkdeveloptool -v | rkdeveloptool -v | ||
rkdeveloptool ver 1.32 | rkdeveloptool ver 1.32 |
Latest revision as of 02:19, 21 August 2023
ROCK 3 > Installation > Install Rockchip Flashing tools
Contents
Install Rockchip flashing tools
ROCK 3 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 3 in maskrom mode are rkdeveloptool and RKDevTool. We use tool rkdeveloptool in Linux/macOS and RKDevTool tool under Windows.
Part one: RKDevTool on Windows
Step 1:Install RKDevTool
The tool is provided in a compressed package. First, download the compressed package of this tool, and click the download link (RKDevTool_Release_v2.86.zip). After downloading, unzip it. 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.
Part two: rkdeveloptool on Linux
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
Part 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 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