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

Next revision
Previous revision
software:oowow:dev:web-api:write [2023/09/12 22:59]
hyphop created
software:oowow:dev:web-api:write [2024/03/15 01:29]
hyphop [Usage]
Line 1: Line 1:
-====== Write ======+~~tag>OOWOW API image disk~~ 
 +====== Write Disk Image to remote device ======
  
-```sh USAGE+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  
 +  * compressed images '' gz | xz | zstd '' - data transfered as-is and will be decompressed and writed on the fly on device side 
  
-curl oowow.local/shell/write | sh -s - [IMAGE] [ARGS] 
  
 +===== Usage =====
 +
 +
 +```sh shell/write
 +curl oowow.local/shell/write | sh -s - [IMAGE] [PARAMETERS]
 ``` ```
  
 +<WRAP tip >
 +Need replace **oowow.local** - to actual oowow LAN host name or IP
 +</WRAP>
 +
 +
 +===== Parameters =====
 +
 +All parameters must follow after image file-name
 +
 +==== 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:29 by hyphop