This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:install-os:install-os-into-emmc-on-ubuntu [2022/07/07 06:36] frank add VIM1/VIM2/VIM3/VIM3L burn command |
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 96: | Line 104: | ||
| <tabbox VIM1> | <tabbox VIM1> | ||
| - | ``` | + | ```shell |
| - | $ aml-burn-tool -b VIM1 -i / | + | $ burn-tool |
| ``` | ``` | ||
| <tabbox VIM2> | <tabbox VIM2> | ||
| - | ``` | + | ```shell |
| - | $ aml-burn-tool -b VIM2 -i / | + | $ burn-tool |
| ``` | ``` | ||
| <tabbox VIM3/ | <tabbox VIM3/ | ||
| - | ``` | + | ```shell |
| - | $ aml-burn-tool -b VIM3 -i / | + | $ burn-tool |
| ``` | ``` | ||
| <tabbox VIM4> | <tabbox VIM4> | ||
| - | ``` | + | ```shell |
| - | $ aml-burn-tool -b VIM4 -i / | + | $ burn-tool |
| ``` | ``` | ||
| - | </tabbox> | + | < |
| + | ```shell | ||
| + | $ burn-tool -v aml -b VIM1S -i / | ||
| + | ``` | ||
| - | You will see these teminal logs if successful. | + | <tabbox Edge1/ |
| + | ```shell | ||
| + | $ rk-burn-tool -i / | ||
| + | ``` | ||
| - | ```txt | + | Or |
| - | Burning 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 path vim4-ubuntu-22.04-server-linux-5.4-fenix-1.0.11-220620-emmc-develop.img | + | |
| - | MSG[TLS]exe run path:/ | + | |
| - | 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 | + | |
| - | ... | + | ```shell |
| + | $ burn-tool -v rk -i / | ||
| + | ``` | ||
| - | MSG[TLS][105660110991160c00000000]LMsg[usbFlw]cmd[oem mwrite 0x1cefb normal store _aml_dtb] | ||
| - | MSG[TLS][105660110991160c00000000]LMsg[usbFlw][MWrite] finsihed | ||
| - | MSG[TLS]UI: | ||
| - | MSG[TLS][105660110991160c00000000]LMsg[usbFlw]cmd[oem verify sha1sum 799ab7772f6dc4d78d9612916910b589e63df481] | ||
| - | MSG[TLS]UI: | ||
| - | 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! | ||
| - | ``` | + | </ |
| - | For more information please refer to [[https:// | + | |
| + | 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]]. | ||