inflearn logo

Linux BSP Bring-Up and Boot Optimization Part 2: Linux System

Provides a systematic explanation of the Linux kernel boot process, device driver initialization flow, ftrace-based boot-time analysis, and device tree processing and driver matching for Linux BSP bring-up and boot optimization.

6 learners are taking this course

Level Intermediate

Course period Unlimited

ftrace
ftrace
qemu
qemu
ftrace
ftrace
qemu
qemu

What you will gain after the course

  • You can understand the Linux BSP development process and the development and bring-up of device drivers, and acquire the core skills required of a BSP engineer.

  • I can understand the overall structure and build process of the Linux kernel, and analyze kernel source code and preprocessed files to trace key operations.

  • You can analyze how the kernel command line is processed and how Driver Initcalls are executed, and understand the initialization process of device drivers.

  • You can use ftrace to measure driver initialization time and analyze and improve actual boot delays and unnecessary initialization.

  • You can understand the Device Tree build and processing workflow, analyze DTS nodes and properties, and trace how devices are matched with drivers.

  • You can practice how Device Nodes and File Operations work in a QEMU environment and analyze the execution flow of the Linux kernel and device drivers.

Fields such as system semiconductors and automotive applications, etc.

Linux Kernel Drivers Every Systems Software Developer Should Know

One of the most important tasks in Linux system software development is bring-up. Bring-up—the development and verification of software to ensure it works properly on new hardware—is a critical task that must be completed quickly to meet project deadlines. The software that plays a key role in this process is the device driver.

A device driver serves as an interface between the Linux kernel and hardware. For hardware to work properly, the driver must be initialized correctly and run at the appropriate point during the kernel initialization process. To do this, you need to understand the Linux kernel initialization flow and how hardware information is processed through the Device Tree. If a problem occurs during driver initialization, the device may not be recognized, booting may fail, or the system may not work properly.

Device drivers play a crucial role in a wide range of embedded systems, including smart devices, system semiconductors, and electric vehicles. Therefore, for everyone from fabless developers at system semiconductor companies to system software developers building finished products, understanding how the Linux kernel and device drivers work and how they are initialized is an essential skill for professional work.

Why I Created This Course

There are few educational resources that systematically explain how Linux kernel drivers work and how they are initialized. General Linux courses often cover device drivers only briefly or introduce just the basics of writing them.

However, to properly bring up a Linux BSP, you need content that is more applicable to real-world work. You need to understand how the kernel command line is processed, the execution flow of Driver Initcall, the roles of the Device Tree and kernel configuration, and the key functions called during driver initialization. You should also be able to use boot logs and ftrace to analyze the initialization flow and causes of boot delays, and verify the kernel’s internal behavior firsthand through debugging. Above all, the Linux kernel boot process and how drivers are configured can only be properly understood by analyzing the kernel driver source code.

Linux system software developers across a range of industries, including system semiconductors and electric vehicles, know that kernel driver bring-up and boot optimization skills are important in real-world work. However, it is not easy to figure out where to start learning or which principles and technologies to focus on in actual projects.

This course addresses these challenges by systematically explaining everything from the Linux kernel boot process to driver initialization analysis, ftrace-based boot time optimization, Device Tree handling and driver matching, and Device Nodes and File Operations. Through hands-on exercises using QEMU and Raspberry Pi, it helps students directly analyze how the kernel and device drivers work, solve bring-up issues that arise in real-world work, and build boot optimization skills.

What Sets This Course Apart

This course is not simply a rundown of device driver structures or APIs. It is a hands-on course designed around the problems and situations that Linux system software developers encounter during real-world hardware bring-up. You’ll learn the essential skills needed on the job, from understanding device driver initialization and analyzing kernel source code to debugging and understanding the interface between U-Boot and the Linux kernel.

1. Practical content you can apply right away at work

Covers the core tasks and skills involved in real-world Linux BSP development projects. You’ll learn practical skills, from setting up a Linux kernel build environment and writing build scripts to generating a debug kernel, configuring the kernel command line, and analyzing the Device Tree. The course also covers how to use ftrace to analyze driver initialization and improve boot times. What you learn can be applied directly to real-world BSP bring-up and boot optimization work.

2. Linux Kernel Source Code Analysis and Hands-On Debugging

Typical device driver training often stops at introducing driver configuration or basic implementation methods. In this course, we analyze the kernel source code directly and take an in-depth look at Kernel Command Line processing, the Driver Initcall execution flow, Device Tree processing, and driver matching. Through hands-on exercises using QEMU and Raspberry Pi, you’ll also observe kernel internals in action and learn how to analyze them using source code and debugging logs.

3. A hands-on curriculum designed to lower the barrier to entry

This course is designed so you can get started without extensive prior knowledge of the Linux kernel, SoC architecture, or hardware. In practice, it’s not easy for new and junior system software developers to begin working with a full understanding of every aspect of the kernel’s internal structure and the Arm architecture (Armv8-A). This course explains the necessary concepts step by step and uses hands-on exercises with QEMU and Raspberry Pi to let you observe how the kernel works. This way, you can understand and internalize the complex inner workings of the kernel through practice, rather than learning them only in theory.

What you’ll learn about these topics

Introduces the processes involved in Linux BSP development and explains the tasks carried out at each stage of product development.

We explain the overall structure and components of a Linux system in an easy-to-understand way.

