Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


software:oowow:how-to:start

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
software:oowow:how-to:start [2023/02/03 23:01]
hyphop
software:oowow:how-to:start [2025/03/03 01:27] (current)
hyphop [Manual write OOWOW firmware by online]
Line 1: Line 1:
 +~~tag>OOWOW howto~~
 ====== OOWOW How-To ====== ====== OOWOW How-To ======
 +
 +===== How-to manuals =====
 +
 +~~NOCACHE~~
 +
 +<catlist . -noHead >
 +
  
 ===== Write OOWOW image to removable storage ====== ===== Write OOWOW image to removable storage ======
Line 6: Line 14:
 Need replace ''/dev/sdX'' to actual device node name Need replace ''/dev/sdX'' to actual device node name
 </WRAP> </WRAP>
 +
 +```sh VIM1S
 +curl -L http://dl.khadas.com/products/oowow/system/vim1s-oowow-latest-sd.img.gz \
 +| gzip -dc | dd conv=fsync,notrunc of=/dev/sdX
 +```
  
 ```sh VIM1  ```sh VIM1 
 curl -L http://dl.khadas.com/products/oowow/system/vim2-oowow-latest-sd.img.gz \ curl -L http://dl.khadas.com/products/oowow/system/vim2-oowow-latest-sd.img.gz \
-| gzip -dc | dd of=/dev/sdX+| gzip -dc | dd conv=fsync,notrunc of=/dev/sdX
 ``` ```
  
 ```sh VIM2 ```sh VIM2
 curl -L http://dl.khadas.com/products/oowow/system/vim2-oowow-latest-sd.img.gz \ curl -L http://dl.khadas.com/products/oowow/system/vim2-oowow-latest-sd.img.gz \
-| gzip -dc | dd of=/dev/sdX+| gzip -dc | dd conv=fsync,notrunc of=/dev/sdX
 ``` ```
  
 ```sh VIM3 ```sh VIM3
-curl -L http://dl.khadas.com/products/oowow/system/vim2-oowow-latest-sd.img.gz \ +curl -L http://dl.khadas.com/products/oowow/system/vim3-oowow-latest-sd.img.gz \ 
-| gzip -dc | dd of=/dev/sdX+| gzip -dc | dd conv=fsync,notrunc of=/dev/sdX
 ``` ```
  
 ```sh VIM3L ```sh VIM3L
-curl -L http://dl.khadas.com/products/oowow/system/vim2-oowow-latest-sd.img.gz \ +curl -L http://dl.khadas.com/products/oowow/system/vim3l-oowow-latest-sd.img.gz \ 
-| gzip -dc | dd of=/dev/sdX+| gzip -dc | dd conv=fsync,notrunc of=/dev/sdX
 ``` ```
 +
 +```sh VIM4
 +curl -L http://dl.khadas.com/products/oowow/system/vim4-oowow-latest-sd.img.gz \
 +| gzip -dc | dd conv=fsync,notrunc of=/dev/sdX
 +```
 +
  
 ```sh Edge ```sh Edge
 curl -L http://dl.khadas.com/products/oowow/system/edge-oowow-latest-sd.img.gz \ curl -L http://dl.khadas.com/products/oowow/system/edge-oowow-latest-sd.img.gz \
-| gzip -dc | dd of=/dev/sdX+| gzip -dc | dd conv=fsync,notrunc of=/dev/sdX 
 +``` 
 + 
 +## Check whats a latest oowow image 
 + 
 +```sh check latest oowow sd image 
 +curl -s -I http://dl.khadas.com/products/oowow/system/${BOARD}-oowow-latest-sd.img.gz | grep Location: 
 +``` 
 + 
 +''BOARD := [ edge | edge2 | vim1 | vim1s | vim2 | vim3 | vim3l | vim4 ]'' 
 + 
 + 
 +```shell check latest oowow sd image version for vim3 example 
 + 
 +~$ curl -s -I http://dl.khadas.com/products/oowow/system/vim3-oowow-latest-sd.img.gz | grep Location: 
 + 
 +Location: http://dl.khadas.com/products/oowow/system/versions/vim3/vim3-oowow-230227.000-sd.img.gz
 ``` ```
  
Line 41: Line 76:
 ## Manualy restore OOWOW SPI-Flash firmware ## Manualy restore OOWOW SPI-Flash firmware
  
