Misplaced Pages

Buildroot

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Tool for building Linux

Buildroot
A yellow hardhat, similar to those used by construction workers
Developer(s)Peter Korsgaard and others
Initial releaseJanuary 12, 2005; 19 years ago (2005-01-12)
Stable release2024.05.9 / December 8, 2024; 24 days ago (2024-12-08)
Repository
Written inMake, shell and C
Operating systemLinux
PlatformEmbedded Linux
Size6.2 MB
TypeBuild automation
LicenseGNU GPL version 2 or later
Websitebuildroot.org

Buildroot is a set of Makefiles and patches that simplifies and automates the process of building a complete and bootable Linux environment for an embedded system, while using cross-compilation to allow building for multiple target platforms on a single Linux-based development system. Buildroot can automatically build the required cross-compilation toolchain, create a root file system, compile a Linux kernel image, and generate a boot loader for the targeted embedded system, or it can perform any independent combination of these steps. For example, an already installed cross-compilation toolchain can be used independently, while Buildroot only creates the root file system.

Buildroot is primarily intended to be used with small or embedded systems based on various computer architectures and instruction set architectures (ISAs), including x86, ARM, MIPS, PowerPC and RISC-V. Numerous architectures and their variants are supported; Buildroot also comes with default configurations for several off-the-shelf available embedded boards, such as Cubieboard, Raspberry Pi and SheevaPlug. Several third-party projects and products use Buildroot as the basis for their build systems, including the OpenWrt project that creates an embedded operating system, and firmware for the customer-premises equipment (CPE) used by the Google Fiber broadband service.

Multiple C standard libraries are supported as part of the toolchain, including the GNU C Library, uClibc and musl, as well as the C standard libraries that belong to various preconfigured development environments, such as those provided by Linaro. Buildroot's build configuration system internally uses Kconfig, which provides features such as a menu-driven interface, handling of dependencies, and contextual help; Kconfig is also used by the Linux kernel for its source-level configuration. Buildroot is organized around numerous automatically downloaded packages, which contain the source code of various userspace applications, system utilities, and libraries. Root file system images, which are the final results, may be built using various file systems, including cramfs, JFFS2, romfs, SquashFS and UBIFS.

Buildroot is free and open-source software, maintained by Peter Korsgaard and licensed under version 2 or later of the GNU General Public License (GPL). The project started in 2001, with initial intentions to serve as a testbed for uClibc. New releases are made available every three months.

See also

  • BitBake – a make-like build tool focusing on cross-compiled packages and embedded Linux distributions
  • BusyBox – a software project that provides several stripped-down Unix tools in a single executable file
  • Linux distribution – an operating system made as a collection of software based on the Linux kernel and, often, a package management system
  • OpenEmbedded – a software framework for creating Linux distributions tailored for embedded devices
  • uClibc – a small C standard library intended for Linux-based embedded systems
  • Yocto Project – a Linux Foundation workgroup focusing on architecture-independent embedded Linux distributions
  • OpenWrt – an open source project for building Linux for embedded network devices based on Buildroot

References

  1. "Old Buildroot downloads (index of /downloads/old)". buildroot.org. Retrieved August 16, 2015.
  2. Peter Korsgaard (December 8, 2024). "Buildroot 2024.02.9 released". buildroot (Mailing list). Retrieved December 18, 2024. Buildroot 2024.02.9 is released
  3. Alexander Sirotkin (August 31, 2011). "Roll Your Own Embedded Linux System with Buildroot". Linux Journal. Retrieved December 18, 2014.
  4. ^ "Buildroot: Making embedded Linux easy". buildroot.org. Archived from the original on December 18, 2014. Retrieved December 18, 2014.
  5. ^ "The Buildroot User Manual" (PDF). buildroot.org. December 1, 2014. Retrieved December 18, 2014.
  6. Tom Parkin (April 27, 2010). "Tools and distributions for embedded Linux development". LWN.net. Retrieved August 16, 2015.
  7. "Buildroot: what's new? - Embedded Linux Conference" (PDF). bootlin.com. 2022. Retrieved October 2, 2023.
  8. "Buildroot's changelog (CHANGES file)". git.buildroot.net. December 1, 2014. Retrieved December 18, 2014.
  9. ^ Peter Korsgaard (October 26, 2013). "Buildroot: What's new?" (PDF). elinux.org. Retrieved December 18, 2014.
  10. "OpenWrt Buildroot – About". openwrt.org. December 6, 2014. Retrieved December 18, 2014.
  11. "Linux4SAM: BuildRoot". at91.com. July 15, 2013. Retrieved August 16, 2015.

External links

Linux
Linux kernel
Controversies
Distributions
Organizations
Adoption
Media
Professional related certifications
Mobile operating systems
Linux
Linux Kernel
GNU/Linux
XNU
QNX
Microsoft
Windows
Zircon
FreeBSD/NetBSD
OpenHarmony/HarmonyOS NEXT
FreeRTOS
  • Amazfit OS
    • Zepp OS
  • MIUI Band OS
Nintendo system software
Minix 3
Symbian
Other
Real-time operating systems (RTOS)
Operating
systems
POSIX support
Unix-like
LiteOS
Partial
TRON support
Partial
Capability-based
Java virtual machine
DOS
L4 kernel
Psion
Microsoft
IBM
Texas Instruments
DEC PDP-11 VAX
Low resource
Frameworks, kits
  • Robot Operating System° 2
  • RTAI°
  • TI-RTOS
  • Xenomai°
  • Developers
    Embedded systems
    General terms
    Firmware and controls
    Boot loaders
    Software libraries
    Programming tools
    Operating systems
    Programming languages
    Categories: