The Embeddable Linux Kernel Subset (ELKS), formerly known as Linux-8086, is a
Linux-like operating system
kernel. It is a subset of the
Linux kernel
The Linux kernel is a Free and open-source software, free and open source Unix-like kernel (operating system), kernel that is used in many computer systems worldwide. The kernel was created by Linus Torvalds in 1991 and was soon adopted as the k ...
, intended for
16-bit
16-bit microcomputers are microcomputers that use 16-bit microprocessors.
A 16-bit register can store 216 different values. The range of integer values that can be stored in 16 bits depends on the integer representation used. With the two ...
computers with limited processor and memory resources such as machines powered by
Intel 8086
The 8086 (also called iAPX 86) is a 16-bit computing, 16-bit microprocessor chip designed by Intel between early 1976 and June 8, 1978, when it was released. The Intel 8088, released July 1, 1979, is a slightly modified chip with an external 8-b ...
and compatible
microprocessor
A microprocessor is a computer processor (computing), processor for which the data processing logic and control is included on a single integrated circuit (IC), or a small number of ICs. The microprocessor contains the arithmetic, logic, a ...
s not supported by
32-bit Linux
Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
.
Features and compatibility
ELKS is
free software
Free software, libre software, libreware sometimes known as freedom-respecting software is computer software distributed open-source license, under terms that allow users to run the software for any purpose as well as to study, change, distribut ...
and available under the
GNU General Public License
The GNU General Public Licenses (GNU GPL or simply GPL) are a series of widely used free software licenses, or ''copyleft'' licenses, that guarantee end users the freedom to run, study, share, or modify the software. The GPL was the first ...
(GPL). It can work with early
16-bit
16-bit microcomputers are microcomputers that use 16-bit microprocessors.
A 16-bit register can store 216 different values. The range of integer values that can be stored in 16 bits depends on the integer representation used. With the two ...
(e.g. 8086,
8088) and many
32-bit x86 computers like
IBM PC compatible systems, and later x86 models in
real mode. Another useful area is
single board microcomputers, intended as educational tools for "
homebrew" projects (hardware
hacking), as well as embedded controller systems (e.g.
Automation
Automation describes a wide range of technologies that reduce human intervention in processes, mainly by predetermining decision criteria, subprocess relationships, and related actions, as well as embodying those predeterminations in machine ...
).
[Introduction to ELKS](_blank)
/ref>
Early versions of ELKS also ran on Psion 3a and 3aR SIBO (SIxteen Bit Organiser) PDAs with NEC V30 CPUs, providing another possible field of operation (gadget
A gadget is a machine, mechanical device or any ingenious article. Gadgets are sometimes referred to as ''wikt:gizmo, gizmos''.
History
The etymology of the word is disputed. The word first appears as reference to an 18th-century tool in Glass ...
hardware), if ported to such a platform. This effort was called ELKSibo. Due to lack of interest, SIBO support was removed from version 0.4.0.
Native ELKS programs may run emulated with Elksemu, allowing 8086 code to be used under Linux-i386. An effort to provide ELKS with an Eiffel compliant library
A library is a collection of Book, books, and possibly other Document, materials and Media (communication), media, that is accessible for use by its members and members of allied institutions. Libraries provide physical (hard copies) or electron ...
also exists.
History
Development of Linux-8086 started in 1995 by Linux kernel developers Alan Cox and Chad Page as a fork of the standard Linux. By early 1996 the project was renamed ELKS (Embeddable Linux Kernel Subset), and in 1997 the first website was created. ELKS version 0.0.63 followed on August 8 that same year. On June 22, 1999, ELKS release 0.0.77 was available, the first version able to run a graphical user interface
A graphical user interface, or GUI, is a form of user interface that allows user (computing), users to human–computer interaction, interact with electronic devices through Graphics, graphical icon (computing), icons and visual indicators such ...
(th
Nano-X Window System
. On July 21, ELKS booted on a Psion PDA with SIBO architecture. ELKS 0.0.82 came out on January 10, 2000. By including the SIBO port
A port is a maritime facility comprising one or more wharves or loading areas, where ships load and discharge cargo and passengers. Although usually situated on a sea coast or estuary, ports can also be found far inland, such as Hamburg, Manch ...
, it became the first official version running on other computer hardware
Computer hardware includes the physical parts of a computer, such as the central processing unit (CPU), random-access memory (RAM), motherboard, computer data storage, graphics card, sound card, and computer case. It includes external devices ...
than the original 8086 base. On March 3 that year, the project was registered on SourceForge.
On January 6, 2001, Cox declared ELKS "basically dead". Nonetheless, release 0.0.84 came along on June 17, 2001, Charilaos (Harry) Kalogirou added TCP/IP networking support seven days later, and in the same year ELKS reached 0.0.90 on November 17. On April 20, 2002, Kalogirou added memory management
Memory management (also dynamic memory management, dynamic storage allocation, or dynamic memory allocation) is a form of Resource management (computing), resource management applied to computer memory. The essential requirement of memory manag ...
with disk swapping capability, followed nine days later by ELKS release 0.1.0, considered the first beta version. By end of the year, on December 18, the EDE (Elks Distribution Edition, a distribution based on the ELKS kernel), itself version 0.0.5, is released. January 6, 2003, brought ELKS 0.1.2, an update to 0.1.3 followed on May 3, 2006, the first official release after a long hiatus in development.
A development into FlightLinux, a real-time operating system for spacecraft
A spacecraft is a vehicle that is designed spaceflight, to fly and operate in outer space. Spacecraft are used for a variety of purposes, including Telecommunications, communications, Earth observation satellite, Earth observation, Weather s ...
, was planned, but the project it was intended for ( UoSAT-12) eventually settled on the qCF operating system from Quadron Corporation instead.
Current status and usage
Since January 2012 ELKS is again under development. The CVS repository was migrated to Git in February 2012, and numerous patches from the Linux-8086 mailing list were committed to the new repository. Version 0.1.4 came out on February 19, 2012, released by Jody Bruchon in memory of Riley Williams, a former co-developer. It included updated floppy disk images, fixing compilation bugs of the previous version and removing unused codes. On May 10, 2012, BusyELKS was added to the repository by Jody Bruchon in an attempt to replace stand-alone binaries and to take advantage of shared code (ELKS does not support shared libraries). BusyBox-like binaries attempt to save space with symbolic links, eliminating redundant chunks of code, and are combining separate programs into one bigger binary. On November 14, 2013, project development moved to GitHub
GitHub () is a Proprietary software, proprietary developer platform that allows developers to create, store, manage, and share their code. It uses Git to provide distributed version control and GitHub itself provides access control, bug trackin ...
. Rudimentary Ethernet and FAT support were added in 2017.
More than 35 developers have contributed to this project since the fork in 1995. As of March 2015, development of the ELKS project was again active, reaching a milestone 1,000 source code
In computing, source code, or simply code or source, is a plain text computer program written in a programming language. A programmer writes the human readable source code to control the behavior of a computer.
Since a computer, at base, only ...
commits on March 8, 2015. As of June 2018, many bug fixes and improvements were performed with 583 more commits, leading to the 0.2.1 release. In March 2019, the project completed its transition from the obsolete BCC compiler to the more recent GCC-IA16 (GNU Compiler Collection
The GNU Compiler Collection (GCC) is a collection of compilers from the GNU Project that support various programming languages, Computer architecture, hardware architectures, and operating systems. The Free Software Foundation (FSF) distributes ...
- Intel Architecture 16), and development activity increased as Gregory Haerr took the helm as lead developer. During 2019 and 2020 ELKS moved from a 'bootable, unstable' status to a stable Linux-like system for small machines with Ethernet, TCP/IP, FAT16/32, multiuser serial and many more functions. As ELKS 0.4.0 was released in November 2020, the number of commits had passed 3,000.
Building on the foundation created by 0.4.0, development activity continued during 2021, still with Gregory Haerr as lead developer, supported by 5 active contributors. The team delivered 220 commits from October 2021 to 0.5.0 release on February 8, 2022. Four months later, on Jun 7th 2022, 0.6.0 was released, setting a new level or release frequency and indicating a very high level of activity.
Version 0.4.0
Version 0.4.0 represented a major milestone for ELKS, lifting the system from experimental to useful for non-developers, and included the following major enhancements:
* Documentation Wiki
* Major kernel enhancements – size, stability, robustness, speed, system calls and debugging features.
* Reliable TCP/IP
The Internet protocol suite, commonly known as TCP/IP, is a framework for organizing the communication protocols used in the Internet and similar computer networks according to functional criteria. The foundational protocols in the suite are ...
stack implemented as a user mode process, supporting TCP, ICMP, ARP.
* User level networking support for telnet/telnetd and file transfer.
* Serial IP and Ethernet
Ethernet ( ) is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 198 ...
(NE1K/ NE2K/WD8003) support.
* Many new and updated user level commands, including ash and sash shells.
* Many cross development tool-chain enhancements supporting more memory models, easing porting of more applications.
* Robust FAT16/32 and Minix1 file system support, including booting from /root on FAT file systems.
* Improved console and serial support: Serial console, high speed multiple serial I/O.
* MBR support, boot options via /bootopts.
* Updated menu-system for configuration and building on Linux and MacOS, allowing non-developers to build custom images for floppies ranging from 360KB to 2.88MB.
Version 0.5.0
Version 0.5.0 was another significant milestone for ELKS with a number of important improvements, additions and support for 2 new platforms - the Japanese PC-98
The , commonly shortened to PC-98 or simply , is a lineup of Japanese 16-bit and 32-bit Personal computer, personal computers manufactured by NEC from 1982 to 2003. While based on Intel processors, it uses an in-house architecture making it inc ...
and 80186/80188. Enhancements included:
* Kernel and network debugging tools, toolchain
A toolchain is a set of software development tools used to build and otherwise develop software. Often, the tools are executed sequentially and form a pipeline such that the output of one tool is the input for the next. Sometimes the term is us ...
improvements, cleanups to ease porting to new platforms
* Network stack stability and performance improvements
* Native ftp/ftpd programs, expanding network application level protocol support to telnet, ftp
The File Transfer Protocol (FTP) is a standard communication protocol used for the transfer of computer files from a server to a client on a computer network. FTP is built on a client–server model architecture using separate control and dat ...
, http
HTTP (Hypertext Transfer Protocol) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, wher ...
and raw tcp ( netcat)
* Improved runtime configuration via /bootopts configuration file,
* XMS-support for 386 and 286 systems, enabling high memory buffers
* New SSD driver
* Support for compressed executables
* Support for very low memory environments (256k)
* Library and system call enhancements
* Kernel support for variable sector sizes (for PC-98
The , commonly shortened to PC-98 or simply , is a lineup of Japanese 16-bit and 32-bit Personal computer, personal computers manufactured by NEC from 1982 to 2003. While based on Intel processors, it uses an in-house architecture making it inc ...
platform)
* New startup configuration files for networking and mass storage
* Improved networking support when running in QEMU
As of version 0.5.0 ELKS is a complete small-Linux system and a versatile tool for testing, diagnosing and running vintage PCs with limited resources. The improved portability demonstrated by the addition of new platforms, paves the way for increased development activity towards the next version.
Version 0.6.0
Released on June 7, 2022, 0.6.0 defined a new level for ELKS, as indicated by the much shorter than usual release cycle. The speed at which the system evolves and improves, combined with its recently acquired reliability and usability created a demand for 'updated packaged releases' from new users.
0.6.0 included lots of enhancements and optimizations on both system and application level. New additions included:
* BASIC
Basic or BASIC may refer to:
Science and technology
* BASIC, a computer programming language
* Basic (chemistry), having the properties of a base
* Basic access authentication, in HTTP
Entertainment
* Basic (film), ''Basic'' (film), a 2003 film
...
interpreter with demo programs
* Manual pages
* Expanded support for the new platforms - PC98 and 80186/80188, notably SCSI and IDE drive support for the PC98
* Kernel, library and networking fixes/enhancements
* New commands, such as tar, man
A man is an adult male human. Before adulthood, a male child or adolescent is referred to as a boy.
Like most other male mammals, a man's genome usually inherits an X chromosome from the mother and a Y chromosome from the f ...
and compress
200 commits were delivered by the team between the 0.5.0 and 0.6.0 release, more than half by Gregory Haerr.
Version 0.7.0
It was released on August 3, 2023.ELKS v0.7.0
/ref>
See also
* TinyLinux
* μClinux
Fuzix OS
a Linux-like for '' 8-bit'' architectures
References
External links
old ELKS page
*
*
* {{github, ghaerr/elks/tree/master/elksemu, Elksemu, part of development tools
Linux kernel
Monolithic kernels
Embedded Linux
Lightweight Unix-like systems