Build the Image

This section provides step-by-step instructions for setting up the workspace and starting the image build process.

Note

The build process may take a while, depending on your system’s resources.

Initialize the Workspace

Create a new directory and clone the repository.

mkdir genio
cd genio
git clone https://github.com/grinn-global/meta-grinn-genio.git

Build the Default Image

To build the default image, execute the following command in the terminal.

KAS_MACHINE=grinn-genio-700-sbc \
kas-container build meta-grinn-genio/kas/default.yml

After the build completes, verify that the image was created by checking the output directory.

ls build/tmp/deploy/images/grinn-genio-700-sbc

Build the NDA Image

The default image excludes components that require an NDA. As a result, it provides only a limited feature set.

To enable access to the NDA repositories, follow GitLab Account Setup.

After generating your access token and updating the .netrc file, you can build the NDA-enabled image by running the command below.

KAS_MACHINE=grinn-genio-700-sbc \
NETRC_FILE=~/.netrc \
kas-container build \
meta-grinn-genio/kas/default.yml:meta-grinn-genio/kas/nda.yml

This image will be generated in the same directory as the default image.

Build the Image with DEEPX Support

The default configuration does not enable support for the DEEPX accelerator.

For more information about DEEPX, please refer to the DEEPX website.

To build the image with DEEPX support, use the following command.

KAS_MACHINE=grinn-genio-700-sbc \
kas-container build \
meta-grinn-genio/kas/default.yml:meta-grinn-genio/kas/deepx.yml

This image will be generated in the same directory as the default image.