Difference between revisions of "Upgradetool"

From Rockchip open source Document
Jump to: navigation, search
(Created page with "  ")
 
Line 1: Line 1:
 +
 +
upgradetool is a firmware upgrade tool for Linux. You can find it in [Linux SDK root]/ tools/linux/Linux_Upgrade_Tool.  Or you can donwload it from [https://github.com/rockchip-linux/tools/tree/rk3399/linux/Linux_Upgrade_Tool here]. 
 +
 +
To use upgradetool  flash image. Please make sure your device is in [[Rockusb|maskrom rockusb mode]].  Go to the rockimg directory
 +
<pre>cd rockimg
 +
</pre>
 +
 +
Use below command to flash image. Let's use RK3399 as an example. You only need change rk3399_loader_v1.09.112.bin to the one you are using.&nbsp;
 +
<pre>sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool ul rk3399_loader_v1.09.112.bin
 +
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -p parameter.txt
 +
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -u uboot.img
 +
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -t trust.img
 +
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -re resource.img
 +
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -k kernel.img
 +
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -rootfs linaro-rootfs.img
 +
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool rd
 +
 +
</pre>
  
 
&nbsp;
 
&nbsp;

Revision as of 10:41, 18 April 2018

upgradetool is a firmware upgrade tool for Linux. You can find it in [Linux SDK root]/ tools/linux/Linux_Upgrade_Tool.  Or you can donwload it from here

To use upgradetool  flash image. Please make sure your device is in maskrom rockusb mode.  Go to the rockimg directory

cd rockimg

Use below command to flash image. Let's use RK3399 as an example. You only need change rk3399_loader_v1.09.112.bin to the one you are using. 

sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool ul rk3399_loader_v1.09.112.bin
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -p parameter.txt
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -u uboot.img
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -t trust.img
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -re resource.img
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -k kernel.img
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool di -rootfs linaro-rootfs.img
sudo ../ tools/linux/Linux_Upgrade_Tool/upgrade_tool rd