Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


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

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:online-external-images-usage:start [2023/05/26 03:34]
hyphop [Online external images usage]
software:oowow:dev:online-external-images-usage:start [2023/11/23 22:04] (current)
hyphop
Line 3: Line 3:
 <WRAP important > <WRAP important >
   * updated: Fri 26 May 2023 01:47:31 PM CST WIP:   * updated: Fri 26 May 2023 01:47:31 PM CST WIP:
-  * At this moment testing images not visible inside Wiardd need use force show all files via write into emmc ... +  * At this moment testing images not visible inside Wizard need to use force to show all files via write into eMMC ... 
-  * Need to try improve oowow images logic! original images slow check and show warnings, and dont have meta information WIP: +  * Need to try to improve OOWOW image logic! original images slow check and show warnings, and don'have meta information WIP: 
-  * Need share this information with images developers for making better results   +  * Need to share this information with images developers for making better results   
-  * Test repack image with xze - OK +  * Test repack image with ''xze'' - OK 
-  * Test redirect usage to dl again with xze - OK+  * Test redirect usage to dl again with ''xze'' - OK
 </WRAP> </WRAP>
  
Line 38: Line 38:
  
 ``` ```
 +
 +=== Create redirection to external link ===
  
 ```shell create external image link ```shell create external image link
Line 65: Line 67:
 ``` ```
  
 +=== External link showing on web browser ===
 +/*
 +{{./original/oowow-edge2-images-list.webp?linkonly}}
 +*/
 +{{./original/oowow-edge2-images-list.webp?X800&direct}}
  
 ==== Images testing ==== ==== Images testing ====
Line 87: Line 94:
 ``` ```
  
-==== Screenshots ====+==== Screenshots problematic installation process ====
  
-{{gallery>?*.webp&direct}}+{{gallery>original?*.webp&lightbox&1920X1080}}
  
  
Line 146: Line 153:
  
 ``` ```
 +
 +```shell put redirect links to oowow collection
 +
 +storage@web:/storage/.images/edge2$ cat test-edge2-armbian-external.img.xz        
 +http://redirect.armbian.com/khadas-edge2/Jammy_legacy
 +storage@web:/storage/.images/edge2$ cat test-edge2-armbian-repack.img.xz 
 +http://dl.khadas.com/.test/edge2/armbian/Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz
 +
 +```
 +
 +====  check meta by online ====
 +
 +
 +```shell check meta by online
 +~$ curl -s -jkLf -r-4096 http://dl.khadas.com/.test/edge2/armbian/Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz | xz -dc 
 +##META_FILE##
 +FILE: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz
 +UNPACKED_SIZE: 2353004544
 +PACKED_SIZE: 495833088
 +FILE_SIZE: 495837184
 +##META-FILE##
 +
 +##KRESCUE_META##
 +type:xz
 +label: Armbian
 +builder: Armbian
 +date: Fri 26 May 2023 07:26:58 AM UTC
 +match: BOARD=Edge2
 +link: https://www.armbian.com/khadas-edge-2/
 +duration: 60
 +desc: Armbian Jammy legacy testing ...
 +image: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img
 +##KRESCUE-META##
 +##KRESCUE##END
 +```
 +
 +```shell check redirect from images collection
 +~$ curl http://dl.khadas.com/.images/edge2/test-edge2-armbian-repack.img.xz -i | head -n7
 +  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
 +                                 Dload  Upload   Total   Spent    Left  Speed
 +100   138  100   138    0        251      0 --:--:-- --:--:-- --:--:--   251
 +HTTP/1.1 302 Moved Temporarily
 +Server: nginx
 +Date: Fri, 26 May 2023 07:41:18 GMT
 +Content-Type: text/html
 +Content-Length: 138
 +Connection: keep-alive
 +Location: http://dl.khadas.com/.test/edge2/armbian/Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz
 +
 +```
 +
 +```shell final check image meta
 +~$ curl -s -jkLf -r-4096 http://dl.khadas.com/.images/edge2/test-edge2-armbian-repack.img.xz | xz -dc 
 +##META_FILE##
 +FILE: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz
 +UNPACKED_SIZE: 2353004544
 +PACKED_SIZE: 495833088
 +FILE_SIZE: 495837184
 +##META-FILE##
 +
 +##KRESCUE_META##
 +type:xz
 +label: Armbian
 +builder: Armbian
 +date: Fri 26 May 2023 07:26:58 AM UTC
 +match: BOARD=Edge2
 +link: https://www.armbian.com/khadas-edge-2/
 +duration: 60
 +desc: Armbian Jammy legacy testing ...
 +image: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img
 +##KRESCUE-META##
 +##KRESCUE##END
 +```
 +==== Screenshots normal installation process ====
 +
 +
 +{{gallery>repack?*.webp&lightbox&1920X1080}}
 ===== Image oowow compatible requirements ===== ===== Image oowow compatible requirements =====
  
-We recommend use [[https://github.com/khadas/krescue/blob/master/tools/xze|zxe]] feature for image developers, for provide better service for users like a:+We recommend using [[https://github.com/khadas/krescue/blob/master/tools/xze|zxe]] feature for image developers, to provide better service for users like as:
  
   * Provide additional information about images   * Provide additional information about images
-  * Its fully compatible with common xz format, and same possible to use anywhere  +  * Its fully compatible with the common xz format, and same possible to use anywhere  
-  * Fast checking image integrity before write it+  * Fast-checking image integrity before writing it
   * Make warranty its image will be suitable for current board installation   * Make warranty its image will be suitable for current board installation
   * Fast optimal compression for fastest decompression on SBC   * Fast optimal compression for fastest decompression on SBC
   * Image signup   * Image signup
-  * etc ..+  * etc..
 + 
 +<WRAP important > 
 +Sure all requirements are **optional**, but why not follow them by other developers, because its images will be created especially for our devices   
 +</WRAP>
  
 WIP: WIP:
Last modified: 2023/05/26 03:34 by hyphop