Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

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 ====
<code>
+
<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/
</code>
+
</pre>
 +
 
 +
 
 
==== Setp3: Copy Process File ====
 
==== Setp3: Copy Process File ====
<code>
+
<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
</code>
+
</pre>
==== Setp3: Check Upgrade_Tool Work ====
+
 
<code>
+
 
 +
==== 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
</code>
+
</pre>
 
    
 
    
 +
 
== Basic commands ==
 
== Basic commands ==
 
List Devices
 
List Devices
<code bash>
+
<pre>
 
     upgrade_tool ld
 
     upgrade_tool ld
</code>
+
</pre>
 
Burning rkupdate image
 
Burning rkupdate image
<code bash>
+
<pre>
 
     upgrade_tool uf $(path)/android9-*-rkupdate.img
 
     upgrade_tool uf $(path)/android9-*-rkupdate.img
</code>
+
</pre>
 
Download Loader
 
Download Loader
<code bash>
+
<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
</code>
+
</pre>
 
Reset Device
 
Reset Device
<code bash>
+
<pre>
 
     upgrade_tool rd
 
     upgrade_tool rd
</code>
+
</pre>
 +
 
  
 
== For Example ==
 
== For Example ==
 
Erase emmc
 
Erase emmc
<code>
+
<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
</code>
+
</pre>
 
Show Partitions
 
Show Partitions
<code>
+
<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
</code>
+
</pre>

Revision as of 01:51, 26 April 2020

Android > upgrage_tool

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