RuggedBOARD DevWiki
  • RuggedBOARDs Developer Wiki
  • RB-A5D2x
    • Contents
    • Download BSP and Documents
  • G1: Getting Started
    • RB-Quick Start Guide
    • Test all the RB interfaces in 10 mins in command Line
    • Example Program for Interfaces Using Python 3
  • G2: Programming Guide
    • Software Architecture on RB (Software Stack Diagram)
    • RB Interface/Bus Programming using MRAA
    • RB Peripherals programming using UPM
  • G3: How to Do?
    • Modbus on RB
    • RB as Tiny Web Server
    • MQTT Client on RB
    • SQL Lite DB
    • AWS Green Grass on RB
    • Microsoft Azure on RB
  • G4: Use Cases / Application Notes
    • Smart Energy Meter with AWS cloud
    • IoT Based solution for Plants Water monitoring
    • Weather Monitoring Stations
    • FAQ
  • G5: System development Guide
    • Advance Host setup
    • Flash a Bootable SD Card for Rugged board
    • Flash a NOR with Bootable SD Card For Rugged Board A5d2x
    • Flash the NOR using tftp For Rugged Board A5d2x
    • Yocto Compilation For Rugged Board A5d2x
    • Download the Toolchain for Rugged Board A5d2x
    • How to Add New Package in Yocto(root file system)
    • Generate the SDK(toolchain) using YOCTO
    • How to compile the U-Boot for Rugged Board A5d2x
    • How to compile the kernel for Rugged Board A5d2x
  • RB-i.MX6UL
    • Contents
    • Download BSP and Documents
  • G1: Getting Started
    • RB-Quick Start Guide
    • Test all the RB interfaces in 10 mins in command Line
    • Example Program for Interfaces Using Python 3
  • G2: Programming Guide
    • Software Architecture on RB (Software Stack Diagram)
    • RB Interface/Bus Programming using MRAA
    • RB Peripherals programming using UPM
  • G3: How to Do?
    • Modbus on RB
    • MQTT Client on RB
  • G4: System development Guide
    • Advance Host setup
    • Flash a Bootable SD Card for Rugged board
    • Flash a NAND with Bootable SD Card For Rugged Board i.MX6UL
    • Flash the NAND using tftp For Rugged Board i.MX6UL
    • Yocto Compilation For Rugged Board i.MX6UL
    • Download the Toolchain for Rugged Board i.MX6UL
    • How to Add New Package in Yocto(root file system)
    • Generate the SDK(toolchain) using YOCTO
    • How to compile the Barebox for Rugged Board i.MX6UL
    • How to compile the kernel for Rugged Board i.MX6UL
  • G5 : Help Desk
    • FAQ
Powered by GitBook
On this page
  • Objective:
  • Materials:
  • Hardware:
  • Software:
  • Files:
  • Connection Diagram:
  • Procedure:
  • Preparing the bootable SD Card:
  • Copying files(images) to SD Card:
  • Boot the Board with SD Card:

Was this helpful?

  1. G5: System development Guide

Flash a Bootable SD Card for Rugged board

PreviousAdvance Host setupNextFlash a NOR with Bootable SD Card For Rugged Board A5d2x

Last updated 4 years ago

Was this helpful?

Objective:

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

Materials:

Hardware:

  • You will need an SD card reader/writer for your PC

  • SD Card

Software:

  • Ubuntu 16.04

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.

Rugged Board A5d2x
Yocto project
Rugged Board A5d2x
Gparted
minicom