Quantcast
Channel: Boundary Devices
Viewing all articles
Browse latest Browse all 391

Jethro release of Yocto

$
0
0

Yocto 2.0 release, Jethro, is now available.

Update December 1st, 2015: chromium replaced with firefox until chromium is fixed.

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.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 chown -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:

~$ curl http://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 http://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.

jethro-desktop

The post Jethro release of Yocto appeared first on Boundary Devices.


Viewing all articles
Browse latest Browse all 391

Trending Articles