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 3
Rating: 4.4 out of 5(540 ratings)
5,302 students

Embedded Linux using Yocto Part 3

Learn Yocto Project in Deep - Create your own packages, recipes for static, dynamic libraries, autotools, cmake
Created byLinux Trainer
Last updated 12/2020
English
English [Auto],

What you'll learn

  • Understand the FILES and PACKAGES variables
  • Creating your own PACKAGES
  • Writing recipes for static library
  • Writing recipes for dynamic library
  • Build time and Run time dependencies
  • Difference between RDEPENDS and DEPENDS
  • Example Recipes for RDEPENDS and DEPENDS
  • Recipes for Autotools
  • Recipes for CMake
  • Devshell
  • How files searching works
  • Customizing Splash screen
  • Devshell

Course content

11 sections59 lectures4h 52m total length
  • Splitting Files2:03

    Split files produced by the recipe during install into logical components using the do_package_task, organizing packages with packages and files variables to exclude docs and debug binaries from production images.

  • PACKAGES Variable4:39

    Learn how the packages variable defines the recipe's package set, including main, development, and documentation packages; use override syntax with files_<package> to assign files to specific packages.

  • Examples of FILES and PACKAGES Variable5:25

    Learn how files and packages variables in Yocto determine package contents. See a hello binary in usr bin assigned to the my hello package via files_<package> syntax.

  • Adding Readme.txt file to recipe8:34

    Add a readme.txt to the image by placing it in usr/share/doc, copying it during do install, and including the documentation package in image install.

  • What happens when we copy Readme to includedir3:42

    Copy readme.txt into the include directory to see how files move into the dev package rather than the documentation package in Bitbake.

  • What happens if we have same binary in two packages7:50

    Shows how BitBake assigns a file to the earliest package whose files value matches; when two packages share the same binary, the leftmost package wins, affecting distribution.

  • installed-vs-shipped error3:36

    Fix the files or directories installed but not shipped in any package by aligning the do install stage with a package using the files variable or removing unused files.

  • Creating our own PACKAGE5:47

    Create a custom package named l.w.l, add readme.txt via files variable with overriding syntax, and ensure the image install accepts package names, not recipe names, so rootfs includes the file.

Requirements

  • Have a PC with internet connection
  • Should have completed Embedded Linux Using Yocto Part 2 Course

Description

Learn the below topics by enrolling in this course

✔️ Understand File Searching Paths - FILESPATH, FILESEXTRAPATH, FILESOVERRIDE

✔️ Writing recipes for static and dynamic libraries

✔️ How to specify build time and run time dependencies in recipes - DEPENDS & RDEPENDS

✔️ Creating your own Packages

✔️ Understanding autotools and writing recipes for autotools

✔️ Understanding CMake and writing recipes for cmake

✔️ Devshell

✔️ Adding your own custom logo on boot

✔️ Most important concept of Yocto: bbappends

Course Curriculum in Deep

FILES and PACKAGES:

a) FILES variable

b) PACKAGES variable

c) How to create your own package

Static and Dynamic Library:

a) Yocto recipe for static library

b) Yocto recipe for dynamic library

c) How to handle unversioned library

Dependencies(Build Time and Runtime):

a) DEPENDS variable

b) RDEPENDS variable

c) -g option bitbake

d) noexec
Autotools:

a) Autotools Introduction

b) Hello World Autotools

c) GNU Hello

d) Recipe for Autotools
CMake:

a) Introduction to CMake

b) Hello World CMake

c) Recipe for CMake

d) Devshell

Who this course is for:

  • Developers who want to learn Yocto in deep