How to Build & Debug a Custom ARM64 Linux Kernel with Yocto, QEMU, and GDB

End-to-end workflow for embedded Linux: customizing, building, and debugging an ARM64 Linux kernel with Yocto, then booting under QEMU and attaching GDB.

August 5, 2025
Harrison Guo
Video by: HarrisonSecurityLab
Published on YouTube: 2025-08-05
Linux Kernel ARM64 Yocto QEMU GDB Embedded Debugging

The full pipeline for someone who wants to debug ARM64 kernel code without sinking weeks into toolchain setup: Yocto for the build, QEMU as the target, GDB attached over the QEMU GDB stub. By the end you can break on any kernel function and inspect register state.

Companion to the CoreTracer + SentinelEdge projects — the same toolchain that makes those experiments reproducible.

🎧 More Ways to Consume This Content

Comments

This space is waiting for your voice.

Comments will be supported shortly. Stay connected for updates!

Preview of future curated comments

This section will display user comments from various platforms like X, Reddit, YouTube, and more. Comments will be curated for quality and relevance.