Book Image

Using Yocto Project with BeagleBone Black

By : Hafiz Muhammad I Sadiq, Irfan Sadiq
Book Image

Using Yocto Project with BeagleBone Black

By: Hafiz Muhammad I Sadiq, Irfan Sadiq

Overview of this book

Table of Contents (17 chapters)
Using Yocto Project with BeagleBone Black
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Deploying helloworld


We are dealing with embedded systems and creating a package for an embedded board, that is, BeagleBone. Preparing a package alone doesn't make sense. We cannot run it on the host system. So, the next logical step is to actually deploy our package onto an embedded board. For such a simple recipe, we could have used simple compilation steps, copied the binary on our board and ran it. However, such a technique would have become a nightmare in a simple BSP, where we may easily have to do this for more than 1000 packages. Hence, we are using Yocto Project. We have the following two ways to deploy any recipe.

Manually installing a package

We can manually copy our package from tmp/deploy/ipk/cortexa8hf-vfp-neon/helloworld_0.1-r0_cortexa8hf-vfp-neon.ipk to our board using SCP over SSH, or any other technique available. We can copy it to an SD card and install it on the board, using the following command:

# opkg install  helloworld_0.1-r0_cortexa8hf-vfp-neon.ipk

This is not a very...