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
Содержание 78368
Страница 1: ...SMARC Module MSC SM2S IMX8MINI SMARC Rev 2 0 Standard 30 04 2021 Rev 1 4 User Manual ...
Страница 10: ...MSC SM2S IMX8MINI 10 87 User Manual 9 Docker documentation https docs docker com ...
Страница 16: ...MSC SM2S IMX8MINI 16 87 User Manual 1 2 Block Diagram Figure 1 1 Block Diagram ...
Страница 67: ...MSC SM2S IMX8MINI 67 87 User Manual Example Figure 7 13 Stop the MSC LDK container and release its resources ...
Страница 77: ...MSC SM2S IMX8MINI 77 87 User Manual Example ...