Get in Touch
 Duration 14 hours

Course Outline

1. Introduction to the Linux Kernel

  • Overview of Embedded Linux
  • Linux kernel architecture
  • User space versus kernel space
  • Core responsibilities of the kernel
  • The kernel development lifecycle
  • Survey of supported embedded platforms

2. Establishing the Development Environment

  • Configuring the development workstation
  • Concepts of cross-compilation
  • Installing essential development tools
  • Setting up the BeagleBone Black development board
  • Configuring the serial console
  • Starting the target device

3. Acquiring and Comprehending the Kernel Source

  • The Linux kernel source tree
  • Stable versus long-term support kernels
  • Downloading kernel sources
  • Examining the source code layout
  • Kernel documentation resources
  • Version control for the kernel

4. Configuring, Compiling, and Booting the Kernel

  • Kernel configuration via menuconfig
  • Choosing specific kernel features
  • Cross-compiling the kernel
  • Generating kernel images
  • Installing kernel modules
  • Introduction to bootloaders
  • Booting a custom kernel

5. Device Tree Fundamentals

  • The role of the Device Tree
  • Device Tree Source (DTS) files
  • Device Tree Blob (DTB)
  • Principles of hardware description
  • Editing Device Tree files
  • Building and deploying Device Trees

6. Linux Kernel Modules

  • Architecture of kernel modules
  • Constructing loadable kernel modules
  • Loading and unloading modules
  • Defining module parameters
  • Managing module dependencies
  • Interaction with kernel modules
  • Techniques for module debugging

7. Linux Kernel Debugging

  • Kernel logging using printk()
  • Utilising dmesg
  • Implementing dynamic debugging
  • Analyzing kernel panics
  • Interpreting Oops messages
  • Debugging processes with GDB
  • Essential performance tracing tools

8. Character Device Drivers

  • The Linux device driver model
  • Nature of character devices
  • Driver registration procedures
  • Implementing file operations
  • Handling read and write operations
  • The IOCTL interface
  • Memory management in drivers
  • Cleaning up driver resources

9. Driver Integration and Hardware Access

  • Platform devices and corresponding drivers
  • Programming GPIOs
  • Processing interrupts
  • Using timers and deferred work
  • Accessing hardware registers
  • Interacting with memory-mapped I/O

10. Version Control with Git

  • Fundamentals of Git
  • Managing kernel source code
  • Techniques for branching and merging
  • Generating patches
  • Reviewing code changes
  • Collaborative kernel development

11. Practical Kernel Development Labs

  • Configuring a bespoke kernel
  • Building and deploying the kernel
  • Creating a simple kernel module
  • Developing a basic character device driver
  • Modifying Device Tree files
  • Debugging kernel issues on the BeagleBone Black

12. Best Practices and Summary

  • Kernel coding standards
  • Writing maintainable drivers
  • Identifying common development pitfalls
  • Kernel documentation resources
  • Workflows for open-source contributions
  • Recap of key concepts
  • Questions and answers
  • Future pathways in Linux kernel development

Requirements

A foundational understanding of operating a GNU/Linux system

Custom Corporate Training

Training solutions designed exclusively for businesses.

  • Customised Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
  • Flexible Schedule: Dates and times adapted to your team's agenda.
  • Format: Online (live), In-company (at your offices), or Hybrid.
Investment

Price per private group, online live training, starting from £3200 + VAT*

Contact us for an exact quote and to hear our latest promotions

Testimonials (2)

Provisional Upcoming Courses (Contact Us For More Information)

Related Categories