MSC SM2S-IMX8M User Manual
59 / 92
7 Board Support Package (BSP)
7.1 General information
MSC-LDK and the underlying NXP release are based on the Yocto build system (https://yoctoproject.org).
7.2 The current MSC-LDK and the msc-sm2s-imx8m BSP
base on NXP’s
release L4.14.98-2.0.0_ga.MSC-LDK (Yocto)
This chapter describes how to build an image for an msc-sm2s-imx8m module by using the MSC-LDK.
7.2.1 MSC-LDK Terms
The Yocto-based MSC-LDK uses a sophisticated approach to generate Linux images.
A
target
is the hardware or CPU module on which the generated Linux software is to be run.
An
image
contains all the files necessary for execution by the targeted hardware, e.g. the Linux kernel and the root filesystem.
Software that is part of a Linux image is called a
package
.
A package is generated from sources by a
recipe,
which is a description of where to download the sources and how to compile them within
Yocto.
A
layer
is a collection of recipes. They are stackable and can extend or modify recipes defined in other layers.
A
BSP
provides the necessary layers to MSC-
LDK to support the target’s hardware.
MSC-LDK is mainly an installer of Yocto, MSC specific layers and BSP layers.
7.2.2 Getting Started
System requirements
64bit Linux x86 development host with at least 8GB of RAM - 16GB or more recommended
Ubuntu 16.04 (LTS) or newer, other distributions may also work.
Internet access for downloading packages (HTTP, FTP, Git and SSH).
Lots of free disk space for the initial build (>128 GB)
Python3 with ’pip’ installed (at least Python v3.3).