-For same cases if OOWOW can't bootup automaticly or via [[user-manual#vim4-button-shortcuts|special button shortcuts]]+For same cases if OOWOW can't bootup automaticly or via [[..:user-manual#vim4-button-shortcuts|special button shortcuts]] 
 + 
 +<WRAP important > 
 +In some case eMMC system content not allowed to boot from removable storages, in this case can try another methods, or need clean eMMC system 1st for example by same OOWOW  
 +</WRAP> 
  
   * download ''XXX-oowow-latest-spi-upgrade-sd.img.gz'' from [[http://dl.khadas.com/products/oowow/system]]   * download ''XXX-oowow-latest-spi-upgrade-sd.img.gz'' from [[http://dl.khadas.com/products/oowow/system]]
-  * write image ''XXX-oowow-latest-spi-upgrade-sd.img.gz'' to SD-card +  * write image ''XXX-oowow-latest-spi-upgrade-sd.img.gz'' to SD-card, USB or any other removable storage 
-  * boot-up from SD-card and wait upgrade process will be complited +  * boot-up from any removable storage and wait upgrade process will be completed 
-  * remove SD-card and reboot device+  * remove removable storage and reboot device
  
 <WRAP info > <WRAP info >
Line 52: Line 92:
 </WRAP> </WRAP>
  
 +NOTE: [[https://docs.khadas.com/products/sbc/edge2/troubleshooting/usb-burn-online#restore-oowow-firmware|Edge2 restore OOWOW another way]]
 +
 +
 +## Manual write OOWOW firmware by online  
 +<WRAP info >
 +To update or force-write the OOWOW firmware to the SPI flash on your Edge2 device manually **using Linux**, follow these steps:
 +</WRAP>
 +
 +  - Use a USB cable to connect your Edge2 device to your PC via the USB OTG port (not the power USB port)  
 +  - Copy and paste ''%%curl dl.khadas.com/online/rockchip-burn | sh -s - oowow --refresh --write --spi%%'' command line into the linux terminal
 +  - Wait prompt message ''[i] wait device with upgrade mode - need press KEY_FN 3x times''
 +  - Press **KEY_FN 3x times** - middle key on left side 
 +  - Wait prompt message ''Write LBA from file (100%)'' This indicates the firmware has been successfully written to the SPI flash.
 +  - Auto reboot your Edge2 device into new OOWOW firmware\\ ''
 +[i] OKAY edge2-oowow-latest-spi.img.gz was written to spi\\
 +[i] reset device''
 +
 +
 +```shell manual update OOWOW firmware by online
 +curl dl.khadas.com/online/rockchip-burn | sh -s - oowow --refresh --write --spi
 +```
 +
 +Get much more help information https://dl.khadas.com/online/ or
 +
 +```shell display much more usage information
 +curl dl.khadas.com/online/rockchip-burn | sh -s - --help
 +```
 +
 +## Manual write OOWOW into SPI flash from local storage 
 +
 +This method can be useful if we stay offline, or emergency update, restore, fix our SPI system.
 +
 +  * We need just boot oowow from any source like **sd** / **usb** / **eMMC** / **SPI**
 +  * Next step is mount any storage with OOWOW SPI image - its can be same **sd** / **usb** / **eMMC**
 +
 +<WRAP info >
 +Be careful this method cat write any content into SPI flash without checking for compatibility!
 +</WRAP>
 +
 +```shell write oowow to SPI flash example
 +root@oowow:/# gzip -dc /tmp/mounts/USB-sda1/oowow-spi.img.gz | spi_update
 +[i] spiupdate => /dev/mtdblock0 (16777216 - 4096)
 +###  all blks wrtd same
 +096 3936 4096 0361 3575
 +SPI flash update DONE
 +
 +root@OOWOW:/# spi off && mmc on
 +``` 
 ## Boot-up OOWOW from SD-card ## Boot-up OOWOW from SD-card
 +
 +<WRAP important >
 +In most cases, it will be same suitable to use any other removable storage like USB-Flash etc
 +</WRAP>
  
 For same cases if embedded OOWOW can't bootup from SPI-Flash. [[:OOWOW]] can be started from SD-card anytime. For same cases if embedded OOWOW can't bootup from SPI-Flash. [[:OOWOW]] can be started from SD-card anytime.
Line 83: Line 175:
  
   * Configure Wi-Fi connection one time / automaticly will be used next time   * Configure Wi-Fi connection one time / automaticly will be used next time
-  * or can use [[user-manual#easy-wi-fi]] mode+  * or can use [[..:user-manual#easy-wi-fi]] mode
  
 ## Headless usage ## Headless usage
Line 89: Line 181:
 OOWOW easily can used without display and keyboards. OOWOW easily can used without display and keyboards.
  
-  * [[user-manual#easy-wi-fi]] +  * [[..:user-manual#easy-wi-fi]] 
-  * [[user-manual#hotspot]]+  * [[..:user-manual#hotspot]]
  
 ## OOWOW and Smartphone ## OOWOW and Smartphone
Line 96: Line 188:
 OOWOW easily can controlled by smatphone OOWOW easily can controlled by smatphone
  
-  * [[user-manual#easy-wi-fi]] +  * [[..:user-manual#easy-wi-fi]] 
-  * [[user-manual#hotspot]] +  * [[..:user-manual#hotspot]] 
-  * [[user-manual#hotspot-qr-code]] +  * [[..:user-manual#hotspot-qr-code]] 
-  * [[user-manual#web-access-qr-code]]+  * [[..:user-manual#web-access-qr-code]]
  
  
Line 112: Line 204:
   * plug removable storage with OS image   * plug removable storage with OS image
   * choose this image to write by __ menu -> Write image to eMMC __ and up to .. mounts   * choose this image to write by __ menu -> Write image to eMMC __ and up to .. mounts
- 
  
 WIP: WIP:
  
  
Last modified: 2023/02/03 23:01 by hyphop