[PATCH v2 0/9] Add barebox bootloader support (and testing)

Enrico Jorns
2023-03-31T10:40:48Z

This adds support for the barebox bootloader (and tools) to oe-core.

In order to have proper testing, this extends oe-selftest to allow
basic testing of bootloaders. While at it, cover both barebox and u-boot.

v2:
* set myself as maintainer in maintainers.inc
* move doc from documentation.conf to recipe
* update to barebox v2023.03 (including fixes for musl, etc.)
* set standard configs for qemu machines to allow building them
* add better efi dir support in barebox recipe
* enable testing bootloaders in oeqa
* add test cases for barebox (and u-boot)

Enrico Jorns (7):
barebox: set default BAREBOX_CONFIG for qemu machines
oeqa/utils/qemurunner: support ignoring vt100 escape sequences
oeqa/utils/qemurunner: simplify output parsing and make
crlf-compatible
oeqa/utils/commands: document runqemu context manager
oeqa: support passing custom boot patterns to runqemu
oeqa/selftest/cases: add barebox tests
oeqa/selftest/cases: add basic u-boot test

Marco Felsch (2):
barebox: add initial support
barebox-tools: add initial barebox tools support

meta/conf/distro/include/maintainers.inc | 2 +
meta/lib/oeqa/selftest/cases/barebox.py | 72 +++++++++
meta/lib/oeqa/selftest/cases/uboot.py | 40 +++++
meta/lib/oeqa/targetcontrol.py | 5 +-
meta/lib/oeqa/utils/commands.py | 22 ++-
meta/lib/oeqa/utils/qemurunner.py | 37 +++--
.../barebox/barebox-tools_2023.03.0.bb | 56 +++++++
meta/recipes-bsp/barebox/barebox.inc | 138 ++++++++++++++++++
meta/recipes-bsp/barebox/barebox_2023.03.0.bb | 3 +
9 files changed, 351 insertions(+), 24 deletions(-)
create mode 100644 meta/lib/oeqa/selftest/cases/barebox.py
create mode 100644 meta/lib/oeqa/selftest/cases/uboot.py
create mode 100644 meta/recipes-bsp/barebox/barebox-tools_2023.03.0.bb
create mode 100644 meta/recipes-bsp/barebox/barebox.inc
create mode 100644 meta/recipes-bsp/barebox/barebox_2023.03.0.bb

--
2.39.2