public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Enrico Jörns" <ejo@pengutronix.de>
To: openembedded-core@lists.openembedded.org
Cc: yocto@pengutronix.de
Subject: [PATCH v4 0/7] Add barebox bootloader support (and testing)
Date: Tue, 10 Sep 2024 09:19:59 +0200	[thread overview]
Message-ID: <20240910072006.3938401-1-ejo@pengutronix.de> (raw)

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 u-boot and barebox.

v4:

* bump to barebox 2024.08.0
* change barebox native build deps to PACKAGECONFIGs
* export HOST_EXTRACFLAGS
* set new barebox PKG_CONFIG and CROSS_PKG_CONFIG make options
* remove unnecessary python variables (PN, FILE)
  from barebox config check
* use new multi_v8_defconfig for qemuarm64
* drop x86 tests and crlf output parsing adaptions for now
  to avoid potential impact on other tests

Enrico Jorns (5):
  barebox: set default BAREBOX_CONFIG for qemu machines
  oeqa/utils/qemurunner: support ignoring vt100 escape sequences
  oeqa: support passing custom boot patterns to runqemu
  oeqa/selftest/cases: add basic u-boot test
  oeqa/selftest/cases: add basic barebox tests

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       |  43 +++++
 meta/lib/oeqa/selftest/cases/uboot.py         |  42 +++++
 meta/lib/oeqa/targetcontrol.py                |   5 +-
 meta/lib/oeqa/utils/commands.py               |   5 +-
 meta/lib/oeqa/utils/qemurunner.py             |   6 +-
 .../barebox/barebox-tools_2024.08.0.bb        |  58 +++++++
 meta/recipes-bsp/barebox/barebox.inc          | 156 ++++++++++++++++++
 meta/recipes-bsp/barebox/barebox_2024.08.0.bb |   3 +
 12 files changed, 317 insertions(+), 6 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_2024.08.0.bb
 create mode 100644 meta/recipes-bsp/barebox/barebox.inc
 create mode 100644 meta/recipes-bsp/barebox/barebox_2024.08.0.bb

-- 
2.39.2



             reply	other threads:[~2024-09-10  7:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-10  7:19 Enrico Jörns [this message]
2024-09-10  7:20 ` [PATCH v4 1/7] barebox: add initial support Enrico Jörns
2024-09-10  8:33   ` [OE-core] " Alexander Kanavin
2024-09-10  8:41     ` Enrico Jörns
2024-09-10  7:20 ` [PATCH v4 2/7] barebox-tools: add initial barebox tools support Enrico Jörns
2024-09-10  8:37   ` [OE-core] " Alexander Kanavin
2024-09-10  8:45     ` Enrico Jörns
2024-09-10  8:49       ` Alexander Kanavin
2024-09-10  9:02         ` Enrico Jörns
2024-09-10  9:22           ` Alexander Kanavin
2024-09-10  9:32             ` Enrico Jörns
2024-09-10  7:20 ` [PATCH v4 3/7] barebox: set default BAREBOX_CONFIG for qemu machines Enrico Jörns
2024-09-10  7:20 ` [PATCH v4 4/7] oeqa/utils/qemurunner: support ignoring vt100 escape sequences Enrico Jörns
2024-09-10  7:20 ` [PATCH v4 5/7] oeqa: support passing custom boot patterns to runqemu Enrico Jörns
2024-09-10  7:20 ` [PATCH v4 6/7] oeqa/selftest/cases: add basic u-boot test Enrico Jörns
2024-09-10  7:20 ` [PATCH v4 7/7] oeqa/selftest/cases: add basic barebox tests Enrico Jörns

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240910072006.3938401-1-ejo@pengutronix.de \
    --to=ejo@pengutronix.de \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=yocto@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox