This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
products:sbc:vim4:install-os:install-os-into-emmc-via-usb-tool [2022/07/01 05:45] nick |
products:sbc:vim4:install-os:install-os-into-emmc-via-usb-tool [2022/09/28 06:05] nick |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Install OS into eMMC ====== | + | {{indexmenu_n> |
- | All VIM series boards have **onboard eMMC storage**, so you can install the **OS** into the **eMMC** using the **USB upgrade tool**. | ||
- | ===== Install | + | ====== VIM4 Install |
- | ==== Preparation | + | ==== Install OS into eMMC on Windows |
- | Dowload the [[dl>products/vim4/tool/aml-burn-tool-v3.2.0.zip|USB Upgrade Tool ]] and extract it to somewhere. | + | Please check [[products:sbc:vim4:install-os:install-os-into-emmc-on-windows]]. |
- | ==== Install | + | ==== Install |
- | + | ||
- | - Goto directory '' | + | |
- | - Goto directory '' | + | |
- | ==== Flash Image ==== | ||
- | - Goto root directory double click '' | + | Please check [[products: |
- | - Click '' | + | |
- | - Connect your board to your PC with a USB-C cable (the board will power on automatically). | + | |
- | - Put your board into [[boot-into-upgrade-mode | Upgrade Mode]]. | + | |
- | - If you have performed steps 3 and 4 correctly, your PC will automatically discover your board as an attached USB-device. | + | |
- | - Now all you need to do is to click the '' | + | |
- | + | ||
- | {{:products: | + | |
- | + | ||
- | + | ||
- | <note info> | + | |
- | + | ||
- | * To interrupt flashing, click the '' | + | |
- | * An [[extra-power-input | External Power Supply]] may be required in cases where your PC cannot provide enough electrical power for the burning process. | + | |
- | * If your system is a 32-bit system, please select '' | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | + | ||
- | ===== Install on Ubuntu ===== | + | |
- | + | ||
- | + | ||
- | <note warn> | + | |
- | + | ||
- | Tools were verified to function properly on Ubuntu only, we make no guarantees for other Linux distributions! | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | ==== Preparation ==== | + | |
- | + | ||
- | + | ||
- | ```bash | + | |
- | $ sudo apt-get | + | |
- | ``` | + | |
- | + | ||
- | ==== Download Burning Tool ==== | + | |
- | + | ||
- | + | ||
- | Image burning tool for Ubuntu is in this repository [[https:// | + | |
- | + | ||
- | ```bash | + | |
- | $ git clone https:// | + | |
- | ``` | + | |
- | + | ||
- | Or just pull it (if you have already cloned this repository). | + | |
- | + | ||
- | ```bash | + | |
- | $ cd / | + | |
- | $ git pull | + | |
- | ``` | + | |
- | + | ||
- | ==== Install Burning Tool ==== | + | |
- | + | ||
- | + | ||
- | You need to install USB rules and create some links. | + | |
- | + | ||
- | ```bash | + | |
- | $ cd / | + | |
- | $ sudo ./INSTALL | + | |
- | ``` | + | |
- | + | ||
- | You will see this print-out if it was successful. | + | |
- | + | ||
- | ```bash | + | |
- | 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! | + | |
- | ``` | + | |
- | <WRAP info> | + | |
- | + | ||
- | Root privilege is required. | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | ==== Check the USB Driver ==== | + | |
- | + | ||
- | + | ||
- | You must now place your board into `Upgrade Mode`. See [how to enter upgrade mode](BootIntoUpgradeMode.html). | + | |
- | Check to see if Ubuntu has detected your board as an attached USB-device. | + | |
- | + | ||
- | ```bash | + | |
- | $ lsusb | grep Amlogic | + | |
- | BUS 002 Device 036: ID 1b8e:c003 Amlogic, Inc. | + | |
- | ``` | + | |
- | The message above means that your board is connected and recogized by Ubuntu. | + | |
- | + | ||
- | ==== Install the OS on Ubuntu ==== | + | |
- | + | ||
- | + | ||
- | + | ||
- | ```bash | + | |
- | $ aml-burn-tool -i / | + | |
- | ``` | + | |
- | + | ||
- | You will see these teminal logs if successful. | + | |
- | + | ||
- | ```bash | + | |
- | 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 | + | |
- | Wiping | + | |
- | 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] | + | |
- | ``` | + | |
- | + | ||
- | ```bash | + | |
- | $ aml-burn-tool -b VIM4 -i / | + | |
- | ``` | + | |
- | + | ||
- | + | ||
- | For more information please refer to [docs](https:// | + | |
- | + | ||
- | ==== Uninstall Burning Tool ==== | + | |
- | + | ||
- | + | ||
- | ```bash | + | |
- | $ cd / | + | |
- | $ sudo ./ | + | |
- | ``` | + | |
- | + | ||
- | + | ||
- | ==== See Also ==== | + | |
- | + | ||
- | [boot-into-upgrade-mode| Boot into Upgrade Mode). | + | |