Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


software:oowow:dev:web-api:write

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:dev:web-api:write [2024/03/15 01:15]
hyphop [Write]
software:oowow:dev:web-api:write [2024/03/15 01:29] (current)
hyphop [Usage]
Line 1: Line 1:
 ~~tag>OOWOW API image disk~~ ~~tag>OOWOW API image disk~~
-====== Write ======+====== Write Disk Image to remote device ======
  
 Write image by LAN on the fly: Write image by LAN on the fly:
Line 7: Line 7:
  
  
 +===== Usage =====
  
-```sh 
  
-SYNOPSIS+```sh shell/write 
 +curl oowow.local/shell/write | sh -s - [IMAGE] [PARAMETERS] 
 +```
  
-curl oowow.local/shell/write | sh -s - [IMAGE] [ARGS]+<WRAP tip > 
 +Need replace **oowow.local** - to actual oowow LAN host name or IP 
 +</WRAP>
  
  
-USAGE +===== Parameters =====
-     +
-    write IMAGE_FILE [HOST] [-sd|-spi|-mmc|-nvme] \ +
-          [-boot|-boot-online|-spi-boot-clean] [-raw] [/dev/...]+
  
-ARGS+All parameters must follow after image file-name
  
-    -nofix - no fix partition +==== Destination ====
- +
-```+
  
 +  * ''-sd'' - SD disk
 +  * ''-spi'' - SPI flash
 +  * ''-mmc'' - eMMC storage - is works by default 
 +  * ''-nvme'' - NVME storage 
 +  * ''/dev/*'' - custom block device node
  
 +==== Extra ====
  
 +  * ''-raw'' - disable compression format detection and write all data as is
 +  * ''-nofix'' - disable extra automation with partition table fixation
Last modified: 2024/03/15 01:15 by hyphop