4 out of 5
4
1 review on Udemy

Embedded Linux Using Yocto Part 2

Learn Yocto Project in Deep - Create your own layer, recipe and image
Instructor:
Linux Trainer
31 students enrolled
English [Auto]
Various operators used by bitbake: ?=, ??=, =, +=, =+, overriding style syntax, append operators
Create a layer: manual and automatic using bitbake-layers command
Create an image: from scratch and reuse an existing image
Image features: Debug tweaks, ssh server, read only root filesystem, splash screen etc
Image variables: IMAGE_FSTYPES, IMAGE_NAME etc
Various stages of recipes: fetch, configure, patch, compile etc
Recipes for C projects, Makefile based project and git repositories
Logging functions provided by bitbake

Welcome to Embedded Linux using Yocto Part 2

What will you learn in this course

  • Various operators which are used by bitbake – ?=,??, =,+=, =+, overriding style syntax, append operators

  • Creating your own layer – Manual and Automatic

  • Creating your own image – scratch and reusing an existing image

  • Customizing image using IMAGE variables and IMAGE_FEATURES

  • Creating your own recipe – for C projects and git projects

  • Logging Functions provided by Yocto

Course Curriculum in Deep

Hour 1:

a) Various operators which are used by bitbake

b) Creating your own layer : Manually and Automatically through script

c) Verifying whether your layer is yocto compatible or not

Hour 2:

a) How to create our own custom image from scratch or reusing an existing image

b) Looked into various image features provided by core-image.bbclass such as debug-tweaks, selecting a ssh server, read only rootfs etc

c) Other customization variables related to image recipe

d) Manifest file which contains list of packages generated by the image

Hour 3:

a) Basics of Recipes

b) Important tasks performed by Bitbake in detail

c) Writing a recipe for simple hello world c program

d) Various Variables used in Recipe (WORKDIR, S, D, PN, PV, PR)

e) Explored the WORKDIR

Hour 4:

a) Log Files (Overall Log & Recipe Logs)

b) Bitbake Logging Functions

c) -D option of Bitbake

d) Makefile Recipe

Hour 5:

a) Automatically fetching the latest revision

b) Fetching a specific revision

c) Fetching a branch

d) Fetching a tag

e) Fetching a local repository

f) Applying Patch

This course comes with a 30 day money back guaranteed!. If you are not satisfied with the course, you’ll get your money back

So what are you waiting for, enroll now and take the next step in mastering Yocto Project

Operators

1
Variable Assignment - Hard
2
Find Value of a Variable
3
Split variable assignment over multiple lines
4
Variable Assignment - Soft
5
Variable Assignment - Weaker Default Value
6
Variable Expansion - Assigning Value of other variables
7
Immediate variable expansion
8
Appending Operators
9
Prepending Operators
10
Overriding Style Syntax
11
Removal Syntax
12
Advantages of overriding style syntax
13
Quiz 1

Layers

1
What is Layer
2
Why do we need to create a layer
3
Layers in detail
4
Manually Creating Layer
5
Creating Layer using bitbake-layers command
6
Layer Configuration (layer.conf)
7
Script to check Layer Compatibility
8
Challenge
9
Quiz 2

Image

1
What is Image
2
Creating Custom Images
3
What is Package group
4
Creating an image from scratch
5
Adding Package to existing image
6
Reusing existing image and create a new image
7
Quiz 3

Image Features

1
Introduction to Image Features
2
How Image features actually work
3
Example of Image features
4
Debug Tweaks
5
Read Only Root FileSystem
6
Splash Screen
7
Other Image Features
8
Quiz 4

Image Variables

1
Other Language Support
2
IMAGE_FSTYPES
3
Create your own image type
4
Different Image Name
5
Image Manifest file
6
Challenge

Basics of Recipes

1
What is Recipe
2
Recipe File Format
3
How to build recipe - Bitbake
4
Recipe Fetch Stage
5
Recipe Unpack Stage
6
Recipe Patch Stage
7
Recipe Licensing
8
Recipe Configure Stage
9
Recipe Compile, Install and Package Stage

Writing Recipes

1
Recipe For C Program
2
Install Keyword
3
WORKDIR
4
OpenEmbedded Variables
5
Exploring WORKDIR
6
Recipe Build in deep
7
Recipe build in deep - part 2
8
Adding Recipe to image root filesystem
9
Challenge
10
Quiz 5

Logging

1
Introduction
2
Log and Run files of recipes
3
Logging functions in bitbake
4
Python logging functions
5
Enable Debug Output

Recipe Examples for Makefile based projects

1
Recipe for C Code span across multiple files
2
Add Preprocessing Directive to Recipe
3
Recipe for Makefile
4
oe_runmake
5
EXTRA_OEMAKE
6
Add install task to Makefile
7
Makefile without clean target

Recipes for git projects

1
Introduction
2
What is SRCREV
3
Add compile and install task to recipe
4
Add git recipe to image
5
Selecting a specific revision
6
Specify a branch
7
Fetching from local repository
8
Private Repositories
9
How to pass tag to a recipe
10
Exploring git recipes
11
Patching source of recipe
12
Create and Apply Patch
13
Challenge
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4
4 out of 5
1 Ratings

Detailed Rating

Stars 5
0
Stars 4
1
Stars 3
0
Stars 2
0
Stars 1
0
ed77e459cfaa442eeea9f1734b60ba1a
30-Day Money-Back Guarantee

Includes

5 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion