Instructor: Linux

Embedded Linux using Yocto Part 4
Learn the below concepts by enrolling in this course What is clean build What is incremental build Example of clean and incremental build Shared State Cache (sstate-cache) Build performance with and without sstate-cache Tasks in Yocto What’s the benefit of per-task over per-recipe approach How does shared state cache works (checksum/signatures and setscene) Commands: bitbake-dumpsig, […]

Interrupts and Bottom Halves in Linux Kernel
What you will learn from this courseInterrupts and ExceptionsTypes of Interrupts and Exceptions : Level Triggerred, Edge Triggerred, Traps, FaultsProgrammable Interrput Controller, Advanced Programmable Interrupt Controller (APIC) – IO APIC, Local APICFind out information about your x86 CPU using CPUID InstructionWhat happens when there is interruptHow does CPU finds the interrupt handler: Interrupt Request, Interrupt […]

Debugging Linux Kernel in Deep Part 2
User space processes can be debugged using gdb. With gdb you can single-step, stop, resume, put break-points, inspect memory and variables, look through call stack information What if we can use gdb on running Linux Kernel. Problem: How can a gdb debug running kernel as it is just a user space process. Solution: Client/Server Architecture […]

Debugging Linux Kernel in Deep Part 1
A traditional debugger allows you to inspect the system state once the system is halted i.e., after an error has been detected, but doesn’t reveal the events leading to the error. To understand why an event took place, the relevant context has to be restored. This requires tracing Tracing is the process of collecting information […]