Jump to content

Linux on embedded systems

From Wikipedia, the free encyclopedia

The Linux Operating system is prevalent in embedded systems. As of 2024, Embedded Linux shares the top spot with FreeRTOS, with 44% of embedded systems using this operating system [1]. Due to its versatility, its large community of developers, as well as its adaptability to devices with size and power constraints, Linux is a popular choice for devices used in Edge Computing[2] and autonomous systems[citation needed].

History

[edit]

The Linux kernel has been ported to a variety of CPUs which are not only primarily used as the processor of a desktop or server computer, but also ARC, ARM, AVR32, ETRAX CRIS, FR-V, H8300, IP7000, m68k, MIPS, mn10300, PowerPC, SuperH, and Xtensa processors. Linux is also used as an alternative to using a proprietary operating system and its associated toolchain.[3]

Variants

[edit]

The Embeddable Linux Kernel Subset is a Linux distribution that fits on a floppy disk for outdated or low resource hardware.[4]

Devices coverage

[edit]

Due to its low cost (freely available source code) and ease of customization, Linux has been shipped in many consumer devices. Devices covering PDAs (like the Sharp Zaurus family), TomTom GPS navigation devices, residential gateways like the Linksys WRT54G series or smartphones such as the Motorola exz series, Openmoko handsets, devices running Sailfish OS developed by Jolla like Jolla C and Intex Aqua Fish and the Nokia N900 and Nokia N9.

Android, a Linux-kernel-based operating system acquired and extended by Google and introduced in 2008, has become a highly competitive platform for smartphones and tablets. In July 2012, Android's smartphone market share in the United States was at 52%,[5] reaching 82% worldwide in Q2 2015.[6]

Starlink and SpaceX use embedded Linux on their constellations and rockets.[7]

Communities

[edit]

With the availability of consumer embedded devices, communities of users and developers were formed around these devices: replacement or enhancements of the Linux distribution shipped on the device has often been made possible thanks to availability of the source code and to the communities surrounding the devices. Due to the high number of devices, standardized build systems have appeared, including Yocto, OpenEmbedded, Buildroot, OpenWrt, and LTIB.[citation needed]

Platform usage

[edit]

The advantages of embedded Linux over proprietary embedded operating systems include multiple suppliers for software, development and support; no royalties or licensing fees; a stable kernel; the ability to read, modify and redistribute the source code. The technical disadvantages include a comparatively large memory footprint (kernel and root filesystem); complexities of user mode and kernel mode memory access, and a complex device drivers framework.[3]

Limitations

[edit]

Not every embedded Linux distribution is required to or meets real-time requirements.[8][9] This is particular relevant for safety critical applications and systems.[10]

Projects to develop real-time and safety-critical support are Real-Time Linux (PREEMPT RT)[11] and ELISA[12] (under Linux Foundation). Real Time Linux project aims mainlining the PREEMPT_RT-version.[13]

In order for the electronic system to run fully-fledged Linux OS and have multitasking it has to have enough operative memory (or replacing such) and memory management unit implementing virtual addressing to ensure compatibility with software running on Linux.[citation needed]

See also

[edit]

References

[edit]
  1. ^ "Embedded Systems Statistics By Market Size And Technologies". Electro IQ. Retrieved April 20, 2025.
  2. ^ "2023 State of the Edge Report". LFEdge.
  3. ^ a b "Migrating VxWorks applications to Linux" (PDF). Monta Vista Software. 2008. Archived from the original (PDF) on 2014-02-10. Retrieved 2013-11-13.
  4. ^ "ELKS: The Embeddable Linux Kernel System". GitHub.com/elks. Retrieved 2021-04-12.
  5. ^ Fingas, Jon (2012-09-04). "ComScore: Android tops 52 percent of US smartphone share, iPhone cracks the 33 percent mark". Engadget.com. Retrieved 2012-11-24.
  6. ^ "IDC: Smartphone OS Market Share, 2015 Q2". idc.com. 2015-08-01. Retrieved 2016-05-13.
  7. ^ Tim Bird July 2022 (June 2023) Status of Embedded Linux
  8. ^ Erciyes, K. (2019), "Real-Time Operating Systems", Distributed Real-Time Systems, Computer Communications and Networks, Cham: Springer International Publishing, pp. 65–88, doi:10.1007/978-3-030-22570-4_4, ISBN 978-3-030-22569-8, S2CID 199583025, retrieved 2021-03-08
  9. ^ "What does it mean to say "linux kernel is preemptive"?". Stack Overflow. Retrieved 2021-03-08.
  10. ^ "Real-Time Operating System - an overview | ScienceDirect Topics". www.sciencedirect.com. Retrieved 2021-03-08.
  11. ^ "Real-Time Linux Continues Its Way to Mainline Development and Beyond". 6 September 2018.
  12. ^ "ELISA: Enabling Linux in Safety Applications". 21 February 2019.
  13. ^ "Realtime:start [Wiki]".

Further reading

[edit]

See also

[edit]
[edit]