Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Embedded Linux Using Yocto Part 2
Bestseller
Highest Rated
Rating: 4.7 out of 5(1,135 ratings)
7,326 students

Embedded Linux Using Yocto Part 2

Learn Yocto Project in Deep - Create your own layer, recipe and image
Created byLinux Trainer
Last updated 10/2020
English
English [Auto],Turkish [Auto],

What you'll learn

  • 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

Course content

11 sections83 lectures4h 55m total length
  • Variable Assignment - Hard2:12

    Learn how to assign values to variables using the equal to operator in Yocto configuration files, including hard, immediate assignments and using single quotes to include double quotes.

  • Find Value of a Variable5:47

    Learn how to verify variable values in embedded Linux using Yocto by inspecting global configuration files with Bitbake -e and querying recipe-local variables, such as license and image install.

  • Split variable assignment over multiple lines2:16

    Learn how to split variable assignments over multiple lines with a backslash in Yocto layer files, and see how bitbake joins them into a single line.

  • Variable Assignment - Soft4:35

    Explore soft versus hard assignment in variables, using default values when undefined; hard assignments override soft defaults, and with multiple soft assignments, the first takes effect.

  • Variable Assignment - Weaker Default Value3:58

    Explore how weaker default values differ from default values, and how hard and soft assignments are resolved during parsing, including which first or last assignment is used.

  • Variable Expansion - Assigning Value of other variables5:31

    Explain Bitbake variable expansion by assigning one variable to another using dollar syntax and an equals operator. Show that expansion defers until use, and undefined variables remain as literal strings.

  • Immediate variable expansion3:23

    Explore immediate variable expansion in Yocto, comparing colon equals to with equals to and showing how immediate vs deferred expansion affects A, B, and C assignments.

  • Appending Operators1:24

    Explore appending operators: plus equals adds a space when appending; dot equals does not. From a = hello, a += world yields hello world, while a .= world yields helloworld.

  • Prepending Operators1:47

    Discover how prepending and appending operators work in variable assignments, comparing equals to plus and equals to dot, and learn when spaces are added automatically.

  • Overriding Style Syntax2:25

    Explore overriding style syntax in embedded Linux with Yocto, using underscore append and underscore prepend to append or prepend, noting no automatic spaces.

  • Removal Syntax1:52

    Discover the removal syntax for variables and lists in embedded linux using Yocto, using the underscore remove style to delete all occurrences of a value, while preserving spaces.

  • Advantages of overriding style syntax6:16

    Explore the advantages of override style syntax in Yocto, including underscore append, prepend, and remove, and how guaranteed operations improve image install and package handling.

  • Quiz 1

Requirements

  • Have a PC with internet connection
  • Should have completed Embedded Linux Using Yocto Part 1 Course (or) Should be aware of basics of Yocto

Description

Welcome to Embedded Linux using Yocto Part 2

Update: 11/10/2020: Added notes used in the course

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

Who this course is for:

  • Developers who want to learn Yocto in deep