Difference between revisions of "Android/upgrage tool"
(Created page with "{{Languages|Android/upgrage_tool}} == Requirements == This page describe how to download and install the rkupdate image by rockchip upgrage_tool. You need at least the follo...") |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Languages|Android/upgrage_tool}} | {{Languages|Android/upgrage_tool}} | ||
+ | |||
+ | [[Android | Android]] > [[Android/upgrage_tool | upgrage_tool]] | ||
== Requirements == | == Requirements == | ||
Line 9: | Line 11: | ||
− | Download [ | + | Download [https://wiki.radxa.com/mw/images/7/74/Linux_Upgrade_Tool.zip upgrade_tool] |
+ | |||
== Configuration == | == Configuration == | ||
Follow these steps: | Follow these steps: | ||
− | |||
==== Setp1: Unpack Zip ==== | ==== Setp1: Unpack Zip ==== | ||
File list | File list | ||
− | < | + | <pre> |
Linux_Upgrade_Tool.zip | Linux_Upgrade_Tool.zip | ||
├── config.ini // Config file | ├── config.ini // Config file | ||
Line 23: | Line 25: | ||
├── Readme.txt | ├── Readme.txt | ||
└── upgrade_tool // Executable process | └── upgrade_tool // Executable process | ||
− | </ | + | </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> |
Latest revision as of 02:22, 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