Difference between revisions of "Android/upgrage tool"
(→Basic commands) |
|||
Line 13: | Line 13: | ||
Download [https://wiki.radxa.com/mw/images/7/74/Linux_Upgrade_Tool.zip upgrade_tool] | Download [https://wiki.radxa.com/mw/images/7/74/Linux_Upgrade_Tool.zip upgrade_tool] | ||
+ | |||
== Configuration == | == Configuration == | ||
Follow these steps: | Follow these steps: | ||
Line 26: | Line 27: | ||
└── upgrade_tool // Executable process | └── upgrade_tool // Executable process | ||
</pre> | </pre> | ||
+ | |||
+ | |||
==== Setp2: Copy Config File ==== | ==== Setp2: Copy Config File ==== | ||
− | < | + | <pre> |
radxa$ mkdir -p ~/.config/upgrade_tool | radxa$ mkdir -p ~/.config/upgrade_tool | ||
radxa$ cp $(Linux_Upgrade_Tool)/config.ini ~/.config/upgrade_tool/ | radxa$ cp $(Linux_Upgrade_Tool)/config.ini ~/.config/upgrade_tool/ | ||
− | </ | + | </pre> |
+ | |||
+ | |||
==== Setp3: Copy Process File ==== | ==== Setp3: Copy Process File ==== | ||
− | < | + | <pre> |
radxa$ sudo cp $(Linux_Upgrade_Tool)/upgrade_tool /use/local/bin/upgrade_tool | radxa$ sudo cp $(Linux_Upgrade_Tool)/upgrade_tool /use/local/bin/upgrade_tool | ||
radxa$ sudo chmod +x /usr/local/bin/upgrade_tool | radxa$ sudo chmod +x /usr/local/bin/upgrade_tool | ||
− | </ | + | </pre> |
− | ==== | + | |
− | < | + | |
+ | ==== Setp4: Check Upgrade_Tool Work ==== | ||
+ | <pre> | ||
radxa$ upgrade_tool -v | radxa$ upgrade_tool -v | ||
Program Data in /home/radxa/.config/upgrade_tool | Program Data in /home/radxa/.config/upgrade_tool | ||
Upgrade Tool v1.43 | Upgrade Tool v1.43 | ||
− | </ | + | </pre> |
+ | |||
== Basic commands == | == Basic commands == | ||
List Devices | List Devices | ||
− | < | + | <pre> |
upgrade_tool ld | upgrade_tool ld | ||
− | </ | + | </pre> |
Burning rkupdate image | Burning rkupdate image | ||
− | < | + | <pre> |
upgrade_tool uf $(path)/android9-*-rkupdate.img | upgrade_tool uf $(path)/android9-*-rkupdate.img | ||
− | </ | + | </pre> |
Download Loader | Download Loader | ||
− | < | + | <pre> |
upgrade_tool db $(path)/u-boot/rk3399_loader_v1.20.119.bin | upgrade_tool db $(path)/u-boot/rk3399_loader_v1.20.119.bin | ||
− | </ | + | </pre> |
Reset Device | Reset Device | ||
− | < | + | <pre> |
upgrade_tool rd | upgrade_tool rd | ||
− | </ | + | </pre> |
+ | |||
== For Example == | == For Example == | ||
Erase emmc | Erase emmc | ||
− | < | + | <pre> |
radxa$ upgrade_tool ef $(path)/u-boot/rk3399_loader_v1.20.119.bin | radxa$ upgrade_tool ef $(path)/u-boot/rk3399_loader_v1.20.119.bin | ||
− | </ | + | </pre> |
Show Partitions | Show Partitions | ||
− | < | + | <pre> |
radxa$ upgrade_tool db $(path)/u-boot/rk3399_loader_v1.20.119.bin | radxa$ upgrade_tool db $(path)/u-boot/rk3399_loader_v1.20.119.bin | ||
radxa$ upgrade_tool pl | radxa$ upgrade_tool pl | ||
− | </ | + | </pre> |
Revision as of 01:51, 26 April 2020
Android > upgrage_tool
Contents
Requirements
This page describe how to download and install the rkupdate image by rockchip upgrage_tool. You need at least the following.
- a PC/laptop running Linux(64 bit)
- upgrade_tool
Download upgrade_tool
Configuration
Follow these steps:
Setp1: Unpack Zip
File list
Linux_Upgrade_Tool.zip ├── config.ini // Config file ├── Linux 开发工具使用手册_v1.32.pdf // The manual ├── Readme.txt └── upgrade_tool // Executable process
Setp2: Copy Config File
radxa$ mkdir -p ~/.config/upgrade_tool radxa$ cp $(Linux_Upgrade_Tool)/config.ini ~/.config/upgrade_tool/
Setp3: Copy Process File
radxa$ sudo cp $(Linux_Upgrade_Tool)/upgrade_tool /use/local/bin/upgrade_tool radxa$ sudo chmod +x /usr/local/bin/upgrade_tool
Setp4: Check Upgrade_Tool Work
radxa$ upgrade_tool -v Program Data in /home/radxa/.config/upgrade_tool Upgrade Tool v1.43
Basic commands
List Devices
upgrade_tool ld
Burning rkupdate image
upgrade_tool uf $(path)/android9-*-rkupdate.img
Download Loader
upgrade_tool db $(path)/u-boot/rk3399_loader_v1.20.119.bin
Reset Device
upgrade_tool rd
For Example
Erase emmc
radxa$ upgrade_tool ef $(path)/u-boot/rk3399_loader_v1.20.119.bin
Show Partitions
radxa$ upgrade_tool db $(path)/u-boot/rk3399_loader_v1.20.119.bin radxa$ upgrade_tool pl