Commit 062201e
authored
qcom-minimal-image: disable KERNEL_DEVICETREE when using multi-dtb (qualcomm-linux#176)
When QCOM_DTB_DEFAULT is set to multi-dtb, the DTB is expected to be
provided by the firmware (supporting base dtbs and dtbos), but
uki.bbclass still consumes KERNEL_DEVICETREE during image generation
(enabled via IMAGE_CLASSES), causing an inclusion of all dtbs and dtbos
set by the target machine, invalidating the DTB provided by the firmware
during boot.
Since uki.bbclass relies on KERNEL_DEVICETREE and it can't be modified
without causing side effects at the kernel class and multi-dtb, an
anonymous python snippet is added to the base qcom-distro image recipe,
disabling it when using multi-dtb.
This is a temporary workaround and should be removed once the upstream
proposal [1] gets accepted by upstream.
[1] https://lists.openembedded.org/g/openembedded-core/message/2314361 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments