0% found this document useful (0 votes)
23 views62 pages

01 Introduction To Yocto

Uploaded by

kerelos.mekhael
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views62 pages

01 Introduction To Yocto

Uploaded by

kerelos.mekhael
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 62

01 Introduction

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

From scratch (My YouTube Channel )

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

bitbake bitbake.lock bblayers.conf mylayer/conf/layer.conf

classes/base.bbclass conf/bitbake.conf
threads
Open embedded
Open Embedded
Align branches
bitbake+openembedded

Our python scripts

Starting script
oe-init-build-env

Run two
scripts
Assign BBPATH
Create build folder

Apply template content


Lets run script
Explore build folder
Lets see what will happen
noticed
tasks

recipes

meta,machine
Test
Explore image

Limited binary

Limited etc and SV

Using busybox
Lets understand how the image is created

bitbake bitbake.lock bblayers.conf meta/conf/layer.conf

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

Question how bitbake know this path ?


So lets see what is packagegroup-core-boot?
2

Lets check one of these RDEPENDS?


Check variable
image

core_image

image

No need to go deeply ,everything is


known through another tools
Poky
bitbake+openembedded+poky
More layers , more hardware
Lets test
Test
Task

- Download poky source on


kirkstone

- Create image for qemu

- Run image for qemu

- Search how to add python to


image

You might also like