<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Embedded on Linux4Every1</title><link>https://linux4every1.info/tags/embedded/</link><description>Recent content in Embedded on Linux4Every1</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 26 Oct 2026 13:21:59 +0100</lastBuildDate><atom:link href="https://linux4every1.info/tags/embedded/index.xml" rel="self" type="application/rss+xml"/><item><title>OTA Updates for Embedded Linux: SWUpdate, RAUC and Mender Compared</title><link>https://linux4every1.info/embedded/ota-updates-swupdate-rauc-mender-compared/</link><pubDate>Mon, 26 Oct 2026 13:19:21 +0100</pubDate><guid>https://linux4every1.info/embedded/ota-updates-swupdate-rauc-mender-compared/</guid><description>&lt;p&gt;SWUpdate, RAUC and Mender are three ways to ship over-the-air (OTA) updates to embedded Linux devices. SWUpdate and RAUC are update clients that run on the device, while Mender is a client plus a fleet-management server. This article compares them using each project&amp;rsquo;s own documentation.&lt;/p&gt;</description></item><item><title>Buildroot vs Yocto: Choosing an Embedded Linux Build System</title><link>https://linux4every1.info/embedded/buildroot-vs-yocto-embedded-linux-build-system/</link><pubDate>Mon, 26 Oct 2026 11:52:49 +0100</pubDate><guid>https://linux4every1.info/embedded/buildroot-vs-yocto-embedded-linux-build-system/</guid><description>&lt;p&gt;Buildroot and the Yocto Project are both embedded Linux build systems. Each builds a custom system from source by cross-compilation, but they differ in scale and in what they produce. Buildroot is the smaller tool and generates images. Yocto is a larger framework that also builds packages and SDKs. This article compares them so you can choose, and ends with a Buildroot step you can run on any PC.&lt;/p&gt;</description></item><item><title>Yocto Project Basics: Layers, Recipes and core-image-minimal</title><link>https://linux4every1.info/embedded/yocto-project-layers-recipes-basics/</link><pubDate>Mon, 26 Oct 2026 11:40:10 +0100</pubDate><guid>https://linux4every1.info/embedded/yocto-project-layers-recipes-basics/</guid><description>&lt;p&gt;The Yocto Project builds custom embedded Linux images from metadata: recipes that describe how to build each piece of software, grouped into layers. This article explains those two terms, shows how to prepare a build host and a build directory, and ends with the command that builds &lt;code&gt;core-image-minimal&lt;/code&gt;. The steps follow the 6.1 &amp;ldquo;blacksail&amp;rdquo; documentation.&lt;/p&gt;</description></item><item><title>U-Boot Basics: Environment Variables and Booting a Kernel</title><link>https://linux4every1.info/embedded/u-boot-basics-environment-variables-boot-commands/</link><pubDate>Mon, 26 Oct 2026 11:37:04 +0100</pubDate><guid>https://linux4every1.info/embedded/u-boot-basics-environment-variables-boot-commands/</guid><description>&lt;p&gt;U-Boot is a bootloader that runs before Linux on many embedded boards. Its behavior is controlled by U-Boot environment variables, and booting a kernel comes down to loading files into RAM and running one boot command. This article shows how to inspect and change the environment and how to boot a kernel by hand.&lt;/p&gt;</description></item><item><title>SocketCAN on Linux: Set Up a Virtual vcan Interface with can-utils</title><link>https://linux4every1.info/embedded/socketcan-can-bus-vcan-can-utils/</link><pubDate>Mon, 26 Oct 2026 11:30:10 +0100</pubDate><guid>https://linux4every1.info/embedded/socketcan-can-bus-vcan-can-utils/</guid><description>&lt;p&gt;SocketCAN is the Linux kernel&amp;rsquo;s CAN bus layer. It exposes CAN controllers as network interfaces, so you can work with them using the Berkeley socket API and &lt;code&gt;ip&lt;/code&gt;. The &lt;code&gt;vcan&lt;/code&gt; driver provides a virtual interface, which lets you practice with CAN tools without any hardware.&lt;/p&gt;</description></item><item><title>OpenWrt Explained: What It Is and How It Differs from Desktop Linux</title><link>https://linux4every1.info/embedded/openwrt-explained-router-firmware-vs-distros/</link><pubDate>Mon, 26 Oct 2026 11:27:32 +0100</pubDate><guid>https://linux4every1.info/embedded/openwrt-explained-router-firmware-vs-distros/</guid><description>&lt;p&gt;OpenWrt is a Linux operating system for embedded devices. According to its home page, it offers a writable filesystem with package management, so you can customize the device with add-on software. This article explains how that differs from the Debian, Fedora or Arch installs you may know.&lt;/p&gt;</description></item><item><title>Flash SD Cards Safely with bmaptool and dd on Linux</title><link>https://linux4every1.info/embedded/bmaptool-flash-sd-card-safely/</link><pubDate>Mon, 26 Oct 2026 11:22:55 +0100</pubDate><guid>https://linux4every1.info/embedded/bmaptool-flash-sd-card-safely/</guid><description>&lt;p&gt;Flashing a disk image to an SD card with &lt;code&gt;dd&lt;/code&gt; works, but one wrong device name can wipe your system disk. This guide shows how to confirm the target device, check the image checksum, build a block map with bmaptool and flash only the data that matters.&lt;/p&gt;</description></item><item><title>Boot an ARM64 Linux Kernel and Root Filesystem in QEMU</title><link>https://linux4every1.info/embedded/boot-arm64-linux-kernel-qemu-system/</link><pubDate>Mon, 26 Oct 2026 11:07:07 +0100</pubDate><guid>https://linux4every1.info/embedded/boot-arm64-linux-kernel-qemu-system/</guid><description>&lt;p&gt;You can boot an arm64 Linux kernel in QEMU on an x86 PC with &lt;code&gt;qemu-system-aarch64&lt;/code&gt;, no board required. This guide downloads a prebuilt arm64 kernel and a static BusyBox, packs them into a root filesystem, boots them, and checks from inside the guest that it reports &lt;code&gt;aarch64&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>I2C on Linux: Scan and Access Devices with i2cdetect and i2cset</title><link>https://linux4every1.info/embedded/i2c-on-linux-i2cdetect-i2cget-i2cset/</link><pubDate>Mon, 26 Oct 2026 11:00:28 +0100</pubDate><guid>https://linux4every1.info/embedded/i2c-on-linux-i2cdetect-i2cget-i2cset/</guid><description>&lt;p&gt;The i2c-tools package gives Linux users shell commands to list I2C buses, scan them for devices, and read or write device registers. This guide covers &lt;code&gt;i2cdetect&lt;/code&gt;, &lt;code&gt;i2cget&lt;/code&gt;, &lt;code&gt;i2cset&lt;/code&gt; and &lt;code&gt;i2cdump&lt;/code&gt;, and marks which steps need a real board with a device attached.&lt;/p&gt;</description></item><item><title>Cross-Compile a C Program for ARM64 and Run It with QEMU User-Mode</title><link>https://linux4every1.info/embedded/cross-compile-arm64-program-qemu-user-mode/</link><pubDate>Mon, 26 Oct 2026 10:56:08 +0100</pubDate><guid>https://linux4every1.info/embedded/cross-compile-arm64-program-qemu-user-mode/</guid><description>&lt;p&gt;You can build a C program for a 64-bit ARM (arm64, also called aarch64) machine on an ordinary x86 Debian host and run it without any ARM hardware. A GCC cross-compiler produces the binary, and QEMU&amp;rsquo;s user-mode emulation executes it on your own operating system.&lt;/p&gt;</description></item><item><title>GPIO with libgpiod Tools on Linux: Replacing Deprecated sysfs</title><link>https://linux4every1.info/embedded/gpio-libgpiod-tools-replace-sysfs/</link><pubDate>Mon, 26 Oct 2026 10:49:51 +0100</pubDate><guid>https://linux4every1.info/embedded/gpio-libgpiod-tools-replace-sysfs/</guid><description>&lt;p&gt;The old way of toggling a pin from the shell, writing to files under &lt;code&gt;/sys/class/gpio&lt;/code&gt;, is obsolete. The kernel documentation points to the GPIO character device API instead, and the libgpiod command-line tools are the easiest way to use it. This article shows how to list GPIO chips and lines, read and set values, and watch for edges.&lt;/p&gt;</description></item><item><title>Device Tree Overlays: What They Are and How to Apply Them</title><link>https://linux4every1.info/embedded/device-tree-overlays-apply-fdtoverlay/</link><pubDate>Mon, 26 Oct 2026 03:14:18 +0100</pubDate><guid>https://linux4every1.info/embedded/device-tree-overlays-apply-fdtoverlay/</guid><description>&lt;p&gt;A device tree overlay is a small piece of hardware description that modifies a base device tree instead of replacing it. In this guide you compile a base tree and an overlay with &lt;code&gt;dtc&lt;/code&gt;, merge them offline with &lt;code&gt;fdtoverlay&lt;/code&gt;, and check the result. Along the way you will see how the kernel handles overlays at runtime.&lt;/p&gt;</description></item><item><title>Serial Console on Embedded Linux: picocom, minicom, screen</title><link>https://linux4every1.info/embedded/serial-console-embedded-boards-picocom-screen/</link><pubDate>Mon, 26 Oct 2026 03:08:13 +0100</pubDate><guid>https://linux4every1.info/embedded/serial-console-embedded-boards-picocom-screen/</guid><description>&lt;p&gt;A serial console lets you see boot messages and get a login prompt on an embedded board that has no network or display yet. You connect a USB-to-serial adapter, then open the resulting device with a terminal program. This guide covers picocom, minicom and GNU Screen, and how to leave each one cleanly.&lt;/p&gt;</description></item><item><title>Reduce Embedded Linux Boot Time: Measure with systemd-analyze</title><link>https://linux4every1.info/embedded/reduce-embedded-linux-boot-time-systemd-analyze/</link><pubDate>Mon, 26 Oct 2026 03:03:41 +0100</pubDate><guid>https://linux4every1.info/embedded/reduce-embedded-linux-boot-time-systemd-analyze/</guid><description>&lt;p&gt;Before you shorten the boot time of an embedded Linux device, you need to know where the time goes. On systemd-based images, &lt;code&gt;systemd-analyze&lt;/code&gt; answers that with a few commands: a total, a per-unit list, a dependency chain and an SVG chart.&lt;/p&gt;</description></item><item><title>Build an Initramfs by Hand and Boot It in QEMU on Linux</title><link>https://linux4every1.info/embedded/build-initramfs-by-hand-qemu-boot/</link><pubDate>Mon, 26 Oct 2026 02:34:48 +0100</pubDate><guid>https://linux4every1.info/embedded/build-initramfs-by-hand-qemu-boot/</guid><description>&lt;p&gt;An initramfs is a compressed cpio archive that the kernel unpacks into memory and uses as its first root filesystem. This guide builds a tiny one by hand, with a static BusyBox and a short &lt;code&gt;/init&lt;/code&gt; script, and boots it in QEMU so you can watch early userspace start.&lt;/p&gt;</description></item><item><title>Hardware Watchdog on Linux: /dev/watchdog and systemd WatchdogSec</title><link>https://linux4every1.info/embedded/hardware-watchdog-dev-watchdog-systemd/</link><pubDate>Mon, 26 Oct 2026 02:23:06 +0100</pubDate><guid>https://linux4every1.info/embedded/hardware-watchdog-dev-watchdog-systemd/</guid><description>&lt;p&gt;A watchdog is a timer that resets the machine, or restarts a program, unless something keeps telling it that all is well. On Linux there are two layers: the hardware watchdog exposed as &lt;code&gt;/dev/watchdog&lt;/code&gt;, and the per-service watchdog built into systemd. This article shows how to see what your board offers and how to configure a service so systemd restarts it when it stops reporting.&lt;/p&gt;</description></item><item><title>Device Tree Basics: .dts, .dtb and How Linux Finds Hardware</title><link>https://linux4every1.info/embedded/device-tree-basics-dts-dtb-explained/</link><pubDate>Mon, 26 Oct 2026 02:19:50 +0100</pubDate><guid>https://linux4every1.info/embedded/device-tree-basics-dts-dtb-explained/</guid><description>&lt;p&gt;A device tree is a description of a machine&amp;rsquo;s hardware that the bootloader hands to the Linux kernel, so the kernel does not need that hardware hard-coded. You write it as a text &lt;code&gt;.dts&lt;/code&gt; file, compile it into a binary &lt;code&gt;.dtb&lt;/code&gt; blob, and inspect or reverse it with &lt;code&gt;dtc&lt;/code&gt;. This guide walks through that cycle on Debian or Ubuntu.&lt;/p&gt;</description></item><item><title>BusyBox: One Binary for a Whole Embedded Userland</title><link>https://linux4every1.info/embedded/busybox-one-binary-embedded-userland/</link><pubDate>Mon, 26 Oct 2026 02:12:51 +0100</pubDate><guid>https://linux4every1.info/embedded/busybox-one-binary-embedded-userland/</guid><description>&lt;p&gt;BusyBox packs small versions of many common Unix utilities into a single executable. This guide shows how applets are invoked and how to see what a given BusyBox build includes.&lt;/p&gt;&#10;&lt;h2 id="what-busybox-is"&gt;What BusyBox is&lt;/h2&gt;&#10;&lt;p&gt;According to its documentation, BusyBox is a multi-call binary: one executable that combines many utilities, called applets. It targets systems with limited resources, is optimized for size, and is modular, so applets and features can be included or excluded at compile time.&lt;/p&gt;</description></item><item><title>Buildroot: Build a Minimal Linux Image and Boot It in QEMU</title><link>https://linux4every1.info/embedded/buildroot-minimal-image-qemu-boot/</link><pubDate>Sun, 25 Oct 2026 21:20:23 +0100</pubDate><guid>https://linux4every1.info/embedded/buildroot-minimal-image-qemu-boot/</guid><description>&lt;p&gt;Buildroot generates a complete embedded Linux system (toolchain, kernel, root filesystem) by cross-compilation. This guide builds the ready-made configuration for QEMU&amp;rsquo;s x86-64 PC and boots it, so you can try the workflow without a development board.&lt;/p&gt;&#10;&lt;h2 id="what-you-need"&gt;What you need&lt;/h2&gt;&#10;&lt;p&gt;The manual lists &lt;code&gt;make&lt;/code&gt; (3.81 or later), &lt;code&gt;gcc&lt;/code&gt; and &lt;code&gt;g++&lt;/code&gt; (4.8 or later), &lt;code&gt;perl&lt;/code&gt;, &lt;code&gt;bc&lt;/code&gt;, &lt;code&gt;rsync&lt;/code&gt;, &lt;code&gt;file&lt;/code&gt;, &lt;code&gt;unzip&lt;/code&gt; and &lt;code&gt;wget&lt;/code&gt; as mandatory build tools. &lt;code&gt;make menuconfig&lt;/code&gt; additionally needs the ncurses development files. The manual says you can and should build everything as a normal user, so do not use root for the build.&lt;/p&gt;</description></item><item><title>Cross-Compile a Hello World for ARM and Run It with QEMU User-Mode</title><link>https://linux4every1.info/embedded/cross-compile-arm-hello-world-qemu/</link><pubDate>Sun, 25 Oct 2026 21:03:36 +0100</pubDate><guid>https://linux4every1.info/embedded/cross-compile-arm-hello-world-qemu/</guid><description>&lt;p&gt;You can cross-compile a program for an ARM processor on an ordinary x86 PC and run it right away, without an ARM board or a full virtual machine. A cross-compiler produces the ARM binary, and QEMU&amp;rsquo;s user-mode emulation executes it, passing the program&amp;rsquo;s system calls to your own kernel.&lt;/p&gt;</description></item></channel></rss>