VIM3L开发板系统烧写

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进入升级模式

  1. 给VIM3上电。
  2. 在2S内连续按3次Func按键后松开。
  3. 你会看到系统电源指示灯(蓝色)闪烁,3s后电源指示灯(蓝色)会熄灭,表明板子已经进入升级模式。
  4. 检查USB驱动:
$ lsusb | grep Amlogic
Bus 002 Devices 036: ID 1b8e:c003 Amlogic, Inc.

以上信息说明PC已经识别到了VIM3

如何在Ubuntu下烧录固件

有2个命令可以用于烧录固件:burn-toolaml-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,可以指定,也可以不指定。

Rebooting the board ........[OK]
Unpacking image [OK]
Initializing ddr ........[OK]
Running u-boot ........[OK]
Create partitions [OK]
Writing device tree [OK]
Writing bootloader [OK]
Wiping  data partition [OK]
Wiping  cache partition [OK]
Writing boot partition [OK]
Writing data partition [OK]
Writing logo partition [OK]
Writing system partition [OK]
Do you want to reset the board? y/n [n]? y
Resetting board [OK]

方法二:

1.download krescue!

dl.khadas.com - Index of /

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值