Yocto Compilation For Rugged Board A5d2x
Objective:
This guide describes a method of compiling the yocto for the Rugged Board A5d2x for both NOR Flash and SD Card(MMC) Flash.
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 use the Yocto Project 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:
Fedora:
OpenSUSE:
CentOS:
Source Downloading:
Step1: Create a directory to download the all layers.
Step2: Clone meta-rba5d2x layer with the proper branch ready.
Step3: Clone poky git repository with the proper branch ready.
Step4: Clone meta-openembedded git repository with the proper branch ready.
Step5: Clone meta-iot-cloud git repository with the proper branch ready.
Step6: come back from the sources directory to configure the build system and start the build process.
Step7: Initialize build directory.
Building:
SD Card Flash Images:
Step8: For rugged board a5d2x(SDCARD) i) Change the machine name to "rugged-board-a5d2x-sd1" in "conf/local.conf" as below.
ii) Set the machine as below and save the file.
iii) Compile the images for SDCARD Flash using below command.
iv) After completion of this compiling please go to below path to get the SDCARD Flash images.
To boot the Rugged Board a5d2x with sdcard flash images, please follow procedure from Flash a Bootable SD Card for Rugged Baord.
NOR Flash Images:
Step9: For rugged board a5d2x(NOR) i) Change machine name to "rugged-board-a5d2x" in conf/local.conf as below.
ii) Set the machine as below and save the file.
iii) Compile the images for NOR Flash using below command.
iv) After completion of this compiling, please go to below path to get the NOR Flash images.
To boot the Rugged Board a5d2x with sdcard flash images, please follow procedure from Flash a NOR with Bootable SD Card for Rugged Baord.
Last updated