Explains how to build the Linux kernel and analyze its source code. It also covers how to write Linux kernel build scripts. There is also a hands-on exercise running Linux in a QEMU environment.

It provides a detailed explanation of how the command line is processed by analyzing the Linux kernel source code.

We will do a hands-on exercise in which we add a new config (for Linux BSP bring-up) and a new command line.

By directly analyzing the Linux kernel source code, we explain in detail how the command line is processed as the Linux system boots.

We provide a detailed hands-on explanation of how to build a debug kernel.

A detailed explanation of the Linux kernel boot process, starting from the startup code.

Clearly explains the execution flow in which drivers are initialized through initcalls during the Linux kernel boot process.

We analyze in detail how initcall works (device driver initialization) by examining device drivers and Linux kernel source code.

I explain why boot time needs to be reduced and how to measure it using the boot-time ftrace feature.

It explains specific ways to reduce boot time. It introduces debugging configurations that can help reduce boot time and analyzes the relevant kernel source code.

By analyzing Linux kernel patch code, this explains how to reduce boot time. It details how to eliminate unnecessary loops and initialize drivers in parallel.

Explains the key features of a device tree and how the Linux kernel processes the device tree image during boot.

It provides a detailed explanation of the key syntax and structures you need to understand device trees.

We take an in-depth look at the DTS (Device Tree Source) code and explain the Makefile structure through hands-on exercises.

We will analyze in detail the preprocessed files generated when building the device tree. This will help you understand the device tree structure more efficiently.

In the QEMU environment, debug the list of *_probe() functions that read device tree properties, and debug the values of the device tree properties.

We will analyze device nodes and use QEMU for hands-on practice with how file operations commonly used in device drivers work.

Notes Before Taking the Course

Prerequisites and Important Notes

  • Linux BSP bring-up begins with bootloader analysis. For a more complete understanding, if possible, we recommend taking 'Linux BSP Bring-up and Boot Optimization Part 1: U-Boot Bootloader' before this course.

Recommended for
these people

Who is this course right for?

  • Linux BSP and system software developers: Those who want to understand the Linux BSP development process and kernel architecture, and develop practical skills in device driver initialization and bring-up.

  • Developers who want to analyze the Linux kernel architecture and boot process: those who want to examine the kernel source code directly and understand the kernel initialization process, including the Kernel Command Line and initcalls.

  • Linux developers struggling to troubleshoot boot issues: Those who want to analyze problems such as boot failures, driver initialization errors, and deferred probes using logs and kernel source code.

  • Developer responsible for optimizing Linux boot: Someone who wants to measure driver initialization times using ftrace, identify the causes of boot delays, and improve actual boot time.

  • Developers who want to understand Device Tree: those looking to analyze DTS nodes and properties, driver matching and probing, and build their skills in Device Tree-based BSP bring-up.

  • System semiconductor and SoC developers: Those who want to understand the architecture of SoC-based Linux systems and the device initialization process, and develop system bring-up skills through hands-on kernel analysis and debugging with QEMU.

Need to know before starting?

  • C language

  • Computer Architecture

  • Operating system

austinkim

Recommended by Inflearn

Inflearn confidently recommends this instructor based on course performance, learner feedback, and consistent effort.

Learners
6,947
Reviews
308
Satisfaction
97%

Global Author & Linux Systems Software Developer (Arm, RISC-V Architectures)

In Korea’s system software field, he is unprecedented! He is the author of books on the 'Arm architecture (Armv8-A, Armv7-A)' and the 'Linux kernel' (both books were selected as Outstanding Academic Books by the National Academy of Sciences of Korea). He is also the first in Korea to write the English-language books "Practical Crash Debugging Guide for Embedded RISC‑V" and "Reverse Engineering Armv8-A Systems" for the international publisher Packt, making him a global author. Above all, he is a practicing developer with deep knowledge of the latest trends in system software, including electric vehicles and system semiconductors and their system software. He is also one of the most active educators in the field of system software, sharing his knowledge with others.

  • Professional Knowledge Sharer and Consultant

  • Worked on the LG Electronics Linux Kernel Open Source Team (through May 2026)

  • Author of the 'Practical Crash Debugging Guide for Embedded RISC‑V' book (in English), published by Packt

  • Author of the book 'Reverse Engineering Armv8-A Systems' (in English), published by Packt

  • 'Structure and Principles of Arm Architecture for System Software Development' (2024, Outstanding Academic Book Award from the National Academy of Sciences, Republic of Korea) author

  • 'Understanding the Structure and Principles of the Linux Kernel Through Debugging' (2021, Excellent Academic Book Award from the National Academy of Sciences of the Republic of Korea) author

  • 'Programmers Dev Course: Linux Systems and Kernel Specialist' Lead Instructor

     

  • Lecturer at the Korea Electronics Association (RISC-V architecture, Linux boot time optimization)

  • Guest lecturer at major fabless companies and large corporations.

 

I can confidently say that I’m an educator who can explain the Linux kernel and Arm architectures (Armv8-A, Armv7-A) better than anyone else in Korea.

For course inquiries: austindh.kim@gmail.com

 

Key Roadmap 🎯

'Arm for Systems Software Developers - Basic Course'

'Arm for System Software Developers - Advanced Course'

Linux Kernel - Basic Course for System Software Developers

 

More

Curriculum

All

91 lectures ∙ (13hr 42min)

Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

austinkim's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

Limited time deal

$61.60

39%

$102.30