Linux on an Embedded Processor
An industrial gateway, a connected camera and a vehicle’s onboard computer may all run Linux, yet serve very different purposes. Each product combines particular peripherals with requirements for processing, connectivity, power consumption and reliability. An embedded Linux system brings the kernel together with the software and configuration needed for that product.
The kernel provides the mechanisms to manage resources, communicate with hardware and expose functionality to applications. Its suitability depends on support for the processor, the peripherals connected to it and the features the product requires. These capabilities must be considered during hardware selection, alongside memory capacity, power consumption and cost. If you are new to the kernel’s role, What Is a Kernel? introduces the fundamentals.
Most Linux systems use a Memory Management Unit (MMU) to translate virtual addresses into physical addresses and enforce access permissions configured by the kernel. This helps isolate processes and protect memory, although it does not guarantee that a service continues to operate after a fault. Linux also supports some processors without an MMU through NOMMU configurations, but without conventional MMU-based process isolation and with other memory-management limitations.
Beyond the processor, the kernel needs the appropriate drivers and information about the hardware platform. It must also support the behaviours expected of the product, such as network communication, controlled access to peripherals and transitions into low-power states.
Building an embedded Linux system therefore involves selecting and configuring a coherent set of capabilities. Hardware choices and kernel support need to be assessed together throughout this work.
Configuring Linux for the Hardware
The Linux kernel supports many processor architectures, devices and protocols. A particular product only needs a selection of these capabilities. Kernel configuration determines which features are included, from networking and file systems to device drivers and power management.
Linux uses Kconfig to describe configuration options and their dependencies. Selecting these options establishes what will be built; compilation then produces the kernel and any selected modules. For example, supporting a Wi-Fi adapter requires a suitable driver and its networking dependencies, and may also require device firmware and user-space components.
Many drivers can be built directly into the kernel or compiled as loadable modules. A built-in driver is part of the kernel image, while a module is a separate file loaded into the running kernel when needed. Both execute in kernel space. The choice depends partly on when the driver must be available and how the system supplies its modules. Loadable modules must also be compatible with the running kernel.
A hardware vendor often provides a starting point through a Board Support Package (BSP). This brings together support for a particular platform, potentially including kernel configuration, drivers, patches and hardware descriptions. Its scope can also extend to bootloader support and firmware.
The BSP helps establish a working base, but its configuration still needs to be assessed against the product’s requirements. Removing unused features may reduce the software footprint, while removing diagnostic capabilities can make faults harder to investigate.
Configuration selects the available support. Linux must then identify the devices present and associate them with the appropriate drivers.

Discovering and Initialising Devices
Including a driver in the kernel does not automatically make the corresponding hardware usable. Linux must also know that the device exists and have the information needed to communicate with it.
Some buses, such as USB and PCI, provide mechanisms for discovering connected devices. Other components, particularly those integrated into a System on Chip (SoC) or wired onto a board, require a description of their presence and connections.
Many ARM-based embedded platforms use a Device Tree for this purpose. It describes hardware components and resources such as memory addresses, interrupts and clock connections. The Device Tree supplies information that drivers use; it does not replace the drivers themselves.
On x86 platforms, firmware commonly provides ACPI tables, which describe platform information and support functions such as power management. ACPI is also used on some ARM systems, so the distinction is not simply ARM versus x86.
Linux uses bus-specific matching mechanisms to associate devices with compatible drivers when available. The driver then attempts to initialise the device, obtaining the resources it needs and making its functionality available through a kernel subsystem. Initialisation may need to wait until another component, such as a power supply or bus controller, is ready.
Some devices store their firmware in onboard non-volatile memory and can start without Linux uploading it. Others require the host to load firmware into device RAM during initialisation, and potentially again after power loss. The firmware executes on the device’s processor, separately from the Linux driver that communicates with it.

