MSC SM2S-IMX8M User Manual
72 / 92
Some
scripts of the recipes use an ’echo -e <somewhat>’ command. bitbake calls the buildscripts with /bin/sh as shell. If your
hostsystem uses "bash" as "/bin/sh" everything works fine. But if a shell with less functionality like "dash" is used, it is necessary to setup
"bash" as sh. This can be done on most debian derivated systems by:
user@devhost:$ sudo dpkg-reconfigure dash
The subsequent question has to be answered with "no"
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
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 Figure 7-16: Building msc-image-base)
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_imx8m_qc-poky-linux/msc-image-base/1.0-r0/rootfs/etc/
Figure 7-17: Content of 'version_layer' file
Содержание SMARC MSC SM2S-IMX8M
Страница 1: ...SMARC Module MSC SM2S IMX8M SMARC Rev 2 0 Standard Version 1 1 18 03 2021 User Manual ...
Страница 15: ...MSC SM2S IMX8M User Manual 15 92 1 2 Block Diagram Figure 1 1 Block Diagram ...
Страница 65: ...MSC SM2S IMX8M User Manual 65 92 Example Figure 7 7 Create docker container for MSC LDK Part 1 ...
Страница 79: ...MSC SM2S IMX8M User Manual 79 92 Example Figure 7 28 OS boot from network ...
Страница 85: ...MSC SM2S IMX8M User Manual 85 92 Select Edit User Message Figure 7 32 Bug report User message editor ...