Template:Yocto Build Release TI: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#vardefine:UBUNTU_COMPAT|18.04/20.04}}<!--
<includeonly>{{#vardefine:UBUNTU_COMPAT|18.04/20.04}}<!--
-->{{#vardefine:UNZIP|{{GET_UNZIP|{{#var:RECOVERY_SD_NAME}}}}}} <!--
-->
-->
{{PageHeader|{{#var:HARDWARE_NAME}} - Yocto {{#var:YOCTO_NAME}} {{#var:YOCTO_VERSION}}}}
{{PageHeader|{{#var:HARDWARE_NAME}} - Yocto {{#var:YOCTO_NAME}} {{#var:YOCTO_VERSION}}}}
Line 61: Line 62:
The wic image fully supports booting from an SD Card. Use the command below to write it to an SD Card:
The wic image fully supports booting from an SD Card. Use the command below to write it to an SD Card:


  $ {{GET_UNZIP|var-default-image-am62x-var-som.wic.zst}} arago-tmp-external-arm-glibc/deploy/images/am62x-var-som/var-default-image-am62x-var-som.wic.zst | sudo dd of=/dev/sdX bs=1M && sync
  $ {{#var:UNZIP}} arago-tmp-external-arm-glibc/deploy/images/am62x-var-som/var-default-image-am62x-var-som.wic.zst | sudo dd of=/dev/sdX bs=1M && sync
{{note|'''NOTE''': The wic image does not support all features booting from eMMC. For example, /etc/fw_env.config is configured for the SD Card (/dev/mmcblk1) |info}}
{{note|'''NOTE''': The wic image does not support all features booting from eMMC. For example, /etc/fw_env.config is configured for the SD Card (/dev/mmcblk1) |info}}


Line 88: Line 89:
Write it to an SD Card:
Write it to an SD Card:


  $ 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
  $ {{#var:UNZIP}} 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:
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
  $ {{#var:UNZIP}} 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:

Revision as of 20:50, 12 April 2023