Preparing SD card in case of OS failure

ruggedBOARD-A5D2x ships with inbuilt 32MB NOR flash, which is sufficient for installing Yocto Build Linux OS. Its always recommended using NOR flash to boot OS.

Please note that ruggedBOARD-A5D2x comes with inbuilt 32MB NOR flash, which is sufficient for installing Yocto Build Linux OS. In case of up-gradation of OS or cases where the OS got corrupted due to some reason SD card can be used to flash the default images of OS and regain access to the board.

Note: Prepare your SD-Card with Default images (BOOT.BIN, uboot.bin, zImage, at91-sama5d27_som1_ek.dtb, rootfs)

Partitioning Micro SD card in Ubuntu:

  • Using Graphical User Interface

Use the application Disk Utility in Ubuntu.

  • Select Mass storage device

  • Umount the volume

  • Delete the partition

  • Create the two partition "boot" and "rootfs" with “fat32” and “ext4” support respectively

Select the first fat partition and then select “edit partition” and mark it as bootable.

After successfully creating partitions and copy the images in “boot“and “rootfs” respectively with the commands mentioned below. this commands has to be performed the Ubuntu PC.

Notes : Kindly keep all the default Images in the below path:

ubuntu@pc:~$ Work/images

Flashing Images in SDCARD:

Ubuntu@pc:~$ cp zImage /media/gopal/boot/

Ubuntu@pc:~$ cp u-boot.in /media/gopal/boot/

Ubuntu@pc:~$ cp BOOT.BIN /media/gopal/boot/

Ubuntu@pc:~$ cp cp at91-sama5d27_som1_ek.dtb /media/gopal/boot/

Ubuntu@pc:~$sudo tar -xvf rootfs.tgz -C /media/gopal/rootfs

You have successfully prepared SD card for future use.

Last updated