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/08/18 06:53]
hyphop [Manualy restore OOWOW SPI-Flash firmware]
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~~ ~~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 24: Line 31:
  
 ```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 conv=fsync,notrunc 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 conv=fsync,notrunc of=/dev/sdX | gzip -dc | dd conv=fsync,notrunc of=/dev/sdX
 ``` ```
Line 70: Line 77:
  
 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 83: Line 95:
  
  
 +## 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
  
Line 150: Line 207:
 WIP: WIP:
  
-===== All how-to topics ===== 
  
-~~NOCACHE~~ 
- 
-<catlist . -noHead > 
Last modified: 2023/08/18 06:53 by hyphop