This is an old revision of the document!
Try to make the installation image size small as possible
The simple dump from EMMC is the wrong way. Yes we can do it but, this image will have negative parts like:
It's possible to improve by dump-optimization, but don't have any warranty to get quality results
for Fenix builds need to use normal partitions (like GPT or DOS ) please don’t use Amlogic partitions variant (just if its really necessary)
... Choose install type: 2. SD-USB - Image For Writing to SD/USB Storage ... Compress image: Yes
Compress image option, automatically build image suitable for OOWOW
RESIZE=1 mmc_optimize
Be sure your system must resize root-fs back to maximal size automatically at 1st boot, for example resize2fs /dev/rootfs
…
SYNTAX: boardname-system[-info]+.img[.xz|gz|zst]
All in lowercase only, use '-' as splitter, no spaces, no Unicode only basic Latin and [0-9.] chars , file-name size less 80 symbols.
Examples: https://dl.khadas.com/.images/vim4/
We recommend using zxe features for image developers, to provide better service for users like as:
xze "vim1s-ha-supervised-debian-11-minimal-linux-5.4-fenix-1.5.1-230623.img" \ --meta \ label="Home Assistant" \ builder="Repack" \ date="$(LANG=C TZ= date)" \ match=BOARD=VIM1S \ link=https://www.home-assistant.io/ \ duration=180 \ desc="Home Assistant / debian 11 / linux 5.4 / fenix 1.5.1 / 230623"