Template:AM33-recovery-image: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
Line 23: Line 23:
  $ MACHINE=am335x-var-som bitbake {{{var-recovery-recipe}}}
  $ MACHINE=am335x-var-som bitbake {{{var-recovery-recipe}}}


Write it to an SD Card:
Write it to an SD card:
$ sudo umount /dev/sdX*


  $ {{#var:UNZIP}} {{#var:DEPLOY_DIR}}/images/{{#var:MACHINE_NAME}}/{{{var-recovery-recipe}}}-{{#var:MACHINE_NAME}}.wic.zst | sudo dd of=/dev/sdX bs=1M && sync
  $ {{#var:UNZIP}} {{#var:DEPLOY_DIR}}/images/{{#var:MACHINE_NAME}}/{{{var-recovery-recipe}}}-{{#var:MACHINE_NAME}}.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 overridden with RECOVERY_SD_NAME:
  $ {{#var:UNZIP}} {{#var:DEPLOY_DIR}}/images/{{#var:MACHINE_NAME}}/{{#var:RECOVERY_SD_NAME}} | sudo dd of=/dev/sdX bs=1M && sync
  $ {{#var:UNZIP}} {{#var:DEPLOY_DIR}}/images/{{#var:MACHINE_NAME}}/{{#var:RECOVERY_SD_NAME}} | sudo dd of=/dev/sdX bs=1M && sync
Replace sdX with the right device name. This can be obtained by "dmesg" command on your host Linux PC, after the SD card reader is inserted.
</includeonly>
</includeonly>

Latest revision as of 12:51, 18 February 2025