1.主机Ubuntu环境配置——通过Ubuntu升级固件
$ sudo apt-get install libusb-dev git parted
$ git clone https://github.com/khadas/utils
$ cd /path/to/utils
$ git pull
#安装烧录工具
$ cd /path/to/utils
$ ./INSTALL
#如果成功安装你会看到如下信息:
Installing Amlogic flash-tool...
===============================================
Host PC: Ubuntu 16.04
===============================================
Installing USB rules...
[sudo] password for nick:
Installing flash-tool...
Done!
Installing Rockchip flash-tool...
===============================================
Host PC: Ubuntu 16.04
===============================================
Installing USB rules...
Installing flash-tool...
Done!
Installing Khadas burn
Done!
注意 安装过程中需要root权限。
检查USB驱动
首先设置VIMs进入升级模式
- 给VIM3上电。
- 在2S内连续按3次
Func
按键后松开。 - 你会看到系统电源指示灯(蓝色)闪烁,3s后电源指示灯(蓝色)会熄灭,表明板子已经进入升级模式。
- 检查USB驱动:
$ lsusb | grep Amlogic
Bus 002 Devices 036: ID 1b8e:c003 Amlogic, Inc.
以上信息说明PC已经识别到了VIM3
如何在Ubuntu下烧录固件
有2个命令可以用于烧录固件:burn-tool
和aml-burn-tool
。
以烧录VIM3为例:
通过烧录命令burn-tool
:
$ burn-tool -v aml -b VIM3 -i /path/to/image
Amlogic平台专用烧录命令aml-burn-tool
:
aml-burn-tool -b VIM3 -i /path/to/image
注意:烧录VIM3一定要指定-b VIM3
参数,否则会失败。对于VIM1或VIM2,可以指定,也可以不指定。
|
方法二:
1.download krescue!
2.plug in your sd card.
4.slot card into your vim.
5. 5V power and HDMI
6.Enter Mask ROM mode
7. dump emmc to sd
8. write .img to emmc.
参考链接:
https://www.youtube.com/watch?v=ER4BOJUhoYU&list=PLGGuVRm-ib1MnkVJKJzP_KmrGzZ6S_a6p&index=3