This is an old revision of the document!
Lab 10: Yocto Project support for IoT
Customize projects from scratch
Open the Quick start guide to Yocto Project, located at: Quick start guide
Set up your Linux system with the right packages (instruction are provided for Ubuntu, Fedora, CentOS and openSUSE)
Download the latest stable release:
$ git clone -b zeus git://git.yoctoproject.org/poky.git
or
$ wget downloads.yoctoproject.org/releases/yocto/yocto-3.0/poky-zeus-22.0.0.tar.bz2
Source
oe-init-build-env script, to create the build directory:
$ source poky/oe-init-build-env ../my_dir
Edit conf/local.conf and set MACHINE and any extra required variables
Build the
OS image:
$ bitbake core-image-minimal
Boot the
OS image of your choice:
$ runqemu qemuarm
Where:
MACHINE=qemuarm
Exercises
Finish a successful Yocto Project build.
Clone the layers describe in the build using wherever possible the pyro branch
Use the layer created in the last lab and add support for Python and NodeJS.
Add some extra packages support and group them inside according packagegroups.
Create a new image which should include all the above mentioned support.
Generate the SDK for your image.