First Yocto Build
Enter into the Yocto build directory (it depends on your installation type)
Then run the command of the configuration environment:
MACHINE=<machine target> source engicam-setup-environment <target build direcotry>
MACHINE=microgea source engicam-setup-environment build_microgea
The previous command must be run each time a new shell is opened. Changing the target directory involves the rebuild of it. The target build directory must be named without the path; the script will provide to generate the folder in the right path
These commands will redirect the user in a dedicated YOCTO command shell, in this shell, there will be all the YOCTO environment variables and path automatically exported. Please remember that from this shell will not be possible to execute all normal Linux command shell, use this shell only for working with YOCTO system, for the normal shell please open a new Linux shell instance. Remember also to execute the setup- environment script every time it's needed to work with the YOCTO system, when the shell is closed all the environment settings made by the environment script are lost.
The list of machine targets available depends on the YOCTO version.
It's possible to find the list of the machines in the following path:
This is an example of the available target machine:
gealmx6ull icoremx6duallite icoremx6solox isiot-geamx6ul microgea-epd geamx6ul icoremx6quad imx6sx-smarcore microdev icoremx6dual icoremx6solo microgea
Read and agree with the license, then the script sets the environment used for the image compiling. To perform the image's compiling, run the command:
bitbake <image name>
It's possible to generate the following images, the images are periodically updated on meta-engicam git layer.
engicam-demo-qt // image with qt demo application for gui testing engicam-test-hw // image for board hardware testting
After building an image is possible to program a bootable SD card or write the pre-built image on the internal memory, NAND for SODIMM modules, or EMMC for QSEVEN modules.