On 6/18/26 8:25 AM, Mathieu Dubois-Briand wrote:
On Tue Jun 16, 2026 at 11:49 PM CEST, Marek Vasut via lists.openembedded.org 
wrote:
In the case KERNEL_DTBVENDORED = "1" , the fitImage configuration
subnode names used to contain the vendor prefix in OE 5.0 , e.g.:
"
$ mkimage  -l fitImage
...
  Configuration 0 (conf-freescale_imx8mn-board.dtb)
                        ^^^^^^^^^^
...
"

With OE 6.0 this is no longer the case and KERNEL_DTBVENDORED = "1"
and KERNEL_DTBVENDORED = "0" behave exactly the same way:
"
$ mkimage  -l fitImage
...
  Configuration 0 (conf-imx8mn-board.dtb)
...
"

Users depend on the correct configuration subnode names as those
are used in the U-Boot "bootm" command when booting fitImages.

Fix this by converting each entry in the KERNEL_DEVICETREE list
into the configuration subnode name by replacing all of its path
separators with underscores.

Fixes: 05d0c7342d76 ("kernel-fit-image.bbclass: add a new FIT image 
implementation")
Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Adrian Freihofer <[email protected]>
Cc: Richard Purdie <[email protected]>
Cc: Yoann Congal <[email protected]>
---
NOTE: This should ideally be added into OE 6.0 too
---

Hi Marek,

Thanks for your patch.

It looks like this is breaking the
fitimage.KernelFitImageRecipeTests.test_fit_image_ext_dtb_dtbo selftest:

2026-06-17 18:15:46,751 - oe-selftest - INFO - 
fitimage.KernelFitImageRecipeTests.test_fit_image_ext_dtb_dtbo 
(subunit.RemotedTestCase)
2026-06-17 18:15:46,752 - oe-selftest - INFO -  ... FAIL
I think the oe selftest fails because KERNEL_DTBVENDORED is undefined, I inverted the conditional to handle that case and sent a V2, locally the oe selftest for fitImage now passes. Thanks !
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#239100): 
https://lists.openembedded.org/g/openembedded-core/message/239100
Mute This Topic: https://lists.openembedded.org/mt/119842066/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to