From Devices to Linux APIs
Once a device is operational, applications need an interface through which to use it. Linux subsystems provide common interfaces that hide many differences between individual hardware implementations.
Block devices, such as eMMC storage and SSDs, expose storage as addressable blocks. Applications usually access files through a mounted file system, rather than reading and writing the underlying device directly.
Character devices expose operations such as reading, writing and device-specific control, often through files under /dev. A serial port is a familiar example. “Character” describes the interface model; it does not mean that transfers are limited to one character at a time.
Network interfaces use the networking subsystem. Applications normally exchange data through sockets rather than opening a device file. Ethernet and Wi-Fi support fit into this model. Linux also provides SocketCAN, which exposes CAN communication through sockets for applications such as vehicle diagnostics and industrial control.
Connectivity nevertheless involves more than a driver. Wi-Fi connection management and Bluetooth pairing, for example, commonly involve user-space services working with kernel facilities. Applications may use these services through higher-level APIs.
As discussed in How Middleware Works in Embedded Linux, libraries and services build on Linux interfaces. The kernel provides the underlying mechanisms, while the software above it organises how the product uses them.

Managing Power in an Embedded Product
For a battery-powered device, energy consumption can determine how long the product remains useful between charges. Even equipment with a permanent power supply may need to limit heat or operate within a restricted power budget.
Linux supports power management at several levels. Runtime power management provides mechanisms for individual devices to enter low-power states while the rest of the system continues operating, where supported by the hardware and drivers. Drivers and kernel subsystems coordinate these transitions and restore devices when they are needed.
System suspend reduces activity across the whole system, including suspending applications and placing devices into appropriate low-power states. A configured event, such as a button press, timer or supported external signal, can trigger a wake-up.
The available states depend on the processor, board, firmware and drivers. Deeper sleep may save more energy but take longer to resume, and fewer devices may remain capable of waking the system.
The engineering question is therefore not simply whether Linux supports sleep. It is whether the complete product can enter the required state, wake reliably and resume its functions within an acceptable time. That behaviour must be verified on the target hardware.

Security and Maintenance over Time
A connected embedded product needs to control who can access its resources and what each application is allowed to do. The kernel contributes through memory protection, permissions, privilege controls and network filtering. Security frameworks such as SELinux and AppArmor can enforce additional access policies.
These mechanisms need appropriate configuration and user-space policies. Disabling direct root login, for example, involves the services that provide remote access. Protecting the device also requires attention to exposed services, credentials and software updates.
Maintenance continues after the product is deployed. Kernel fixes address security vulnerabilities and functional defects, while changes can affect drivers and hardware behaviour. Teams therefore need to track the kernel version, vendor patches and configuration, then test updates against the product’s requirements.
Common Vulnerabilities and Exposures (CVE) identifiers help track disclosed vulnerabilities. Assessing whether a CVE affects a device requires checking the relevant code, configuration and applied fixes, not just the kernel version number. Following a maintained kernel branch and evaluating its fixes is part of the wider maintenance process.
Delivering those fixes safely is a platform responsibility. An over-the-air update mechanism must account for compatibility, authenticity and recovery if installation or boot fails. These concerns extend beyond the kernel and deserve separate treatment.
From the Kernel to a Complete Platform
The Linux kernel brings together hardware support, resource management and interfaces that applications can use. In an embedded product, its configuration must also support requirements for connectivity, energy consumption, security and maintenance.
A working kernel is one part of that system. The boot process, root filesystem, libraries, services and applications must work with it as a coherent whole. Understanding how these pieces fit together is the next step: defining a complete embedded Linux platform.
Sources and Further Reading
- Linux Kernel Documentation — Page Tables, Linux 6.12
- Linux Kernel Documentation — No-MMU Memory Mapping Support, Linux 6.12
- Linux Kernel Documentation — Kconfig Language, Linux 6.12
- Yocto Project — Board Support Packages, version 5.0.4
- Linux Kernel Documentation — Linux and the Devicetree, Linux 6.12
- Linux Kernel Documentation — ACPI on Arm Systems, Linux 6.12
- Linux Kernel Documentation — Driver Binding, Linux 6.12
- Linux Kernel Documentation — Firmware Requests, Linux 6.12
- Linux Kernel Documentation — SocketCAN — rolling documentation, accessed 15 November 2026.
- Linux Kernel Documentation — Runtime Power Management, Linux 6.12
- Linux Kernel Documentation — System Sleep States, Linux 6.12
- Linux Kernel Documentation — Linux Security Modules, Linux 6.12
- Linux Kernel Documentation — CVEs, Linux 6.12