Template:AM33-recovery-image: Difference between revisions

From Variscite Wiki
(Created page with "<includeonly> As mentioned above, the wic image only supports booting from an SD card. To flash an image to NAND, Variscite provides an image '''{{{var-recovery-recipe}}}''', which inherits '''var-default-image''' and adds the following files needed for installing to eMMC: {{AM33_RECOVERY_SD_FILES}} By default, the image will be named '''{{{var-recovery-recipe}}}-{{#var:MACHINE_NAME}}.wic.zst'''. It can be overridden adding the '''RECOVERY_SD_NAME''' variable to local....")
 
No edit summary
 
Line 3: Line 3:


{{AM33_RECOVERY_SD_FILES}}
{{AM33_RECOVERY_SD_FILES}}
Being the image designed to burn eMMCs, in order to burn the NAND, the following override is required
echo 'RECOVERY_SD_NAME="VAR_RECOVERY_TARGET_ROOTFS_TYPE ?= "ubi"' >> conf/local.conf
The var-default-image is not suitable for NANDs of 256 MB.
It's possible to further customize the image '''{{{var-recovery-recipe}}}''', providing a dedicate image for the NAND and reducing the final image size. For example
echo 'VAR_RECOVERY_TARGET_ROOTFS ?= "var-thin-image"' >> conf/local.conf
echo 'VAR_RECOVERY_IMAGE_ROOTFS_MAXSIZE ?= "${@eval('3700*1024')}"' >> conf/local.conf


By default, the image will be named '''{{{var-recovery-recipe}}}-{{#var:MACHINE_NAME}}.wic.zst'''. It can be overridden adding the '''RECOVERY_SD_NAME''' variable to local.conf. For example:
By default, the image will be named '''{{{var-recovery-recipe}}}-{{#var:MACHINE_NAME}}.wic.zst'''. It can be overridden adding the '''RECOVERY_SD_NAME''' variable to local.conf. For example:

Latest revision as of 03:33, 23 September 2023