mbox series

[v2,0/1] u-boot-tools: drop yaml in DT validation

Message ID 20260429180631.170081-1-joaomarcos.costa@bootlin.com
Headers show
Series u-boot-tools: drop yaml in DT validation | expand

Message

Joao Marcos Costa April 29, 2026, 6:06 p.m. UTC
Hello,

I hope this fixes the DTC build issues once and for all!

Changes since v1:
- The patch was added to SRC_URI_RISCV only, so I replaced it by an append
  straight to SRC_URI

João Marcos Costa (1):
  u-boot-tools: drop yaml in DT validation

 ...ripts-dtc-drop-yaml-in-DT-validation.patch | 85 +++++++++++++++++++
 meta/recipes-bsp/u-boot/u-boot-tools.inc      |  2 +-
 meta/recipes-bsp/u-boot/u-boot_2026.04.bb     |  1 +
 3 files changed, 87 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-bsp/u-boot/files/0001-scripts-dtc-drop-yaml-in-DT-validation.patch

Comments

Joao Marcos Costa April 30, 2026, 9:29 p.m. UTC | #1
Hello, folks

On 4/29/26 20:06, Joao Marcos Costa via lists.openembedded.org wrote:
> Since yamltree was dropped from upstream dtc (i.e., in Linux), a patch was
> sent to U-Boot to backport the corresponding changes.
> 
> Apply this patch in u-boot's sources.
(...)
> +
> +I tested this patch with a couple Yocto builds: u-boot and u-boot-tools,
> +using the current master branch (rev. "c53b0708f9"), having removed
> +libyaml-native from u-boot-tools's dependencies.
> +
> +[1] https://git.kernel.org/linus/ef8795f3f1ce
> +
> +Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com>
> +
> +Upstream-Status: Submitted [https://lore.kernel.org/u-boot/20260429144615.142350-1-joaomarcos.costa@bootlin.com/]
> +---
(...)

Update: the patch was merged into master [1].

[1] 
https://lore.kernel.org/u-boot/177757652458.1689679.13411123339948819206.b4-ty@konsulko.com/