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 astra cd astra git clone https://github.com/grinn-global/meta-grinn-astra.git
Build the Default Image
To build the default image, execute the following command in the terminal.
KAS_MACHINE=grinn-astra-1680-sbc \ kas-container build meta-grinn-astra/kas/default.yml
After the build completes, verify that the image was created by checking the output directory.
ls build/tmp/deploy/images/grinn-astra-1680-sbc
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-astra-1680-sbc \ kas-container build \ meta-grinn-astra/kas/default.yml:meta-grinn-astra/kas/deepx.yml
This image will be generated in the same directory as the default image.