01 Introduction To Yocto
01 Introduction To Yocto
Moatasem Elsayed
Content
1- Customization
2- buildroot Vs Yocto
3-Yocto
4-Yocto Project Members
5-bitbake
6-open-embedded
7-poky
8- test on beaglebone
73
actual : 89 16
Customization
Building Embedded Linux system
The original way, you need to build every single component from scratch, from its
source code. Applying your configurations, compiler options, building each
component of the system, then integrate all these parts together.
Auto-Build tools
Automated tools in the form of “build scripts”, written by the experts in this field
to make it easy for everyone to build a full embedded Linux system with the
minimal knowledge of building process.
Building Tools
What is Yocto ?
The Yocto Project (YP) is an open source collaboration project that helps
developers create custom Linux-based systems regardless of the hardware
architecture.
Yocto Project
Members
Contributors
What is open
Embedded ?
Let's open
startup
bitbake
bitbake python scripts
Let's explore
conf
bin
contrib
bitbake
lib
doc
classes
binaries
Bash + python
Var = “value”
libraries
Documentation
Hello world
Caching and logging mechanism
Sequence of files
classes/base.bbclass conf/bitbake.conf
threads
Open embedded
Open Embedded
Align branches
bitbake+openembedded
Starting script
oe-init-build-env
Run two
scripts
Assign BBPATH
Create build folder
recipes
meta,machine
Test
Explore image
Limited binary
Using busybox
Lets understand how the image is created
meta/conf/
classes/base.bbclass build/conf/local.conf
bitbake.conf
core-image-minimal.bb
Base.bbclass
Add tasks
meta/recipes-core/images/core-image-minimal.bb
core_image
image