This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:edge1:install-os:install-os-into-emmc-via-usb-tool [2022/09/28 02:48] nick |
products:sbc:edge1:install-os:install-os-into-emmc-via-usb-tool [2022/09/30 04:22] (current) nick |
||
---|---|---|---|
Line 12: | Line 12: | ||
==== Preparation ==== | ==== Preparation ==== | ||
- | Dowload the [[https://dl.khadas.com/ | + | Dowload the [[dl> |
==== Install USB Drivers ==== | ==== Install USB Drivers ==== | ||
Line 33: | Line 33: | ||
===== Install on Ubuntu PC ===== | ===== Install on Ubuntu PC ===== | ||
- | <WRAP important | + | {{page>products/sbc/ |
- | Tools were only verified to function properly on Ubuntu. No guarantees were made for other Linux distributions! | + | |
- | </WRAP> | + | |
- | |||
- | ==== Preparation ==== | ||
- | |||
- | Install the dependencies. | ||
- | |||
- | ```shell | ||
- | $ sudo apt update | ||
- | $ sudo apt install libusb-dev git parted | ||
- | ``` | ||
- | |||
- | ==== Download the Tool ==== | ||
- | |||
- | [[kg> | ||
- | |||
- | ```shell | ||
- | $ git clone https:// | ||
- | ``` | ||
- | |||
- | Or just pull it (if you have already cloned this repository). | ||
- | |||
- | ```shell | ||
- | $ cd / | ||
- | $ git pull | ||
- | ``` | ||
- | |||
- | ==== Install the Flash Tool ==== | ||
- | |||
- | You need to install USB rules and create some links. | ||
- | |||
- | ```shell | ||
- | $ cd / | ||
- | $ sudo ./INSTALL | ||
- | ``` | ||
- | |||
- | You will see this print-out if it was successful. | ||
- | |||
- | ```txt | ||
- | 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 important > | ||
- | Root privilege is required. | ||
- | </ | ||
- | |||
- | ==== Check the USB Driver ==== | ||
- | |||
- | |||
- | You must now put your board into [[boot-into-upgrade-mode| Upgrade Mode]]. | ||
- | |||
- | Check to see if Ubuntu has detected your board as an attached USB device. | ||
- | |||
- | |||
- | ```shell | ||
- | $ 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 ==== | ||
- | |||
- | |||
- | ```shell | ||
- | $ burn-tool -v rk -i / | ||
- | ``` | ||
- | |||
- | In successful case we will see these terminal logs: | ||
- | |||
- | ```txt | ||
- | Try to burn Rockchip image... | ||
- | Burn to eMMC... | ||
- | Rockchip Android image (or linux image compatible with AndroidTool one image burning) found! | ||
- | Try to burn Rockchip image... | ||
- | Using / | ||
- | Program Log will save in the / | ||
- | Loading firmware... | ||
- | Support Type: | ||
- | Loader ver: | ||
- | Upgrade firmware ok. | ||
- | Time elapsed: 1 minute(s). | ||
- | Done! | ||
- | |||
- | ``` | ||
- | |||
- | For more information please refer to [[kg> | ||
- | |||
- | ==== Uninstall the Flash Tool ==== | ||
- | |||
- | ```shell | ||
- | $ cd / | ||
- | $ sudo ./UNINSTALL | ||
- | ``` |