<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>BootProcess on Embedded Linux Blog</title><link>https://embeddedlinux.blog/tags/bootprocess/</link><description>Recent content in BootProcess on Embedded Linux Blog</description><generator>Hugo</generator><language>vi</language><lastBuildDate>Mon, 13 Apr 2026 10:09:13 +0700</lastBuildDate><atom:link href="https://embeddedlinux.blog/tags/bootprocess/index.xml" rel="self" type="application/rss+xml"/><item><title>[Kernel-QEMU] 1. KGDB debug từ start_kernel với giao diện trên VS Code</title><link>https://embeddedlinux.blog/2026/05/02/kernel-qemu-1-kgdb-debug-tu-start_kernel-voi-giao-dien-tren-vs-code/</link><pubDate>Sat, 02 May 2026 06:27:00 +0700</pubDate><guid>https://embeddedlinux.blog/2026/05/02/kernel-qemu-1-kgdb-debug-tu-start_kernel-voi-giao-dien-tren-vs-code/</guid><description>&lt;p&gt;Như mình đã nói bên bài Kernel-BBB 2, hiện tại nếu không dùng JTAG bên BBB thì khả năng sẽ không debug kernel từ dòng đầu tiên được. Do đó mình sẽ quay sang hướng QEMU để kiểm soát toàn bộ vụ code này.&lt;/p&gt;</description></item><item><title>[Boot-BBB] 5. Tạo Beaglebone Black image với Buildroot</title><link>https://embeddedlinux.blog/2025/11/21/boot-bbb-5-tao-beaglebone-black-image-voi-buildroot/</link><pubDate>Fri, 21 Nov 2025 08:58:00 +0700</pubDate><guid>https://embeddedlinux.blog/2025/11/21/boot-bbb-5-tao-beaglebone-black-image-voi-buildroot/</guid><description>&lt;p&gt;Ở bài này minh sẽ hướng dẫn các bạn dùng Buildroot để tạo Beaglebone Black image. Các bạn hiểu đơn giản Buildroot tương tự như Yocto Project nhưng tinh giản hơn, ít cấu hình hơn vậy. Mục tiêu cuối cùng là build ra 1 custom embedded linux image&lt;/p&gt;</description></item><item><title>[Boot-BBB] 4. Tạo root filesystem thủ công với busybox</title><link>https://embeddedlinux.blog/2025/11/15/boot-bbb-4-tao-root-filesystem-thu-cong-voi-busybox/</link><pubDate>Sat, 15 Nov 2025 06:30:00 +0700</pubDate><guid>https://embeddedlinux.blog/2025/11/15/boot-bbb-4-tao-root-filesystem-thu-cong-voi-busybox/</guid><description>&lt;p&gt;Okay, bài hôm nay mình sẽ tiếp tục hướng dẫn các bạn cách tạo root filesystem thủ công, với các utility từ busybox (utilities ở đây được hiểu là các binary phục vụ cho command như &amp;quot;ls&amp;quot;,&amp;quot;cat&amp;quot;,...)&lt;/p&gt;&#10;&lt;p&gt;Kể cả với root filesystem (rfs) căn bản, ta vẫn cần tầm 50 comamnd.&lt;/p&gt;</description></item><item><title>[Boot-BBB] 3. Compile Linux Kernel và cấu hình tự động cho u-boot</title><link>https://embeddedlinux.blog/2025/11/08/boot-bbb-3-comiple-linux-kernel-va-cau-hinh-uboot-env/</link><pubDate>Sat, 08 Nov 2025 07:16:00 +0700</pubDate><guid>https://embeddedlinux.blog/2025/11/08/boot-bbb-3-comiple-linux-kernel-va-cau-hinh-uboot-env/</guid><description>&lt;p&gt;Ở bài trước ta đang dừng lại ở việc thiếu cấu hình u-boot. Bài này ta sẽ compile kernel và thêm file cấu hình uboot.env để khiến bootloader chạy ổn&lt;/p&gt;&#10;&lt;h2 id="1-fetch-kernel-code-và-compile"&gt;1. Fetch kernel code và Compile&lt;/h2&gt;&#10;&lt;h3 id="11-clone-source-code"&gt;1.1 Clone source code&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="Đã copy"&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-c"&gt;git&lt;/span&gt; clone &lt;a class="t-u" href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux" target="_blank" rel="noopener"&gt;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux&lt;/a&gt;&lt;/span&gt;&#10;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;Khá là lâu, nên các bạn đá miếng bánh, uống tí cà phê chill chill rồi quay lại check sau. Mình clone về check thì là 5,1 Gb&lt;/p&gt;</description></item><item><title>[Boot-BBB] 2. Compile U-boot và chạy test MLO, u-boot.img</title><link>https://embeddedlinux.blog/2025/11/01/boot-bbb-2-u-boot-1-build-va-chay-test-mlo-u-boot-img/</link><pubDate>Sat, 01 Nov 2025 09:18:00 +0700</pubDate><guid>https://embeddedlinux.blog/2025/11/01/boot-bbb-2-u-boot-1-build-va-chay-test-mlo-u-boot-img/</guid><description>&lt;p&gt;Ở bài này, mình sẽ hướng dẫn các bạn compile từ source của &lt;code&gt;u-boot&lt;/code&gt; và cấu hình cho board &lt;strong&gt;Beaglebone Black&lt;/strong&gt;. Về u-boot là gì, các bạn có thể đọc thêm tại &amp;lt;/2025/05/10/bbb-linux-3-beaglebone-black-boot-process-u-boot/&amp;gt;&lt;/p&gt;&#10;&lt;h2 id="1-clone-cấu-hình-và-compile-u-boot"&gt;1. Clone, cấu hình và compile u-boot&lt;/h2&gt;&#10;&lt;h3 id="11-clone-và-checkout"&gt;1.1 Clone và checkout&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="Đã copy"&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-c"&gt;git&lt;/span&gt; clone &lt;a class="t-u" href="https://source.denx.de/u-boot/u-boot.git" target="_blank" rel="noopener"&gt;https://source.denx.de/u-boot/u-boot.git&lt;/a&gt;&lt;/span&gt;&#10;&lt;span class="line"&gt;&lt;span class="t-c"&gt;cd&lt;/span&gt; u-boot&lt;/span&gt;&#10;&lt;span class="line"&gt;&lt;span class="t-c"&gt;git&lt;/span&gt; checkout v2023.01&lt;/span&gt;&#10;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;Mình &lt;code&gt;checkout&lt;/code&gt; v2023.01 bởi đó là phiên bản được sử dụng trong &lt;strong&gt;worklabs bootlin&lt;/strong&gt;, mang độ tương thích cao với &lt;code&gt;busybox&lt;/code&gt; và &lt;code&gt;buildroot&lt;/code&gt; trong cùng series&lt;/p&gt;</description></item><item><title>[Boot-BBB] 1. Build Cross compiler tool crosstool-ng</title><link>https://embeddedlinux.blog/2025/10/25/boot-bbb-1-build-cross-compiler-tool/</link><pubDate>Sat, 25 Oct 2025 08:03:00 +0700</pubDate><guid>https://embeddedlinux.blog/2025/10/25/boot-bbb-1-build-cross-compiler-tool/</guid><description>&lt;p&gt;Chào các bạn, hôm nay mình sẽ bắt đầu 1 series mới mang tên Boot-BBB. Series này sẽ độc lập với series Yocto-BBB. Ở đây mình sẽ không dùng đến yocto mà sẽ build từ source cho crosstool-ng, u-boot, buildroot, busybox.&lt;/p&gt;</description></item></channel></rss>