The most recent version of this page is a draft.DiffThis version is outdated by a newer approved version.DiffThis version (10 Nov 2021 16:22) was approved by Henrik Mau.

This is an old revision of the document!

Building The SDK

In order to build the SDK it is necessary to follow the instructions on Yocto Linux Quickstart Guide for ADSP-SC594 for Setting Up Your Host PC.

Preparing the buildtool

Yocto requires the environment to be configured before building is possible.  A setup-environment script in the gxp folder contains all the required environment settings.

$ source setup-environment -m adsp-sc594-som-ezkit

Sourcing the script will configure your build environment and create a build folder along with a local build configuration file.  See the Yocto Manual for further details.

Note that the build environment needs to be sourced once only before building.  If later working in a different terminal the setup-environment script should be sourced again.  If sourcing the setup-environment script is done without specifying the machine Yocto will reuse the previous configuration settings and retain any changes made to the files in the conf folder.

Building the SDK

To build the SDK for the adsp-sc5xx-minimal image invoke bitbake from within the build directory created previously.

$ bitbake adsp-sc5xx-minimal -c populate_sdk

When the build has completed you will find a set of files in the <BUILD_DIR>/tmp/deploy/sdk directory

$ ls tmp/deploy/sdk

The is a self-extracting archive containing the SDK.

Installing the SDK

Invoke the self-extracting archive. It will default to installing to /opt/poky/3.1.8 but gives you the option to select your own install folder during the installation.

$ ./
Poky (Yocto Project Reference Distro) SDK installer version 3.1.8
Enter target directory for SDK (default: /opt/poky/3.1.8): 
You are about to install the SDK to "/opt/poky/3.1.8". Proceed [Y/n]? y
Extracting SDK...................................................................done
Setting it up...done
SDK has been successfully set up and is ready to be used.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
$ . /opt/poky/3.1.8/environment-setup-armv7at2hf-neon-poky-linux-gnueabi

Your SDK is now installed.

resources/tools-software/linuxdsp/docs/quickstartguide/building-the-sdk.1636380801.txt.gz · Last modified: 08 Nov 2021 15:13 by Sammy Arschavir