This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:common:install-os:install-os-into-emmc-on-ubuntu [2022/07/07 06:30] frank created |
products:sbc:common:install-os:install-os-into-emmc-on-ubuntu [2024/02/01 21:30] (current) nick [Edge1/Edge2] |
||
---|---|---|---|
Line 3: | Line 3: | ||
<WRAP important > | <WRAP important > | ||
- | Tools were verified to function properly on Ubuntu | + | Tools were only verified to function properly on Ubuntu. No guarantees |
</ | </ | ||
Line 11: | Line 11: | ||
Install the dependencies. | Install the dependencies. | ||
- | ```bash | + | ```shell |
$ sudo apt-get install libusb-dev git parted | $ sudo apt-get install libusb-dev git parted | ||
``` | ``` | ||
Line 17: | Line 17: | ||
===== Download the Tool ===== | ===== Download the Tool ===== | ||
- | /*is on Khadas GitHub*/ | + | [[kg> |
- | ```bash | + | ```shell |
$ git clone https:// | $ git clone https:// | ||
``` | ``` | ||
Line 25: | Line 25: | ||
Or just pull it (if you have already cloned this repository). | Or just pull it (if you have already cloned this repository). | ||
- | ```bash | + | ```shell |
$ cd / | $ cd / | ||
$ git pull | $ git pull | ||
Line 34: | Line 34: | ||
You need to install USB rules and create some links. | You need to install USB rules and create some links. | ||
- | ```bash | + | ```shell |
$ cd / | $ cd / | ||
$ sudo ./INSTALL | $ sudo ./INSTALL | ||
Line 69: | Line 69: | ||
Done! | Done! | ||
``` | ``` | ||
- | /* | + | |
- | <WRAP important > | + | |
- | Root privilege is required. | + | |
- | </ | + | |
- | */ | + | |
<wrap important > | <wrap important > | ||
Root privilege is required. | Root privilege is required. | ||
Line 81: | Line 77: | ||
- | You must now [[boot-into-upgrade-mode| | + | 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. | + | Check to see if Ubuntu has detected your board as an attached USB device. |
- | ```bash | + | <tabbox VIM Series> |
+ | |||
+ | ```shell | ||
$ lsusb | grep Amlogic | $ lsusb | grep Amlogic | ||
Bus 003 Device 073: ID 1b8e:c004 Amlogic, Inc. DNL | Bus 003 Device 073: ID 1b8e:c004 Amlogic, Inc. DNL | ||
``` | ``` | ||
+ | |||
+ | <tabbox Edge Series> | ||
+ | |||
+ | ```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. | The message above means that your board is connected and recogized by Ubuntu. | ||
Line 94: | Line 102: | ||
===== Install the OS on Ubuntu ===== | ===== Install the OS on Ubuntu ===== | ||
+ | <tabbox VIM1> | ||
+ | |||
+ | ```shell | ||
+ | $ burn-tool -v aml -b VIM1 -i / | ||
``` | ``` | ||
- | $ aml-burn-tool -b VIM4 -i / | + | |
+ | <tabbox VIM2> | ||
+ | |||
+ | ```shell | ||
+ | $ burn-tool | ||
``` | ``` | ||
- | You will see these teminal logs if successful. | + | <tabbox VIM3/ |
- | ```txt | + | ```shell |
- | Burning image 'vim4-ubuntu-22.04-server-linux-5.4-fenix-1.0.11-220620-emmc-develop.img' | + | $ burn-tool -v aml -b VIM3 -i /path/to/image |
- | next try index 3, current opt arg vim4-ubuntu-22.04-server-linux-5.4-fenix-1.0.11-220620-emmc-develop.img | + | ``` |
- | MSG[TLS]pkg | + | |
- | MSG[TLS]exe run path:/storage/code/ | + | |
- | MSG[FLW]Aml_flow_init version V1.1-trunk Nov 1 2019! | + | |
- | MSG[FLW]Tooltype 3 | + | |
- | DBG[FLW]ok in load lib AmlImagePack.so | + | |
- | MSG[FLW]OK leave Aml_flow_init | + | |
- | ... | + | <tabbox VIM4> |
- | MSG[TLS][105660110991160c00000000]LMsg[usbFlw]cmd[oem mwrite 0x1cefb normal store _aml_dtb] | + | ```shell |
- | MSG[TLS][105660110991160c00000000]LMsg[usbFlw][MWrite] finsihed | + | $ burn-tool -v aml -b VIM4 -i / |
- | MSG[TLS]UI: | + | ``` |
- | MSG[TLS][105660110991160c00000000]LMsg[usbFlw]cmd[oem verify sha1sum 799ab7772f6dc4d78d9612916910b589e63df481] | + | |
- | MSG[TLS]UI: | + | <tabbox VIM1S> |
- | MSG[TLS][105660110991160c00000000]LMsg[usbFlw]cmd[oem mwrite 0x319000 normal store bootloader] | + | |
- | MSG[TLS][105660110991160c00000000]LMsg[usbFlw][MWrite] finsihed | + | |
- | MSG[TLS]UI: | + | |
- | MSG[TLS][105660110991160c00000000]LMsg[usbFlw]cmd[oem verify sha1sum f5ab1b260d5153161fed73a7baca58330c105863] | + | |
- | MSG[TLS][105660110991160c00000000]LMsg[usbFlw]cmd[oem save_setting] | + | |
- | MSG[TLS][105660110991160c00000000]burn successful^_^ | + | |
- | Time elapsed: 3 minute(s). | + | |
- | Done! | + | |
+ | ```shell | ||
+ | $ burn-tool -v aml -b VIM1S -i / | ||
``` | ``` | ||
- | For more information please refer to [[https:// | + | <tabbox Edge1/ |
+ | ```shell | ||
+ | $ rk-burn-tool -i / | ||
+ | ``` | ||
+ | |||
+ | Or | ||
+ | |||
+ | ```shell | ||
+ | $ burn-tool -v rk -i / | ||
+ | ``` | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | For more information please refer to [[kg>/ | ||
===== Uninstall the Flash Tool ===== | ===== Uninstall the Flash Tool ===== | ||
- | ```bash | + | ```shell |
$ cd / | $ cd / | ||
$ sudo ./UNINSTALL | $ sudo ./UNINSTALL | ||
``` | ``` | ||
- | |||
- | ===== See Also ===== | ||
- | |||
- | [[boot-into-upgrade-mode| Boot into Upgrade Mode]]. |