Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Using Yocto Project with BeagleBone Black

You're reading from   Using Yocto Project with BeagleBone Black Unleash the power of the BeagleBone Black embedded platform with Yocto Project

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781785289736
Length 144 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (10) Chapters Close

Preface 1. Welcome to Yocto Project and BeagleBone Black 2. What's BitBake All About? FREE CHAPTER 3. Creating the helloworld Recipe 4. Adding Multimedia to Your Board 5. Creating and Exploring Layers 6. Your First Console Game 7. Turning BeagleBone into a Home Surveillance System 8. BeagleBone as a Wi-Fi Access Point Index

Setting up a host environment

Before we start getting sources for Yocto Project and building it, we need to prepare our host system. Yocto Project is supposed to work on any distribution of Linux known to us. There is a list of supported platforms available in the Yocto Project Reference Manual (http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#intro-requirements).

That is not to say that Yocto Project will not work on other distributions, but the given distributions are the ones on which it is verified to work successfully.

  • Ubuntu 12.04 (LTS)
  • Ubuntu 13.10
  • Ubuntu 14.04 (LTS)
  • Fedora release 19 (Schrödinger's Cat)
  • Fedora release 20 (Heisenbug)
  • CentOS release 6.4, 6.5
  • Debian GNU/Linux 7.0, 7.1, 7.2, 7.3, and 7.4 (Wheezy)
  • openSUSE 12.2, 12.3, and 13.1

For Poky Daisy 1.6.1, the list is long. We will stick to Ubuntu 14.04 (LTS) for the rest of the book. For this release, package dependencies that need to be taken care of are divided into the following four subcategories.

Essentials

These are the core tools and packages that are required to build Yocto Project. These include a GNU compiler, versioning control system, and other packages that are required to build an environment on host. Here's the command to get the essentials:

$  sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
     build-essential chrpath

Graphics

If you want to use graphics support or you intend to use Eclipse IDE, then you need to install these packages:

$  sudo apt-get install libsdl1.2-dev xterm

Documentation

These packages are required if you want to build a Yocto Project documentation:

$  sudo apt-get install make xsltproc docbook-utils fop dblatex xmlto

ADT Installer Extras

These packages are required only if you want to build an Application Development Kit (ADK):

$ sudo apt-get install autoconf automake libtool libglib2.0-dev

If you are using any distribution other than those previously listed, you will find similar commands can be used on Debian distributions, as well. For other supported distributions, consult the Yocto Project Reference Manual.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image