Flash a Bootable SD Card for Rugged board

Objective:

This guide describes a method of flashing an SD card with a bootable images for the Rugged Board A5d2x. The demonstration image file is a customized Linux® distribution created using the Yocto project. This article assumes a Linux Ubuntu-based host, though the steps are similar for Windows®, macOS® and most Linux distributions.

Materials:

Hardware:

Software:

Files:

Use your own binary images or choose an appropriate binary images from this link with the below name.

  • BOOT.BIN

  • u-boot.bin

  • a5d2x-rugged_board.dtb

  • zImage

  • rb-sd-core-image-minimal-rugged-board-a5d2x.tar.gz

Connection Diagram:

Procedure:

Preparing the bootable SD Card:

  • Insert the SD Card to your PC. Open the application named “GParted partition editor”, it will ask the password, after entering the password the GParted application will open.

  • Select your SD Card device at the right top corner of the window shown in below figure as selected in red color box.

  • Then unmount the sdcard partitions using right click on the partition. And Select the sdcard partition then delete the partition

  • Right click on the partition and select the “new” option , then one window “Create new partition ” will open.

    At the option “free space proceeding” should be “8” and at “New size” give the “2048” and at “File system” select the “fat32” and at “Label” enter “boot” then click on “add” option.

    And then right click on the lower partition “unallocated” and click on the “new” option. Then one window will open and at “New size” enter “1024” then at “File system” select the “ext3” and at “Label” enter the “rootfs” and then click on “add”.

  • Then click on the “right mark” on the menu. Then click on apply, It will take few seconds. Then close the “Applying pending operations” window.

  • Then right click on the “boot” partition and select the “Manage flags” then select the “boot” in options. Then click on “close” option. It will take few seconds to complete.

Copying files(images) to SD Card:

  • Copy the below images to boot partition of SD Card → BOOT.BIN → u-boot.bin → a5d2x-rugged_board.dtb → zImage

  • And root file system tar file should be extract to the rootfs partition of the SD Card using the below commands.

$ sudo tar -xvf <path of the rootfs tar file> -C <path of the rootfs partition>

$ sudo tar -xvf rb-sd-core-image-minimal-rugged-board-a5d2x.tar.gz -C /media/hostname/rootfs
$ sync

Boot the Board with SD Card:

  • Insert the SD Card to Rugged Board A5d2x sdcard slot and give the power supply by connecting the USB cable between your PC and Board.

  • Open minicom and Boot the Board by pressing the RESET button then it will boot the board then enter the username as "root".

  • Your Board is READY TO USE.

Last updated