Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

software:oowow:dev:online-external-images-usage:start

This is an old revision of the document!


Online external images usage

WIP:

Testing

https://www.armbian.com/khadas-edge-2/

https://redirect.armbian.com/khadas-edge2/Jammy_legacy

check original link
curl https://redirect.armbian.com/khadas-edge2/Jammy_legacy -i
HTTP/2 302 
server: nginx/1.18.0
date: Fri, 26 May 2023 02:11:33 GMT
content-length: 0
location: https://mirror.iscas.ac.cn/armbian-releases/khadas-edge2/archive/Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160.img.xz
x-geo-distance: 3377558.166124
 
~$ curl -i http://redirect.armbian.com/khadas-edge2/Jammy_legacy
HTTP/1.1 302 Found
Server: nginx/1.18.0
Date: Fri, 26 May 2023 03:23:24 GMT
Content-Length: 0
Connection: keep-alive
Location: http://armbian.tnahosting.net/dl/khadas-edge2/archive/Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160.img.xz
X-Geo-Distance: 1883751.967384

Image oowow compatible requirements

We recommend use zxe feature for image developers, for provide better service for users like a:

  • Display some information about images
  • Its fully compatible with common xz format, and same possible to use anywhere
  • Fast checking image integrity before write it
  • Make warranty its image will be suitable for current board installation
  • Fast optimal compression for fastest decompression on SBC
  • Image signup
  • etc ..

WIP:

check oowow meta online example
~$ curl -s -jkLf -r-4096 http://dl.khadas.com/.images/edge2/edge2-ubuntu-22.04-server-linux-5.10-fenix-1.5-230425.img.xz | xz -dc
##META_FILE##
FILE: edge2-ubuntu-22.04-server-linux-5.10-fenix-1.5-230425.img.xz
UNPACKED_SIZE: 2634022912
PACKED_SIZE: 429813760
FILE_SIZE: 429817856
##META-FILE##
 
##KRESCUE_META##
type:xz
label: Ubuntu
match: BOARD=Edge2
builder: fenix
link: https://dl.khadas.com/Firmware/
desc: Ubuntu 1.5 server jammy - fenix generated images https://github.com/khadas/fenix
duration: 60
date: Tue 25 Apr 2023 01:56:58 PM UTC
image: edge2-ubuntu-22.04-server-linux-5.10-fenix-1.5-230425.img
##KRESCUE-META##
##KRESCUE##END
Last modified: 2023/05/25 23:24 by hyphop