diff options
| author | Marco Felsch <m.felsch@pengutronix.de> | 2024-10-11 14:01:11 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-11 15:57:44 +0100 |
| commit | 8ca1fd0b729a82a73324cfd70bd54f9818f72d1d (patch) | |
| tree | 78b67948cee952557684cf3058a1c0ec1995a759 /meta/recipes-bsp | |
| parent | ba2fcb968e43bce93a7beb1c5fd9d671460f9fca (diff) | |
| download | poky-8ca1fd0b729a82a73324cfd70bd54f9818f72d1d.tar.gz | |
barebox: add initial support
This adds the support for the barebox bootloader to oe-core. The recipe
is inspired by meta-ptx [1] but is a major rework of the one found there.
Barebox comes with a wide range of supported architectures and follows
the concepts of Linux in various aspects like the driver model, the
shell, or the virtual file system.
This not only eases porting Linux drivers but also makes barebox a
developer-friendly and feature-rich bootloader alternative [2].
For barebox (like for the kernel or other bootloaders) it is quite
likely that people will not just build the original recipe but need to
adapt it, point to custom repositories, apply patch stacks,
COMPATIBLE_MACHINE etc. They may also choose to have different recipe
names for different variants.
Having only a single .bb file and requiring to copy or .bbappend it is
inconvenient and results in unnecessary code duplication. Therefore, the
base support for building barebox is encapsulated in barebox.bbclass
(like kernel.bbclass for the kernel).
Adds barebox to maintainers.inc but excludes it from the maintainers
check since with the current check mechanism barebox would be skipped
(and making the check fail) due to not being the PREFERRED_PROVIDER for
virtual/bootloader.
[1] https://github.com/pengutronix/meta-ptx/tree/master/recipes-bsp/barebox
[2] https://www.barebox.org/demo/?graphic=0
(From OE-Core rev: 5c69f5626278a6e9756188a5771b18075380f52d)
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
| -rw-r--r-- | meta/recipes-bsp/barebox/barebox_2024.08.0.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-bsp/barebox/barebox_2024.08.0.bb b/meta/recipes-bsp/barebox/barebox_2024.08.0.bb new file mode 100644 index 0000000000..98e8aa053b --- /dev/null +++ b/meta/recipes-bsp/barebox/barebox_2024.08.0.bb | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | SUMMARY = "barebox is a bootloader designed for embedded systems. It runs on a variety of architectures including x86, ARM, MIPS, PowerPC and others." | ||
| 2 | DESCRIPTION = "barebox aims to be a versatile and flexible bootloader not only for booting embedded Linux systems, \ | ||
| 3 | but also for initial hardware bringup and development. \ | ||
| 4 | Users should feel right at home with a shell with UNIX-like virtual file system access to hardware, \ | ||
| 5 | Linux kernel driver API for making driver porting easier, \ | ||
| 6 | and a subset of the POSIX C library for writing more command-line utilities." | ||
| 7 | HOMEPAGE = "https://barebox.org/" | ||
| 8 | SECTION = "bootloaders" | ||
| 9 | |||
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192" | ||
| 11 | |||
| 12 | inherit barebox | ||
| 13 | |||
| 14 | SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2" | ||
| 15 | SRC_URI[sha256sum] = "b08a762da8d63dd18b4f2d9f5d0a8da001b6e608d1b3eff6dcebc6a2e575d535" | ||
