From: "Kavinaya S" <kavinaya@qti.qualcomm.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v3 0/1] Add support for custom compatible string via optional parameter
Date: Mon, 29 Sep 2025 09:54:38 -0700 [thread overview]
Message-ID: <22989.1759164878731751541@lists.openembedded.org> (raw)
In-Reply-To: <CAA_5yos1jzc55U=Ct4NSt9B+Mf_ES8yx0YKSrSYu9N94oTHc2w@mail.gmail.com>
Hi Ricardo,
I’ve implemented this change by adding a custom compatible string for one specific DTB in my machine.conf:
FIT_DTB_COMPATIBLE_OVERRIDE:qcs6490-rb3gen2-vision-mezzanine.dtb = "qcom,qcs6490-rb-subtype5"
For qcs6490-rb3gen2.dtb, I have not defined any override, so it continues to use the compatible string extracted from the DTB itself.
As a result, the ITS configuration section looks like this:
configurations {
default = "conf-qcs6490-rb3gen2.dtb";
conf-qcs6490-rb3gen2.dtb {
description = "1 Linux kernel, FDT blob";
kernel = "kernel-1";
fdt = "fdt-qcs6490-rb3gen2.dtb";
compatible = "qcom,qcs6490-rb3gen2", "qcom,qcm6490";
hash-1 {
algo = "sha256";
};
};
conf-qcs6490-rb3gen2-vision-mezzanine.dtb {
description = "0 Linux kernel, FDT blob";
kernel = "kernel-1";
fdt = "fdt-qcs6490-rb3gen2-vision-mezzanine.dtb";
compatible = "qcom,qcs6490-rb-subtype5";
hash-1 {
algo = "sha256";
};
};
}
This demonstrates how the override works:
If an override is defined in machine.conf, the FIT generator uses that value.
If no override is provided, it falls back to the compatible string from the DTB.
Thanks,
Kavinaya
next prev parent reply other threads:[~2025-09-29 16:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-29 16:12 [PATCH v3 0/1] Add support for custom compatible string via optional parameter Kavinaya S
2025-09-29 16:12 ` [PATCH v3 1/1] fitimage: " Kavinaya S
2025-09-29 17:00 ` Alexander Kanavin
2025-09-30 6:11 ` Kavinaya S
2025-09-29 16:42 ` [OE-core] [PATCH v3 0/1] " Ricardo de Araujo (Salveti)
2025-09-29 16:54 ` Kavinaya S [this message]
2025-10-05 22:39 ` Dmitry Baryshkov
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=22989.1759164878731751541@lists.openembedded.org \
--to=kavinaya@qti.qualcomm.com \
--cc=openembedded-core@lists.openembedded.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.