<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on Embedded Linux Blog</title><link>https://embeddedlinux.blog/en/categories/linux/</link><description>Recent content in Linux on Embedded Linux Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 11 Jul 2026 10:06:08 +0700</lastBuildDate><atom:link href="https://embeddedlinux.blog/en/categories/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>[Device-Driver-Lichee] 3. Gpioget, controlling an LED with a button</title><link>https://embeddedlinux.blog/en/2026/06/13/device-driver-lichee-3-gpioget-dung-nut-bam-dieu-khien-led/</link><pubDate>Sat, 13 Jun 2026 06:23:00 +0700</pubDate><guid>https://embeddedlinux.blog/en/2026/06/13/device-driver-lichee-3-gpioget-dung-nut-bam-dieu-khien-led/</guid><description>&lt;p&gt;I said we would use a button, but I turned my pile of electronics upside down and found no through-hole buttons, only SMD ones. So in this post I use a potentiometer playing the role of a button :vv&lt;/p&gt;&#10;&lt;h2 id="1-connecting-the-led-and-the-potentiometer"&gt;1. Connecting the LED and the potentiometer&lt;/h2&gt;&#10;&lt;p&gt;&lt;figure class="md-img"&gt;&lt;img src="https://embeddedlinux.blog/uploads/2026/06/4acccfc095f414aa4de5.jpg" alt="" loading="lazy" decoding="async"&gt;&lt;/figure&gt;&#10;&lt;/p&gt;</description></item><item><title>[Device-Driver-Lichee] 2. Blink an LED with gpioset, create an LED node in the Device Tree</title><link>https://embeddedlinux.blog/en/2026/06/06/device-driver-lichee-2-blink-led-bang-gpioset-tao-led-node-device-tree/</link><pubDate>Sat, 06 Jun 2026 06:46:00 +0700</pubDate><guid>https://embeddedlinux.blog/en/2026/06/06/device-driver-lichee-2-blink-led-bang-gpioset-tao-led-node-device-tree/</guid><description>&lt;p&gt;Okay, after part 1 we have a board that boots to a terminal to tinker with; now for the Hello world of the embedded world. Let's try blinking an LED&lt;/p&gt;&#10;&lt;h2 id="1-licheepi-nano-pinout"&gt;1. LicheePi Nano pinout&lt;/h2&gt;&#10;&lt;p&gt;Search online for sipeed licheepi nano and you will find plenty; this is the pinout from Sipeed&lt;/p&gt;</description></item><item><title>[C-MCU] 2. Memory Layout in a C program</title><link>https://embeddedlinux.blog/en/2025/12/27/c-mcu-memory-layout-function-call-stack/</link><pubDate>Sat, 27 Dec 2025 06:54:00 +0700</pubDate><guid>https://embeddedlinux.blog/en/2025/12/27/c-mcu-memory-layout-function-call-stack/</guid><description>&lt;p&gt;In the previous post we looked at the Build Process of a C program; now I continue with the Memory Layout (the regions of memory)&lt;/p&gt;&#10;&lt;h2 id="1-overview"&gt;1. Overview&lt;/h2&gt;&#10;&lt;p&gt;&lt;figure class="md-img"&gt;&lt;img src="https://embeddedlinux.blog/uploads/2025/12/image-21.png" alt="" loading="lazy" decoding="async"&gt;&lt;/figure&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;As in the previous post, when we inspect the elf header of the object file with objdump we see (this is elf64-x86-64, which differs somewhat from an MCU's elf; I will cover that in more detail in the MCU demo below)&lt;/p&gt;</description></item><item><title>[Yocto-STM32MP1] 1. Build and flash core-image-minimal for the STM32MP157</title><link>https://embeddedlinux.blog/en/2025/12/06/yocto-stm32mp1-1-build-va-flash-core-image-minimal-cho-stm32mp157/</link><pubDate>Sat, 06 Dec 2025 07:11:00 +0700</pubDate><guid>https://embeddedlinux.blog/en/2025/12/06/yocto-stm32mp1-1-build-va-flash-core-image-minimal-cho-stm32mp157/</guid><description>&lt;h2 id="1-preparing-the-host-machine"&gt;1. Preparing the host machine&lt;/h2&gt;&#10;&lt;p&gt;My machine runs Ubuntu 22.04.5 LTS (Jammy Jellyfish). I installed it dual boot with windows to make the most of the cores&lt;/p&gt;&#10;&lt;p&gt;Following the &lt;a href="https://docs.yoctoproject.org/2.2.2/ref-manual/ref-manual.html#required-packages-for-the-host-development-system" target="_blank" rel="noopener"&gt;Yocto Project Reference Manual&lt;/a&gt;&#10;, section 1.3.2.1, we install the following packages&lt;/p&gt;</description></item></channel></rss>