
MSC SM2S-IMX8M User Manual
62 / 92
7.2.3 Setup the MSC-LDK build environment
The MSC-LDK must be installed on a partition with at least 128 GB free space. As a lot
of source files will be accessed, it is recommended to use an EXT4 partition with the
mount options "noatime,nodiratime".
The “classic” method
Step 1: Clone the base MSC-LDK repo
To clone and enter the base MSC-LDK repo, run the following command:
git clone ssh://[email protected]:9418/msc_ol99/msc-ldk --branch v1.5.0
msc-ldk-v.1.5.0
cd msc-ldk-v.1.5.0
Note: The subsequent examples have been recorded with earlier release states of the BSP, but the same methods and procedures still apply
respectively. Just the readings of "v1.x.x" will change.
Example:
Figure 7-2: Clone base MSC-LDK repo
Your current directory now contains the following sub directories:
Figure 7-3: Initial content of the root
MSC-LDK directory
Step 2: Create build directory
To create your build directory run the following command:
./setup.sh --bsp=0102901
where the "0102901" is the internal project number of the MSC SM2S-IMX8M module.