Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

Linux Kernel Internals and Device Drivers

( Duration: 5 Days )

This This Linux Kernel Internals and Device Drivers training course provides skills to understand the Linux architecture, hardware and memory management, modularization, and the layout of the kernel source. This course also provides skills for the development of character, block, and network drivers.

  • Basic familiarity with using a GNU/Linux system as an end user
  • Basic familiarity with a command line shell
  • Basic knowledge of user space / application development
  • Intermediate C programming knowledge

This Linux Kernel Internals and Device Drivers workshop is ideal for experienced Programmers.

COURSE AGENDA

1

Linux Architecture and Internals

  • Introduction to Linux Kernel Architecture
  • Kernel Features and Versioning
  • Scheduling Algorithms
  • System Calls
  • Memory management
  • Virtual Memory
    • Page tables
    • Mapping virtual to physical memory
    • Demand paging, Swapping
  • Time Mgmt. And Task Queues
  • Delay execution techniques
    • Task queues
    • Task queue operations
  • Linux Bootup process
2

Linux Kernel Mode Programming

  • Linux Kernel Source Code Layout
  • Custom Kernel Configuration and Compilation
  • Linux Root File System
  • Introduction to kernel modules
  • First module program, insmod and rmmod, Makefile
  • Hardware Management
    • Introduction to parallel port
    • Accessing device memory
    • Requesting and Releasing a Region
    • First interaction with Hardware.
  • Structure of Character Drivers
    • Registration and unregistration
    • Major and minor numbers
    • File_operations Structure
    • File and Inode Structures
  • Creating Device Nodes
3

Implementing Character and Block Device Drivers

  • Implementing Character Device Drivers
    • Open and close methods of driver
    • MAJOR and MINOR macros
    • Mapping Application Filesystem Calls to a Driver Entry Points
    • Character Driver operations
    • Implementation of ioctl
    • Interrupt handling
    • Implementing Tasklets and work queues
  • Implementing Block Device Drivers
    • The Linux Filesystem driver interface
    • Introduction to block drivers
    • Interaction of filesystem drivers with block device drivers
    • Structure of a Block Device
    • Key Data Block Device Driver Structures
4

Kernel Mode Debugging Techniques

  • Tracing and Debugging
  • Using printk for Debugging
  • Information in /proc and /sys
  • Using strace to trace system calls
  • Using ksyms
  • Debuggers: gdb/kgdb

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X