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)

  1. Download the latest stable release:
    $ git clone -b pyro git://git.yoctoproject.org/poky.git

    or

    $ wget downloads.yoctoproject.org/releases/yocto/yocto-2.3.2/poky-pyro-17.0.2.tar.bz2
  2. Source oe-init-build-env script, to create the build directory:
    $ source poky/oe-init-build-env ../my_dir
  3. Edit conf/local.conf and set MACHINE and any extra required variables
  4. Build the OS image:
    $ bitbake core-image-minimal
  5. Boot the OS image of your choice:
    $ runqemu qemuarm

    Where:

    MACHINE=qemuarm

Exercises

  1. Finish a successful Yocto Project build.
  2. Clone the layers describe in the build using wherever possible the pyro branch
  3. Use the layer created in the last lab and add support for Python and NodeJS.
  4. Add some extra packages support and group them inside according packagegroups.
  5. Create a new image which should include all the above mentioned support.
  6. Generate the SDK for your image.
iot/labs/10.txt ยท Last modified: 2017/10/10 19:22 by jan.vaduva
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0