ruggedBOARD
Tutorial Using Python
Tutorial Using Python
  • Overview
  • Quick Start with RB
    • Pre-Requisite
      • Required Hardware and Software Components
      • Host Setup
      • Linux Commands
    • Power Up your RB
    • Fiddle with RB Command-line
  • Lib-Mraa & UPM Sensor Libraries (Python)
    • First Python Program
    • Know Your Libraries
      • LibMRAA
        • Python Programming using MRAA (SPI)
        • Python Programming using MRAA (PWM)
        • Python Programming using MRAA (gpio_blink)
        • Python Programming using MRAA (Aio)
      • LibUPM
    • Example Programs for Sensors
      • Procedure to interface phyNODE with RB
      • Accelerometer
      • Temperature Sensor
      • Pressure Sensor
      • Humidity Sensor
      • Magnetometer
      • PIR Sensor
      • Ultrasonic Sensor
      • Gas Sensor (MQ5)
    • mikroBUS UPM Sensor
    • Example programs for Communication Protocols
      • GPIO
      • I2C
      • UART
  • Hello World in C language
    • Setting up Environment
    • Transferring Files from Host to Board
    • Write your first C program
  • IoT Implementation
    • What is IoT?
    • IoT Protocols
    • MQTT Setup
  • Peripherals Functionality Testing using C Language
    • Interfaces
      • GPIO(General purpose Input/Output):
      • UART(Universal Asynchronous Receiver-Transmitter)
      • RS232
      • RS485
      • CAN
      • MikroBUS
      • mPCIe
  • Advance RB
    • Preparing SD card in case of OS failure
Powered by GitBook
On this page

Was this helpful?

  1. Advance RB

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.

PreviousmPCIe

Last updated 6 years ago

Was this helpful?

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.