From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: [PATCH v3 0/3] boards: qemu-virt: support passing in FIT public key
Date: Tue, 11 Apr 2023 12:00:18 +0200 [thread overview]
Message-ID: <a4ce283b-8b12-3a42-71cf-ad2acc99db15@pengutronix.de> (raw)
In-Reply-To: <20230313144220.1689252-1-a.fatoum@pengutronix.de>
Hello Sascha,
please drop
a9d3244883d7 ("boards: qemu-virt: apply overlay at postcore_initcall level")
e664ca8f7c35 ("boards: qemu-virt: compile overlay as such")
224b5ef1da4c ("boards: qemu-virt: support passing in FIT public key")
again. I had been testing with ARM qemu_virt64_defconfig, but now that
I tested on RISC-V, I notice that non-qemu-virt platforms also execute
the initcall when they shouldn't and that DTC_CPP_FLAGS wasn't defined
for overlays leading to broken state there.
I'll send a revised version, but please drop the current one for now.
Thanks,
Ahmad
On 13.03.23 15:42, Ahmad Fatoum wrote:
> FIT public key is usually passed in via board DT. Usual way to use
> barebox with QEMU Virt however is to use DT supplied by Qemu and apply
> overlay to it. mkimage doesn't generate overlay DTB though. To make
> barbebox Qemu Virt behave like other boards, let's define a dummy DT
> that includes CONFIG_BOOTM_FITIMAGE_PUBKEY, which is merged with the
> barebox live device tree.
>
> This replaces v2 of the series available in next and fixes the
> regressions I introduced for deep-probe systems that ensure probe in
> other devices.
>
> I dropped Jan's Tested-by, because the differences warrant it, but
> I tested locally that a RSA key was registered as before.
>
> v2 was here:
> https://lore.barebox.org/barebox/20230210165353.3601175-1-a.fatoum@pengutronix.de/
>
> v2 -> v3:
> - drop "support of_ensure_probed for top-level machine device"
> - switch from board driver back to initcall
>
> v1 -> v2:
> - support of_ensure_probed for top-level machine device
> - ensure qemu board driver is probed at postcore
>
> Ahmad Fatoum (3):
> boards: qemu-virt: apply overlay at postcore_initcall level
> boards: qemu-virt: compile overlay as such
> boards: qemu-virt: support passing in FIT public key
>
> common/boards/qemu-virt/Makefile | 2 +-
> common/boards/qemu-virt/board.c | 52 +++++++++++--------
> common/boards/qemu-virt/fitimage-pubkey.dts | 7 +++
> .../{overlay-of-flash.dts => flash.dtso} | 0
> 4 files changed, 38 insertions(+), 23 deletions(-)
> create mode 100644 common/boards/qemu-virt/fitimage-pubkey.dts
> rename common/boards/qemu-virt/{overlay-of-flash.dts => flash.dtso} (100%)
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2023-04-11 10:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-13 14:42 Ahmad Fatoum
2023-03-13 14:42 ` [PATCH v3 1/3] boards: qemu-virt: apply overlay at postcore_initcall level Ahmad Fatoum
2023-03-13 14:42 ` [PATCH v3 2/3] boards: qemu-virt: compile overlay as such Ahmad Fatoum
2023-03-13 14:42 ` [PATCH v3 3/3] boards: qemu-virt: support passing in FIT public key Ahmad Fatoum
2023-03-13 14:46 ` [PATCH v3 0/3] " Ahmad Fatoum
2023-03-14 8:05 ` Sascha Hauer
2023-04-11 10:00 ` Ahmad Fatoum [this message]
2023-04-11 12:35 ` Sascha Hauer
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=a4ce283b-8b12-3a42-71cf-ad2acc99db15@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@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