Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v3 0/9] Add barebox bootloader support (and testing)
@ 2023-04-25 18:47 Enrico Jorns
  2023-04-25 18:47 ` [PATCH v3 1/9] barebox: add initial support Enrico Jorns
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Enrico Jorns @ 2023-04-25 18:47 UTC (permalink / raw)
  To: openembedded-core
  Cc: yocto, ejo, Richard Purdie, Alexander Kanavin, alexandre.belloni

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.

v3:

* bump to barebox 2023.04.0
* add anonymous python to not act as provider when no config is set
* reasoning for default BAREBOX_CONFIGs in patch description
  and set PREFERRED_PROVIDER_virtual/bootloader to u-boot to avoid
  conflicts
* extend patch description and add comment for vt100 regex
* set CC=${CC} and LD=${LD} in barebox-tools to fix musl builds

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/conf/machine/qemuarm.conf                |   1 +
 meta/conf/machine/qemuarm64.conf              |   1 +
 meta/conf/machine/qemux86-64.conf             |   1 +
 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             |  38 ++---
 .../barebox/barebox-tools_2023.04.0.bb        |  58 +++++++
 meta/recipes-bsp/barebox/barebox.inc          | 149 ++++++++++++++++++
 meta/recipes-bsp/barebox/barebox_2023.04.0.bb |   3 +
 12 files changed, 368 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.04.0.bb
 create mode 100644 meta/recipes-bsp/barebox/barebox.inc
 create mode 100644 meta/recipes-bsp/barebox/barebox_2023.04.0.bb

-- 
2.39.2



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-04-26 21:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-25 18:47 [PATCH v3 0/9] Add barebox bootloader support (and testing) Enrico Jorns
2023-04-25 18:47 ` [PATCH v3 1/9] barebox: add initial support Enrico Jorns
2023-04-26 21:00   ` [OE-core] " Luca Ceresoli
2023-04-25 18:47 ` [PATCH v3 2/9] barebox-tools: add initial barebox tools support Enrico Jorns
2023-04-25 18:47 ` [PATCH v3 3/9] barebox: set default BAREBOX_CONFIG for qemu machines Enrico Jorns
2023-04-25 18:47 ` [PATCH v3 4/9] oeqa/utils/qemurunner: support ignoring vt100 escape sequences Enrico Jorns
2023-04-26  8:52   ` [OE-core] " Luca Ceresoli
2023-04-26  9:17     ` Enrico Jörns
2023-04-25 18:47 ` [PATCH v3 5/9] oeqa/utils/qemurunner: simplify output parsing and make crlf-compatible Enrico Jorns
2023-04-25 18:47 ` [PATCH v3 6/9] oeqa/utils/commands: document runqemu context manager Enrico Jorns
2023-04-25 18:47 ` [PATCH v3 7/9] oeqa: support passing custom boot patterns to runqemu Enrico Jorns
2023-04-25 18:47 ` [PATCH v3 8/9] oeqa/selftest/cases: add barebox tests Enrico Jorns
2023-04-25 18:47 ` [PATCH v3 9/9] oeqa/selftest/cases: add basic u-boot test Enrico Jorns
2023-04-26 12:12 ` [OE-core] [PATCH v3 0/9] Add barebox bootloader support (and testing) Luca Ceresoli
2023-04-26 13:55   ` Enrico Jörns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox