From: "Yoann Congal" <yoann.congal@smile.fr>
To: "Paul Barker" <paul@pbarker.dev>,
<openembedded-core@lists.openembedded.org>
Cc: "Ryan Eatmon" <reatmon@ti.com>
Subject: Re: [OE-core][wrynose 05/17] kernel-fit-image: Add KERNEL_DTBVENDORED support for FIT_CONF_DEFAULT_DTB
Date: Mon, 20 Jul 2026 17:15:01 +0200 [thread overview]
Message-ID: <DK3HWGV0JCOP.14DJEFKWLP67L@smile.fr> (raw)
In-Reply-To: <c791b1b82e236039c614ab41402844c965fdc6c5.camel@pbarker.dev>
On Mon Jul 20, 2026 at 9:39 AM CEST, Paul Barker wrote:
> On Sat, 2026-07-18 at 10:52 +0200, Yoann Congal wrote:
>> From: Ryan Eatmon <reatmon@ti.com>
>>
>> When specifying a FIT_CONF_DEFAULT_DTB for a machine, you have to
>> exactly align the name with what will be in the fitImage file or you
>> will get a build error. If you also turn on KERNEL_DTBVENDORED then you
>> must also specify the vendor directory as part of the dtb name that you
>> want for the default, but you must manually do the same mapping that the
>> kernel-fit-image class is doing when it generates the fit-image.its file.
>>
>> This patch just adds the same logic to figure out the value for the
>> requested default dtb and eliminate the need to understand the internal
>> mapping of the class. It should make specifying the value more
>> intuitive. The same value that you put in the KERNEL_DEVICETREE can be
>> used in the FIT_CONF_DEFAULT_DTB and the new code will correctly honor
>> the KERNEL_DTBVENDORED setting.
>>
>> Before:
>>
>> KERNEL_DEVICETREE = "
>> ti/k3-am62p5-sk.dtb \
>> ... \
>> "
>> FIT_CONF_DEFAULT_DTB = "ti_k3-am62p5-sk.dtb"
>>
>> After:
>>
>> KERNEL_DEVICETREE = "
>> ti/k3-am62p5-sk.dtb \
>> ... \
>> "
>> FIT_CONF_DEFAULT_DTB = "ti/k3-am62p5-sk.dtb"
>>
>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>> (cherry picked from commit 3bceb2dabeee13c0a80ddd74ea7ae991606d6772)
>> Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
>
> Hi Yoann,
>
> This looks like an enhancement rather than a bug fix. If there is a
> strong reason to backport it though we could take it as it's small, self
> contained and not invasive.
I interpreted the mismatch between KERNEL_DEVICETREE and
FIT_CONF_DEFAULT_DTB as a bug to solve.
But one could argue that each variable has its syntax, a bit weird but
not worthy of a stable fix.
I still think this is worth fixing though.
>
> Does the previous syntax (FIT_CONF_DEFAULT_DTB = "ti_k3-am62p5-sk.dtb")
> still work after this patch?
As I read it, the patch only add a .replace('/', '_') (when
KERNEL_DTBVENDORED="1") so the old syntax should be preserved.
> If we do take this, should we take the accompanying test case [1]?
>
> [1]: https://lore.kernel.org/openembedded-core/20260706221933.4026508-2-reatmon@ti.com/
Yes, Ryan suggested it but it was not yet merged when I reviewed it.
Now it has merged, I think I should hold the series:
* oe-selftest: fitimage: Do not expect kernel property in DTBO config subnodes
* kernel-fit-image.bbclass: Do not include kernel property in DTBO config subnodes
* kernel-fit-image.bbclass: Fix operation with KERNEL_DTBVENDORED = "1"
* kernel-fit-image: Add KERNEL_DTBVENDORED support for FIT_CONF_DEFAULT_DTB
... until next wrynose review cycle, and add
* de2e11e6362 - oe-selftest: fitimage: Add tests for KERNEL_DTBVENDORED
from master to test it.
Thanks!
--
Yoann Congal
Smile ECS
next prev parent reply other threads:[~2026-07-20 15:15 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-18 8:52 [OE-core][wrynose 00/17] Patch review Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 01/17] scripts/install-buildtools: Update to 6.0.2 Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 02/17] oe-selftest: fitimage: Do not expect kernel property in DTBO config subnodes Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 03/17] kernel-fit-image.bbclass: Do not include " Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 04/17] kernel-fit-image.bbclass: Fix operation with KERNEL_DTBVENDORED = "1" Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 05/17] kernel-fit-image: Add KERNEL_DTBVENDORED support for FIT_CONF_DEFAULT_DTB Yoann Congal
2026-07-20 7:39 ` Paul Barker
2026-07-20 15:15 ` Yoann Congal [this message]
2026-07-20 15:30 ` Yoann Congal
2026-07-20 17:11 ` Freihofer, Adrian
2026-07-20 17:12 ` Freihofer, Adrian
2026-07-20 17:12 ` Freihofer, Adrian
2026-07-18 8:52 ` [OE-core][wrynose 06/17] gzip: fix CVE-2026-41992 Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 07/17] tzdata/tzcode-native: upgrade 2026b -> 2026c Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 08/17] util-linux: fix CVE-2026-13595 Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 09/17] bzip2: Fix CVE-2026-42250 Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 10/17] u-boot: re-enable RISC-V compressed (c) ISA extension Yoann Congal
2026-07-20 7:48 ` Paul Barker
2026-07-20 12:05 ` Gustavo Nihei
2026-07-20 12:07 ` Yoann Congal
2026-07-20 13:01 ` Gustavo Nihei
2026-07-18 8:52 ` [OE-core][wrynose 11/17] go: upgrade 1.26.4 -> 1.26.5 Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 12/17] vex: remove obsolete semicolon Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 13/17] rootfs: move tasks using image_list_installed_packages to postuninstall Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 14/17] flac: fix buildpaths with doxygen enabled Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 15/17] flac: make documentation build deterministic Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 16/17] wic: upgrade 0.3.0 -> 0.3.1 Yoann Congal
2026-07-18 8:52 ` [OE-core][wrynose 17/17] openssh: set status for CVE-2026-3497 Yoann Congal
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=DK3HWGV0JCOP.14DJEFKWLP67L@smile.fr \
--to=yoann.congal@smile.fr \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul@pbarker.dev \
--cc=reatmon@ti.com \
/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