Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:vim1s:install-os:install-os-into-emmc-via-usb-tool

VIM1S Install OS into eMMC via USB Flash Tool

Install OS into eMMC on Ubuntu

Preparation

Dowload the USB Upgrade Tool and extract it to somewhere.

Install USB Drivers

  1. Goto directory V3\Driver and double click dpscat.exe to install. Please note there is no GUI display.
  2. Goto directory V3\Driver and double click dpinst64.exe to install.

Install the OS

  1. Goto root directory double click Aml_Burn_Tool.exe to open the USB upgrade tool.
  2. Click Setup–>Load Image, then choose an OS image for your board.
  3. Connect your board to your PC with a USB-C cable (the board will power on automatically).
  4. Put your board into Upgrade Mode.
  5. If you have correctlyperformed steps 3 and 4, your PC will automatically discover your board as an attached USB device.
  6. Now what you need to do is to click the Start button and wait for the process to complete.

  • Click the Stop button to interrupt flashing, then close the USB Upgrade Tool. Note that the eMMC may have already been completely erased if you went past the 15% mark.
  • An External Power Supply may be required when your PC cannot provide enough electrical power for the burning process.
  • If your system is a 32-bit system, please select dpinst32.exe when installing the driver.

Install OS into eMMC on Ubuntu

Tools were only verified to function properly on Ubuntu. No guarantees were made for other Linux distributions!

Preparation

Install the dependencies.

$ sudo apt-get install libusb-dev git parted

Download the Tool

Flash tools for Ubuntu/Linux.

$ git clone https://github.com/khadas/utils

Or just pull it (if you have already cloned this repository).

$ cd /path/to/utils
$ git pull

Install the Flash Tool

You need to install USB rules and create some links.

$ cd /path/to/utils
$ sudo ./INSTALL

You will see this print-out if it was successful.

Installing Amlogic flash-tool...
 
===============================================
 
Host PC: Ubuntu 16.04
 
===============================================
 
Installing USB rules...
[sudo] password for User:
Installing flash-tool...
Done!
 
Installing Rockchip flash-tool...
 
===============================================
 
Host PC: Ubuntu 16.04
 
===============================================
 
Installing USB rules...
Installing flash-tool...
Done!
Installing Khadas burn-tool...
Done!

Root privilege is required.

Check the USB Driver

You must now put your board into Upgrade Mode.

Check to see if Ubuntu has detected your board as an attached USB device.

VIM Series

$ lsusb | grep Amlogic
Bus 003 Device 073: ID 1b8e:c004 Amlogic, Inc. DNL

Edge Series

$ lsusb | grep Rockchip
Bus 003 Device 117: ID 2207:350b Fuzhou Rockchip Electronics Company 

The message above means that your board is connected and recogized by Ubuntu.

Install the OS on Ubuntu

VIM1

$ burn-tool -v aml -b VIM1 -i /path/to/image

VIM2

$ burn-tool -v aml -b VIM2 -i /path/to/image

VIM3/3L

$ burn-tool -v aml -b VIM3 -i /path/to/image

VIM4

$ burn-tool -v aml -b VIM4 -i /path/to/image

VIM1S

$ burn-tool -v aml -b VIM1S -i /path/to/image

Edge1/Edge2

$ rk-burn-tool -i /path/to/image

Or

$ burn-tool -v rk -i /path/to/image

For more information please refer to flash-tool docs.

Uninstall the Flash Tool

$ cd /path/to/utils
$ sudo ./UNINSTALL
2022/07/07 06:30 · frank
Last modified: 2022/09/28 06:47 by nick