Curtiss-Wright
Parvus DuraDBH-672
Linux BSP
MNL-0661-01 Rev A1
ECO-N/A
Effective: 25 January 2016
Page 23 of 34
L
INUX
BSP
This chapter describes configuration and building of the included linux BSP. The BSP is based on Yocto
Linux, with board specific customizations.
R
EQUIRED
H
OST
E
QUIPMENT
PC or VM running Ubuntu 14.04.
An internet connection for the initial download of the required packages.
RS-232 serial port for communicating with the target system
B
UILDING
AND
I
NSTALLING
THE
BSP
This guide covers building the BSP using the provided virtual machine. The virtual machine is provided
as an OVF, which can be imported by either VMWare or VirtualBox, or any other provider which supports
the open virtualization format. At a high level, the operations to build the BSP are:
1. Install the configuration repositories which comprise Yocto Linux with board specific
customizations.
2. Setup the environment.
3. Use the Yocto Linux build tool to execute the build which will:
a. Download the required packages
b. Securely verify the integrity of the download
c. Build the packages for the target architecture
d. Assemble a rootfile system
4. Boot from TFTP and NFS
5. Partition the internal storage
6. Install the rootfs and kernel
7. Configure the bootloader to boot the new system.
I
NSTALLING
R
EQUIRED
S
OFTWARE
R
EPOSITORIES
The included software package has a directory named BSP. Copy this directory to your host machine. If
possible, it should be located on fast local storage. The faster the storage it is saved on, the faster the
build complete.
S
ETTING
UP
THE
E
NVIRONMENT
From the top level of the BSP directory execute the command:
> . ./setup-environment build
This will configure your environment, and put you into a new folder where all of your temporary files will
be saved.