From: Trevor Woerner <twoerner@gmail.com>
To: Quentin Schulz <quentin.schulz@cherry.de>
Cc: Quentin Schulz <foss+yocto@0leil.net>,
yocto-patches@lists.yoctoproject.org,
Peter Hoyes <peter.hoyes@arm.com>
Subject: Re: [PATCH meta-rockchip] bsp: fix upstream TF-A deploy desync
Date: Tue, 10 Feb 2026 00:35:39 -0500 [thread overview]
Message-ID: <aYrDqzi7UjkIvYuW@localhost.localdomain> (raw)
In-Reply-To: <07c9526d-259f-4ef2-894a-076599bbe045@cherry.de>
On Wed 2026-01-21 @ 06:11:26 PM, Quentin Schulz wrote:
> Hi Trevor,
>
> On 1/21/26 6:06 PM, Quentin Schulz wrote:
> > From: Quentin Schulz <quentin.schulz@cherry.de>
> >
> > Since commit 7bce36a2c64b ("arm/trusted-firmware-a: Use
> > firmware.bbclass") in meta-arm, the BL31 firmware is deployed in a
> > subdirectory named trusted-firmware-a and the binary is simply called
> > bl31.elf without any other string.
> >
> > This differs from what it used to be by the use of the subdirectory and
> > the name of the file itself. This is an issue for us because the U-Boot
> > recipe is given the path to the BL31 binary in deploy directory and that
> > now was wrong.
> >
> > The second issue is that we want rockchip-rkbin-tf-a to be a drop-in
> > replacement for the upstream recipe and have nothing to change in other
> > recipes dependent on *an* implementation of TF-A (such as the U-Boot
> > recipe).
> >
> > We can either fixup the path like was done in 2a13a49da4af ("fix u-boot
> > for tf-a firmware") but we'll need to do that for all current and future
> > SoCs (and also wasn't a complete fix as for example px30 didn't have the
> > fixup applied). Or we can simply adapt the rockchip-rkbin-tf-a recipe to
> > deploy the same way that the upstream trusted-firmware-a recipe does by
> > installing in a trusted-firmware-a subdirectory, simply name the binary
> > bl31.elf and update the BL31 environment variable in the U-Boot recipe
> > to use the new path.
> >
> > Because RKBIN_DEPLOY_FILENAME now contains a directory in it, we need to
> > make sure the directory is created (with install -D).
> >
> > This was tested with upstream+downstream TF-A for RK3588, upstream TF-A
> > for RK3399 and PX30.
> >
> > Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
> > ---
> > This is a follow-up to
> > https://lore.kernel.org/yocto-meta-arm/28377373-a3e8-4416-aa7f-488cdfdbcf55@cherry.de/T/#m76f7d4b56849cc28fe80a76953f4e6e61ff0f7cc
> > and
> > https://lore.kernel.org/yocto-patches/dd990ccd-a418-45bc-b708-d3b1fc763ea5@cherry.de/
>
> Forgot to say, but I think you want to branch off a whinlatter branch
> *before* this patch as the meta-arm commit that broke us is only in master
> and not whinlatter.
I broke off a whinlatter branch back in June. I try to create the
release branches once I'm aware of their existence in oe-core rather
than trying to figure out the last possible moment before they need to
be created.
next prev parent reply other threads:[~2026-02-10 5:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-21 17:06 [PATCH meta-rockchip] bsp: fix upstream TF-A deploy desync Quentin Schulz
2026-01-21 17:11 ` Quentin Schulz
2026-02-10 5:35 ` Trevor Woerner [this message]
2026-01-26 14:27 ` Quentin Schulz
2026-02-10 5:36 ` Trevor Woerner
2026-02-10 5:36 ` Trevor Woerner
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=aYrDqzi7UjkIvYuW@localhost.localdomain \
--to=twoerner@gmail.com \
--cc=foss+yocto@0leil.net \
--cc=peter.hoyes@arm.com \
--cc=quentin.schulz@cherry.de \
--cc=yocto-patches@lists.yoctoproject.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.