Tags: Embedded

Embedded

OTA Updates for Embedded Linux: SWUpdate, RAUC and Mender Compared

Compare SWUpdate, RAUC and Mender for OTA updates on embedded Linux: packaging, layouts and whether you need a server. Based on each project's own docs.

Embedded ✓ tested

Buildroot vs Yocto: Choosing an Embedded Linux Build System

Compare Buildroot and the Yocto Project by build model, host requirements, package handling and upgrades, then try Buildroot's configuration step yourself.

Embedded ✓ tested

Yocto Project Basics: Layers, Recipes and core-image-minimal

Learn what Yocto layers and recipes are, how to set up the build environment, create a layer, and build core-image-minimal with BitBake.

Embedded

U-Boot Basics: Environment Variables and Booting a Kernel

Learn how U-Boot stores environment variables, what bootcmd and bootargs do, and how to load a Linux kernel and device tree and boot it from the U-Boot prompt.

Embedded ✓ tested

SocketCAN on Linux: Set Up a Virtual vcan Interface with can-utils

Create a virtual CAN interface with ip link, then send and capture frames with cansend and candump from can-utils. No CAN hardware needed.

Embedded

OpenWrt Explained: What It Is and How It Differs from Desktop Linux

OpenWrt is a Linux system for routers and other embedded devices. See how its storage, init, config and tools differ from a desktop or server distro.

Embedded ✓ tested

Flash SD Cards Safely with bmaptool and dd on Linux

Flash an SD card safely with bmaptool: check the image checksum, build a block map and avoid the wrong-device mistake that wipes disks with dd.

Embedded ✓ tested

Boot an ARM64 Linux Kernel and Root Filesystem in QEMU

Boot an arm64 Linux kernel and a BusyBox root filesystem in QEMU with qemu-system-aarch64 on the virt board, then confirm aarch64 inside the guest.

Embedded ✓ tested

I2C on Linux: Scan and Access Devices with i2cdetect and i2cset

Use i2c-tools on Linux to list buses, scan for devices, and read or write registers with i2cdetect, i2cget and i2cset. Includes safety warnings.

Embedded ✓ tested

Cross-Compile a C Program for ARM64 and Run It with QEMU User-Mode

Build a C program for 64-bit ARM (aarch64) on an x86 Debian host with a GCC cross toolchain, then check the binary by running it under qemu-aarch64.

Embedded ✓ tested

GPIO with libgpiod Tools on Linux: Replacing Deprecated sysfs

Use gpiodetect, gpioinfo, gpioget, gpioset and gpiomon to list and control GPIO lines from the shell instead of the obsolete sysfs interface.

Embedded ✓ tested

Device Tree Overlays: What They Are and How to Apply Them

Compile a small device tree overlay with dtc, merge it into a base DTB offline with fdtoverlay, and see how the Linux kernel applies overlays at runtime.

Embedded ✓ tested

Serial Console on Embedded Linux: picocom, minicom, screen

Open a serial console on an embedded Linux board with picocom, minicom or GNU Screen. Find the USB device, set the baud rate and exit each tool.

Embedded ✓ tested

Reduce Embedded Linux Boot Time: Measure with systemd-analyze

Find where an embedded Linux system spends its boot time with systemd-analyze time, blame, critical-chain and plot, and see how bootchart2 fits in.

Embedded ✓ tested

Build an Initramfs by Hand and Boot It in QEMU on Linux

Build a minimal initramfs with a static BusyBox, cpio and gzip, then boot it with a kernel in QEMU to see how early userspace starts.