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:
  • Procedure:
  • The Build Host Packages:
  • Source Downloading:

Was this helpful?

  1. G5: System development Guide

How to compile the U-Boot for Rugged Board A5d2x

PreviousGenerate the SDK(toolchain) using YOCTONextHow to compile the kernel for Rugged Board A5d2x

Last updated 4 years ago

Was this helpful?

Objective:

This guide describes a method of compile the u-boot for rugged board a5d2x.

Materials:

Hardware:

  • PC(Personal computer)/System

Software:

  • Ubuntu 16.04

Procedure:

The following list shows what you need in order to use a Linux-based build host to build images:

  • Build Host A build host with a minimum of 50 Gbytes of free disk space that is running a supported Linux distribution (i.e. recent releases of Fedora, openSUSE, CentOS, Debian, or Ubuntu).

  • Build Host Packages Appropriate packages installed on the build host.

The Build Host Packages:

The following list shows the required packages needed to build an image that runs on QEMU in graphical mode.

Ubuntu and Debian:

$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat libsdl1.2-dev xterm

Source Downloading:

Step1: Create a directory to download the u-boot source.

$ mkdir uboot_source
cd uboot_source

Step2: Clone uboot-rba5d2x with the proper branch.

$ git clone https://github.com/rugged-board/uboot-rba5d2x.git
$ cd uboot-rba5d2x
$ git checkout origin/uboot-rba5d2x

Step3: Before configuring the u-boot,Please run the arm environment to cross compile the downloaded u-boot source. If you dont have arm toolchain, please follow step4 to download the toolchain.

$ . /opt/poky-tiny/2.5.2/environment-setup-cortexa5hf-neon-poky-linux-musleabi

Step4: If you haven't downloaded the toolchain before please follow below link.

NOR Flash Compilation:

Step5: Configure the u-boot for NOR Flash of rugged board a5d2x.

$ make rugged_board_a5d2x_qspiflash_defconfig

Step6: Compile the u-boot for NOR Flash of rugged board a5d2x using below command.

$ make

SDCard Flash Compilation:

step7: Configure the u-boot for SDCard Flash of rugged board a5d2x.

$ make rugged_board_a5d2x_mmc1_defconfig

Step8: Compile the u-boot for SDCard Flash of rugged board a5d2x using below command.

$ make

Step9: After compiling the u-boot source, get the u-boot.bin in the current uboot-rba5d2x source directory.

Rugged
Board A5d2x
Download the toolchain for rugged board a5d2x