Template:Yocto Build Release TI: Difference between revisions
From Variscite Wiki
Line 77: | Line 77: | ||
/opt/images/Yocto/boot/uEnv.txt | /opt/images/Yocto/boot/uEnv.txt | ||
/opt/images/Yocto/rootfs.tar.zst | /opt/images/Yocto/rootfs.tar.zst | ||
By default, the image will be named '''var-recovery-sd-image-am62x-var-som.wic.zst'''. It can be overridden adding the RECOVERY_SD_NAME variable to local.conf: | |||
echo 'RECOVERY_SD_NAME="{{#var:RECOVERY_SD_NAME}}"' >> conf/local.conf | |||
Build the image: | Build the image: | ||
Line 85: | Line 89: | ||
$ zstdcat arago-tmp-external-arm-glibc/deploy/images/am62x-var-som/var-recovery-sd-image-am62x-var-som.wic.zst | sudo dd of=/dev/sdX bs=1M && sync | $ zstdcat arago-tmp-external-arm-glibc/deploy/images/am62x-var-som/var-recovery-sd-image-am62x-var-som.wic.zst | sudo dd of=/dev/sdX bs=1M && sync | ||
Or, if the image name was overidden with RECOVERY_SD_NAME: | |||
$ zstdcat arago-tmp-external-arm-glibc/deploy/images/am62x-var-som/{{#var:RECOVERY_SD_NAME}} | sudo dd of=/dev/sdX bs=1M && sync | |||
Note: Some SD card duplicator machines do not support 64-bit filesystems. To build a recovery SD card image with 32-bit filesystems, add '''MKE2FS_NO_64="y"''' to '''conf/local.conf''' and rebuild the image: | Note: Some SD card duplicator machines do not support 64-bit filesystems. To build a recovery SD card image with 32-bit filesystems, add '''MKE2FS_NO_64="y"''' to '''conf/local.conf''' and rebuild the image: |