Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Luca Ceresoli <luca.ceresoli@bootlin.com>
To: "Enrico Jörns" <ejo@pengutronix.de>
Cc: openembedded-core@lists.openembedded.org, yocto@pengutronix.de,
	Richard Purdie <richard.purdie@linuxfoundation.org>,
	Alexander Kanavin <alex.kanavin@gmail.com>,
	alexandre.belloni@bootlin.com
Subject: Re: [OE-core] [PATCH v3 1/9] barebox: add initial support
Date: Wed, 26 Apr 2023 23:00:54 +0200	[thread overview]
Message-ID: <20230426230054.18414ca5@booty> (raw)
In-Reply-To: <20230425184720.456896-2-ejo@pengutronix.de>

Hello Enrico,

On Tue, 25 Apr 2023 20:47:12 +0200
Enrico Jörns <ejo@pengutronix.de> wrote:

> From: Marco Felsch <m.felsch@pengutronix.de>
> 
> This adds the support for the barebox bootloader to oe-core. The recipe
> is based on the recipe found in meta-ptx [1] with a few minor adaptions.
> 
> This basic support includes the bootloader and the target tools to
> interact with the bootloader. The host tools support is not part of
> this commit. This will be added later on as separate recipe.
> 
> [1] https://github.com/pengutronix/meta-ptx/tree/master/recipes-bsp/barebox
> 
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
> ---
>  meta/conf/distro/include/maintainers.inc      |   1 +
>  meta/recipes-bsp/barebox/barebox.inc          | 144 ++++++++++++++++++
>  meta/recipes-bsp/barebox/barebox_2023.04.0.bb |   3 +
>  3 files changed, 148 insertions(+)
>  create mode 100644 meta/recipes-bsp/barebox/barebox.inc
>  create mode 100644 meta/recipes-bsp/barebox/barebox_2023.04.0.bb
> 
> diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
> index 682ec2cfdf..86d5519489 100644
> --- a/meta/conf/distro/include/maintainers.inc
> +++ b/meta/conf/distro/include/maintainers.inc
> @@ -54,6 +54,7 @@ RECIPE_MAINTAINER:pn-automake = "Robert Yang <liezhi.yang@windriver.com>"
>  RECIPE_MAINTAINER:pn-avahi = "Yi Zhao <yi.zhao@windriver.com>"
>  RECIPE_MAINTAINER:pn-babeltrace = "Alexander Kanavin <alex.kanavin@gmail.com>"
>  RECIPE_MAINTAINER:pn-babeltrace2 = "Alexander Kanavin <alex.kanavin@gmail.com>"
> +RECIPE_MAINTAINER:pn-barebox = "Enrico Jörns <yocto@pengutronix.de>"

There's been another build failure, but I must say it looks nonsense to
me -- perhaps others can shed some light on it:

AssertionError: 
Unable to find recipes for the following entries in maintainers.inc:
barebox

https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/1321/steps/14/logs/stdio

Some lines later on the same log file, there is a QEMU error in
test_boot_barebox:

2023-04-26 16:37:04,021 - oe-selftest - INFO - barebox.BareboxTest.test_boot_barebox (subunit.RemotedTestCase)
2023-04-26 16:37:04,022 - oe-selftest - INFO -  ... ERROR
2023-04-26 16:37:04,023 - oe-selftest - INFO - 1: 1/47 367/530 (24221.61s) (0 failed) (barebox.BareboxTest.test_boot_barebox)
2023-04-26 16:37:04,023 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/utils/commands.py", line 372, in runqemu
    qemu.start(params=qemuparams, ssh=ssh, runqemuparams=runqemuparams, launch_cmd=launch_cmd, discard_writes=discard_writes)
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/targetcontrol.py", line 183, in start
    raise RuntimeError("%s - FAILED to start qemu - check the task log and the boot log" % self.pn)
RuntimeError: core-image-minimal - FAILED to start qemu - check the task log and the boot log
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/selftest/cases/barebox.py", line 36, in test_boot_barebox
    with runqemu('core-image-minimal', ssh=False, runqemuparams='nographic',
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/lib/oeqa/utils/commands.py", line 378, in runqemu
    raise Exception(msg)
Exception: core-image-minimal - FAILED to start qemu - check the task log and the boot log

Sadly the work directory for that build has already gone. :-/

Best regards,
Luca

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


  reply	other threads:[~2023-04-26 21:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` Luca Ceresoli [this message]
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

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=20230426230054.18414ca5@booty \
    --to=luca.ceresoli@bootlin.com \
    --cc=alex.kanavin@gmail.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=ejo@pengutronix.de \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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