Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:install-os:install-os-into-emmc-on-ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next 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 [2022/09/28 06:28]
nick
Line 3: Line 3:
  
 <WRAP important > <WRAP important >
-Tools were verified to function properly on Ubuntu only, we make no guarantees for other Linux distributions!+Tools were only verified to function properly on Ubuntu. No guarantees were made for other Linux distributions!
 </WRAP> </WRAP>
  
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>utils|Flash tools for Ubuntu/Linux]].+[[kg>utils|Flash tools for Ubuntu/Linux]].
  
-```bash+```shell
 $ git clone https://github.com/khadas/utils $ git clone https://github.com/khadas/utils
 ``` ```
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 /path/to/utils $ cd /path/to/utils
 $ 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 /path/to/utils $ cd /path/to/utils
 $ sudo ./INSTALL $ sudo ./INSTALL
Line 69: Line 69:
 Done! Done!
 ``` ```
-/* +
-<WRAP important > +
-Root privilege is required. +
-</WRAP> +
-*/+
 <wrap important > <wrap important >
 Root privilege is required. Root privilege is required.
Line 81: Line 77:
  
  
-You must now [[boot-into-upgrade-mode| put your board 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 
 +```
 +
 +</tabbox>
 +
  
 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 /path/to/image+$ burn-tool -v aml -b VIM1 -i /path/to/image
 ``` ```
  
 <tabbox VIM2>  <tabbox VIM2> 
  
-``` +```shell 
-aml-burn-tool -b VIM2 -i /path/to/image+$ burn-tool -v aml -b VIM2 -i /path/to/image
 ``` ```
  
 <tabbox VIM3/3L>  <tabbox VIM3/3L> 
  
-``` +```shell 
-aml-burn-tool -b VIM3 -i /path/to/image+$ burn-tool -v aml -b VIM3 -i /path/to/image
 ``` ```
  
 <tabbox VIM4>  <tabbox VIM4> 
  
-``` +```shell 
-aml-burn-tool -b VIM4 -i /path/to/image+$ burn-tool -v aml -b VIM4 -i /path/to/image
 ``` ```
  
-</tabbox>+<tabbox VIM1S
  
 +```shell
 +$ burn-tool -v aml -b VIM1S -i /path/to/image
 +```
  
-You will see these teminal logs if successful.+<tabbox Edge1/Edge2> 
  
-```txt +```shell 
-Burning image 'vim4-ubuntu-22.04-server-linux-5.4-fenix-1.0.11-220620-emmc-develop.img' for 'VIM4' to eMMC... +$ burn-tool -v rk -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 path vim4-ubuntu-22.04-server-linux-5.4-fenix-1.0.11-220620-emmc-develop.img +</tabbox>
-MSG[TLS]exe run path:/storage/code/git/utils/aml-flash-tool/tools/adnl +
-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+
  
-... 
  
-MSG[TLS][105660110991160c00000000]LMsg[usbFlw]cmd[oem mwrite 0x1cefb normal store _aml_dtb] +For more information please refer to [[kg>/utils/|flash-tool docs]].
-MSG[TLS][105660110991160c00000000]LMsg[usbFlw][MWrite] finsihed +
-MSG[TLS]UI:Verifying__aml_dtb +
-MSG[TLS][105660110991160c00000000]LMsg[usbFlw]cmd[oem verify sha1sum 799ab7772f6dc4d78d9612916910b589e63df481] +
-MSG[TLS]UI:Downloading_bootloader] %98.. +
-MSG[TLS][105660110991160c00000000]LMsg[usbFlw]cmd[oem mwrite 0x319000 normal store bootloader] +
-MSG[TLS][105660110991160c00000000]LMsg[usbFlw][MWrite] finsihed +
-MSG[TLS]UI:Verifying_bootloader +
-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://github.com/khadas/utils/tree/master/aml-flash-tool/docs|aml-flash-tool docs]].+
  
 ===== Uninstall the Flash Tool ===== ===== Uninstall the Flash Tool =====
  
-```bash+```shell
 $ cd /path/to/utils $ cd /path/to/utils
 $ sudo ./UNINSTALL $ sudo ./UNINSTALL
 ``` ```
- 
-===== See Also ===== 
- 
-[[boot-into-upgrade-mode| Boot into Upgrade Mode]]. 
Last modified: 2024/02/01 21:30 by nick