Create and Install SDK : Yocto Project

In this news letter you will learn how to create and install SDK using Yocto Project.

Yocto provides a command for building a self-contained SDK. The generated SDK installer contains everything necessary to begin target application development on a host machine.

In the build directory, execute bitbake with the “populate_sdk” command for the IoT development image we have created in the previous session:

bitbake iot-support-dev-image -c populate_sdk

Once bitbake completes, you will find your SDK in the build/tmp/deploy/sdk/ directory.

Execute the SDK install script to install the SDK components on your host development machine.

poky-glibc-x86_64-iot-support-dev-image-cortexa8hf-neon-beaglebone-yocto-toolchain-4.0.8.sh

As part of the SDK, an environment-setup* file is created. Each time you wish to use the SDK in a new shell session, you need to source the environment setup script.

source environment-setup-cortexa15t2hf-neon-poky-linux-gnueabi


Discover more from Embedded for All

Subscribe to get the latest posts sent to your email.

Leave a comment

Discover more from Embedded for All

Subscribe now to keep reading and get access to the full archive.

Continue reading

Design a site like this with WordPress.com
Get started