<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kernel-BBB on Embedded Linux Blog</title><link>https://embeddedlinux.blog/en/series/kernel-bbb/</link><description>Recent content in Kernel-BBB on Embedded Linux Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 18 Apr 2026 12:06:21 +0700</lastBuildDate><atom:link href="https://embeddedlinux.blog/en/series/kernel-bbb/index.xml" rel="self" type="application/rss+xml"/><item><title>[Kernel-BBB] 2. kgdbwait and the gdb server</title><link>https://embeddedlinux.blog/en/2026/04/25/kernel-bbb-2-kgdbwait-va-gdb-server/</link><pubDate>Sat, 25 Apr 2026 06:09:00 +0700</pubDate><guid>https://embeddedlinux.blog/en/2026/04/25/kernel-bbb-2-kgdbwait-va-gdb-server/</guid><description>&lt;p&gt;In this post I use kgdbwait so we can debug the kernel earlier (not as early as through JTAG) and also set up the gdb server so we can use the VS Code extensions :vv&lt;/p&gt;&#10;&lt;h2 id="1-configuring-the-kernel-command-line"&gt;1. Configuring the kernel command line&lt;/h2&gt;&#10;&lt;h3 id="11-finding-the-way"&gt;1.1 Finding the way&lt;/h3&gt;&#10;&lt;p&gt;In the previous post I tried to change the boot command through u-boot, but in reality&lt;/p&gt;</description></item><item><title>[Kernel-BBB] 1. KGDB over UART</title><link>https://embeddedlinux.blog/en/2026/04/18/kernel-bbb-1-kgdb-qua-uart/</link><pubDate>Sat, 18 Apr 2026 06:56:00 +0700</pubDate><guid>https://embeddedlinux.blog/en/2026/04/18/kernel-bbb-1-kgdb-qua-uart/</guid><description>&lt;p&gt;Keeping the configuration from &lt;a href="https://embeddedlinux.blog/en/2025/06/28/yocto-bbb-1-build-beaglebone-black-image-bang-yocto-project/"&gt;Yocto-BBB 1&lt;/a&gt;&#10;, I add a new meta-layer just for this kernel work&lt;/p&gt;&#10;&lt;h2 id="1-create-a-new-meta-layer"&gt;1. Create a new meta layer&lt;/h2&gt;&#10;&lt;h3 id="11-create-the-meta-layer-and-add-it-to-bblayers"&gt;1.1 Create the meta layer and add it to bblayers&lt;/h3&gt;&#10;&lt;div class="code-block is-term" translate="no" data-lang="bash" data-pagefind-weight="0.4"&gt;&#10; &lt;div class="code-head" data-pagefind-ignore&gt;&lt;span class="lang"&gt;bash&lt;/span&gt;&lt;button type="button" class="copy-btn" aria-label="Copy" data-copied="Copied"&gt;&lt;svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;rect x="9" y="9" width="11" height="11" rx="2"/&gt;&lt;path d="M5 15V5a2 2 0 012-2h10"/&gt;&lt;/svg&gt;&lt;span&gt;Copy&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;pre class="term"&gt;&lt;code&gt;&lt;span class="line"&gt;&lt;span class="t-p"&gt;$&lt;/span&gt; &lt;span class="t-c"&gt;source&lt;/span&gt; oe-init-build-env &lt;span class="t-pa"&gt;build-bbb/&lt;/span&gt;&lt;/span&gt;&#10;&lt;span class="line"&gt;&lt;span class="t-p"&gt;&lt;span class="t-pu"&gt;zk47@ltu&lt;/span&gt;:&lt;span class="t-pd"&gt;~/Youtube/Yocto/yocto-bbb/poky/build-bbb&lt;/span&gt;$&lt;/span&gt; &lt;span class="t-c"&gt;bitbake-layers&lt;/span&gt; create-layer &lt;span class="t-pa"&gt;../meta-kernel&lt;/span&gt;&lt;/span&gt;&#10;&lt;span class="line"&gt;&lt;span class="t-out"&gt;NOTE: Starting bitbake server...&lt;/span&gt;&lt;/span&gt;&#10;&lt;span class="line"&gt;&lt;span class="t-out"&gt;Add your new layer with 'bitbake-layers add-layer ../meta-kernel'&lt;/span&gt;&lt;/span&gt;&#10;&lt;span class="line"&gt;&lt;span class="t-out"&gt;&lt;/span&gt;&lt;/span&gt;&#10;&lt;span class="line"&gt;&lt;span class="t-p"&gt;$&lt;/span&gt; &lt;span class="t-c"&gt;bitbake-layers&lt;/span&gt; add-layer &lt;span class="t-pa"&gt;../meta-kernel&lt;/span&gt;&lt;/span&gt;&#10;&lt;span class="line"&gt;&lt;span class="t-out"&gt;NOTE: Starting bitbake server...&lt;/span&gt;&lt;/span&gt;&#10;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;h3 id="12-create-the-kernel-append-recipe"&gt;1.2 Create the kernel append recipe&lt;/h3&gt;&#10;&lt;p&gt;We use the following command to find the kernel recipe (in fact we could use virtual/kernel, but that is a generic name, not the specific one)&lt;/p&gt;</description></item></channel></rss>