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
Last revision Both sides next revision
software:oowow:dev:web-api:write [2024/03/15 01:15]
hyphop
software:oowow:dev:web-api:write [2024/03/15 01:28]
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:
-  * raw images ''dd''- network transferred data will be compressed/decompressed with zstd algorithm on the fly in real-time  +  * raw images ''dd'' - network transferred data will be compressed/decompressed with zstd algorithm on the fly in real-time  
-  * compressed images '' gz | xz | zstd '' -data transfered as-is and will be decompressed and writed on the fly on device side +  * compressed images '' gz | xz | zstd '' - data transfered as-is and will be decompressed and writed on the fly on device side 
  
  
 +===== 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>
  
 +===== Parameters =====
  
-USAGE +All parameters must follow after image file-name
-     +
-    write IMAGE_FILE [HOST] [-sd|-spi|-mmc|-nvme] \ +
-          [-boot|-boot-online|-spi-boot-clean] [-raw] [/dev/...]+
  
-ARGS +==== Destination ====
- +
-    -nofix - no fix partition +
- +
-```+
  
 +  * ''-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:29 by hyphop