Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

software:oowow:dev:web-api:write

Write Disk Image to remote device

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

Usage

shell/write
curl oowow.local/shell/write | sh -s - [IMAGE] [PARAMETERS]

Need replace oowow.local - to actual oowow LAN host name or IP

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