Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:install-os:install-os-into-emmc-via-oowow

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
products:sbc:vim4:install-os:install-os-into-emmc-via-oowow [2022/09/06 00:24]
hyphop [API - shell]
products:sbc:vim4:install-os:install-os-into-emmc-via-oowow [2022/09/28 06:04] (current)
nick
Line 1: Line 1:
 +{{indexmenu_n>10}}
 +
 +
 ~~tag>VIM4 oowow~~ ~~tag>VIM4 oowow~~
 ====== VIM4 Install OS into eMMC via OOWOW ====== ====== VIM4 Install OS into eMMC via OOWOW ======
  
-===== GUI - Wizard =====+OOWOW provide many ways for eMMC writing, for any configurations.
  
-===== GUI - Write Image to eMMC =====+===== GUI =====
  
 +Common OOWOW menu interface available for HDMI display and USB-keyboard.
 +
 +==== Wizard ====
 +
 +OOWOW Wizard automate all steps for you, just follow instructions.
 +
 +==== Write Image to eMMC ====
 +
 +More advanced way user can choose any suitable image from different locations: local storage SD/USB/... , network storage or download server.
 +
 +{{/products/sbc/vim4/install-os/oowow-emmc-write.webp}}
 +
 +===== WEB GUI =====
 +
 +Same OOWOW menu interface get via web by your preferred browser:
 +
 +  * LAN: ''%%http://vim4-XXXXX.local%%'' - [[#scan-local-network-for-vim4-names]]
 +  * USB: ''%%http://172.22.1.1%%''
 +  * Hot-Spot: ''%%http://172.23.0.1%%''
 ===== API - shell ===== ===== API - shell =====
  
 All next steps doing on pc side by command-lines shell. Both devices must be connected in same local network. All next steps doing on pc side by command-lines shell. Both devices must be connected in same local network.
  
-==== Scan local network for vim4 ====+<WRAP tip > 
 +Advanced way for developer, head-less usage, automation, scripting and advanced users. 
 +</WRAP>
  
-```shell scan-vim4-devices-in-local-networks.sh +==== Write via USB-OTG connection ====
-~$ avahi-browse -a |grep vim4 +
-+  wlan0 IPv4 vim4-00064                                    SSH Remote Terminal  local +
-+   usb0 IPv4 vim4-00064                                    _device-info._tcp    local +
-+   usb0 IPv4 vim4-00064                                    SSH Remote Terminal  local +
-+  wlan0 IPv4 vim4-00064                                    _device-info._tcp    local +
- +
-```+
  
 <WRAP tip > <WRAP tip >
Line 28: Line 45:
 curl 172.22.1.1/shell/write | sh -s - IMAGE curl 172.22.1.1/shell/write | sh -s - IMAGE
 ``` ```
 +
 +==== Write via Hot-Spot WAN connection ====
  
 <WRAP tip > <WRAP tip >
Line 37: Line 56:
 ``` ```
  
 +==== Write via LAN connection ====
 +
 +<WRAP tip >
 +VIM4 by local network name vim4-XXXXX can get  [[#scan-local-network-for-vim4-names]].
 +</WRAP>
 +
 +```sh api-write-image-to-emmc-by-lan-connection.sh
 +curl vim4-XXXXX/shell/write | sh -s - IMAGE
 +```
 +
 +===== Scan local network for vim4 names =====
 +
 +We can get access to any VIM4 device by local network name.
 +
 +```shell scan-vim4-devices-in-local-networks.sh
 +~$ avahi-browse -a |grep vim4
 ++  wlan0 IPv4 vim4-00064                                    SSH Remote Terminal  local
 ++   usb0 IPv4 vim4-00064                                    _device-info._tcp    local
 ++   usb0 IPv4 vim4-00064                                    SSH Remote Terminal  local
 ++  wlan0 IPv4 vim4-00064                                    _device-info._tcp    local
 +~$ ping vim4-00064.local
 +~$ ssh root@vim4-00064.local
 +...
 +```
  
 +Any time can get right name for your device ''vim4-XXXXX.local'' where XXXXX is a last 5 digits from device serial number.
Last modified: 2022/09/06 00:24 by hyphop