EasyManua.ls Logo

Avnet SMARC MSC SM2S-IMX8MINI - Page 70

Avnet SMARC MSC SM2S-IMX8MINI
87 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MSC SM2S-IMX8MINI 70 / 87
User Manual
Depending on the internet connection and the development host a first build may take several hours. To speed it up on further installations, share the
directories downloads and sstate-cache. All generated images can be collected in a specific directory with:
user@devhost:msc-ldk$ make install_images DESTDIR=/tmp/msc-ldk-images
7.2.4.3 Reproduce Images with MSC-LDK
One of the key features of Yocto is the strong versioning of the resulting images. Each package uses a predefined version, e.g. busybox 1.32.0. When
compiling an image, yocto also prints the used GIT layer versions (see Fehler! Verweisquelle konnte nicht gefunden werden.)
For further improvement, MSC-LDK has these additional features to recreate the image after it has been built and shipped:
The used layers and the setup line how the BSP was configured is stored in the image’s file /etc/version_layer. After compilation, the file can
be also found in the build directory under:
tmp/work/sm2s_imx8mm_qc-poky-linux/msc-image-base/1.0-r0/rootfs/etc/
Figure 7-15. Content of ‘version_layer’ file.
The setup tool allows to checkout exactly these layers and configure the BSP as before. To use it, call setup.py with only one argument --
version-file, e.g.
./setup.py --version-file ~/version_layer

Related product manuals