Get in Touch
 Duration 14 hours

Course Outline

1. Introduction to the Linux Kernel

  • Introduction to Embedded Linux systems
  • Analysis of Linux kernel architecture
  • Distinction between User space and Kernel space
  • Core responsibilities of the Kernel
  • Processes in the Kernel development cycle
  • Survey of supported embedded hardware platforms

2. Preparation of the Development Environment

  • Configuration of the development workstation
  • Principles of Cross-compilation
  • Installation of essential development utilities
  • Setup of the BeagleBone Black development board
  • Serial console configuration procedures
  • Boot process for the target device

3. Acquisition and Analysis of Kernel Source Code

  • Structure of the Linux kernel source tree
  • Comparison of Stable versus Long-term Support kernels
  • Procedures for downloading kernel sources
  • Exploration of source code organization
  • Review of Kernel documentation standards
  • Strategies for managing kernel versions

4. Configuration, Compilation, and Booting of the Kernel

  • Kernel configuration via menuconfig
  • Selection of specific kernel features
  • Execution of Cross-compilation tasks
  • Generation of kernel images
  • Installation of kernel modules
  • Overview of Bootloader functionality
  • Process for booting a custom kernel

5. Device Tree Fundamentals

  • Objectives of the Device Tree framework
  • Structure of Device Tree Source (DTS) files
  • Function of Device Tree Blob (DTB) files
  • Concepts in hardware description
  • Methods for modifying Device Tree files
  • Compilation and deployment of Device Trees

6. Linux Kernel Modules

  • Architecture of Kernel modules
  • Construction of loadable kernel modules
  • Procedures for loading and unloading modules
  • Configuration of Module parameters
  • Management of Module dependencies
  • Interaction with kernel modules
  • Techniques for Module debugging

7. Linux Kernel Debugging

  • Implementation of Kernel logging via printk()
  • Utilization of dmesg for log review
  • Application of Dynamic debugging
  • Analysis of Kernel panic events
  • Interpretation of Oops messages
  • Debugging workflows using GDB
  • Application of basic performance tracing tools

8. Character Device Drivers

  • Linux device driver model structure
  • Definition of Character devices
  • Procedures for Registering drivers
  • Implementation of File operations
  • Management of Read and write operations
  • Use of the IOCTL interface
  • Protocols for Memory management
  • Driver cleanup routines

9. Driver Integration and Hardware Access

  • Structure of Platform devices and drivers
  • Implementation of GPIO programming
  • Management of Interrupt handling
  • Utilization of Timers and deferred work
  • Methods for Accessing hardware registers
  • Interaction with memory-mapped I/O

10. Version Control using Git

  • Fundamentals of Git usage
  • Management of kernel source code repositories
  • Techniques for Branching and merging
  • Generation of patches
  • Procedures for Reviewing changes
  • Strategies for Collaborating on kernel development

11. Practical Kernel Development Exercises

  • Configuration of a custom kernel
  • Compilation and deployment of the kernel
  • Development of a simple kernel module
  • Construction of a basic character device driver
  • Modification of Device Tree files
  • Diagnosis of kernel issues on BeagleBone Black

12. Best Practices and Summary

  • Adherence to Kernel coding style
  • Strategies for Writing maintainable drivers
  • Identification of Common development pitfalls
  • Access to Kernel documentation resources
  • Workflow for Open-source contribution
  • Assessment of key concepts
  • Addressing technical inquiries
  • Pathways for advanced Linux kernel development

Requirements

Fundamental proficiency with GNU/Linux operating systems

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories