Jethro release of Yocto

Published on November 30, 2015

Archived Notice

This article has been archived and may contain broken links, photos and out-of-date information. If you have any questions, please Contact Us.

Yocto 2.0 release, Jethro, is now available. Update April 14th, 2016: Updated images to latest Jethro and 3.14.52 kernel

For the Impatient

How to Burn

To burn the image file to a sdcard, run this command assuming your sdcard is mounted on /dev/sdc

~$ sudo umount /dev/sdc*
~$ zcat boundary-eval-image-nitrogen6x-jethro-3.14.52.sdcard.gz | sudo dd of=/dev/sdc bs=1M

How to Replicate

To make the build process a bit easier, we've created our own boundary-bsp-platform that can be used to build images for our boards. This is mostly a clone of fsl-community-bsp-platform but we've added meta-browser and our own meta-boundary to the mix. There is also a Boundary-Devices-centric setup-environment script. Again, this is mostly a clone of fsl-community-bsp-base's setup-environment script however we've added a central download area and cache to the default local.conf. Firstly, you'll need to create the download/cache folders and give r/w access.

~$ sudo mkdir -p /opt/freescale/yocto/imx
~$ sudo mkdir -p /opt/freescale/yocto/sstate-cache
~$ sudo chmod -R 777 /opt/freescale
To build the image, you'll need these packages installed as well as this repo tool that can be installed like this:
~$ sudo curl https://commondatastorage.googleapis.com/git-repo-downloads/repo > /usr/bin/repo
~$ sudo chmod a+x /usr/bin/repo
Now create your build directory and initialize everything.
~$ mkdir ~/jethro
~$ cd ~/jethro
~/jethro$ repo init -u https://github.com/boundarydevices/boundary-bsp-platform -b jethro
~/jethro$ repo sync
Now setup the environment for building. In this example I'm targeting the nitrogen6x, however nitrogen6x-lite and nitrogen6sx are also valid MACHINE targets here. Use whatever your platform is.
~/jethro$ MACHINE=nitrogen6x . setup-environment boundary-eval-image
Now bitbake boundary-eval-image
~/jethro/boundary-eval-image$ bitbake boundary-eval-image
Now after some time this should build the same image as above. The image file will deploy to ~/jethro/boundary-eval-image/tmp/deploy/images/{MACHINE}/boundary-eval-image-{MACHINE}.sdcard.gz. Feel free to tweak and add things as you see fit.

Video Input Tests

If you have our ov5640-mipi camera, ov5642 camera, or our HDMI input daughterboard the image includes easy desktop icons to launch tests for the respective hardware.