...
Code Block |
---|
$ mkdir -p ~/.bin
$ PATH="${HOME}/.bin:${PATH}"
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
$ chmod a+rx ~/.bin/repo |
...
The Google's repo tool is used to obtain Yocto sources; the tool downloads all necessary files as defined in the provided manifest file. The manifest file therefore determines, among other things, specific version of boot loader and kernel that will be included in the target image. The congatec Yocto sources and subsequently the manifest file are derived from a NXP GA release version; the mapping is in the table below, together with information about included boot loader and kernel version. In addition to the the base manifest file may be available manifest files adding specific functionality above the base NXP GA release. They would be also documented in the table.
Kernel Version | U-boot Version | NXP Release Suffix | Repo Manifest File | Derived congatec Releases | Notes |
---|---|---|---|---|---|
6.6.23-2.0.0 | 2024.04 | 2.0.0 | cgtimx8mp__imx-linux-scarthgap-6.6.23-2.0.0.xml | rel_cgtqx8p_24-09-02-0 | *The base manifest file for conga-QMX8-Plus * |
6.6.23-2.0.0 | 2024.04 | 2.0.0 | cgtimx8mp__imx-linux-scarthgap-6.6.23-2.0.0.xml | rel_cgtsx8p_24-09-02-0 | *The base manifest file for conga-SMX8-Plus * |
The repo tool dowloads all files into the working directory, so it is a good idea to create a dedicated directory for the purpose, e.g.
...
Code Block |
---|
$ MACHINE='<Machine Identification>' DISTRO=fsl-imx-xwayland source imx-setup-release.sh -b build-dir [ ! ] EULA accept needed for next step. |
Module | Machine Identification |
---|---|
conga-QMX8-Plus | imx8mp-cgtqx8p |
conga-SMX8-Plus | imx8mp-cgtsx8p |
Note: The configured environment is not persistent; it can be re-configured using command source setup-environment build-dir
...
The available i.MX images are
Image name | Target | Provided by layer |
---|---|---|
core-image-minimal | A small image that only allows a device to boot. | poky |
core-image-base | A console-only image that fully supports the target device hardware. | poky |
core-image-sato | An image with Sato, a mobile environment and visual style for mobile devices. The image supports a Sato theme and uses Pimlico applications. It contains a terminal, an editor and a file manager. | poky |
imx-image-core | An i.MX image with i.MX test applications to be used for Wayland backends. This image is used by our daily core testing. | meta-imx/meta-sdk |
fsl-image-machinetest | An FSL Community i.MX core image with console environment - no GUI interface. | meta-freescale-distro |
imx-image-multimedia | Builds an i.MX image with a GUI without any Qt content. | meta-imx/meta-sdk |
imx-image-full | Builds an opensource Qt 6 image with Machine Learning features. | meta-imx/meta-sdk |
After the bitbake finishes, the following files can be found in the tmp/deploy/images/<Machine Identification> subdirectory of the build folder.
File Name | Description |
---|---|
<bitbake image name>-<Machine Identification>.wic.bz2 | the complete Linux SD card image |
Image | Linux kernel image |
<Kernel Default DTB> | the default device tree file |
Note that this table does not contain all files in the subdirectory
...