On 2026-10-03, Vagrant Cascadian wrote:
> On 2026-09-29, Santiago Vila wrote:
>>   cp u-boot-nodtb.bin u-boot.bin
>>   powerpc-linux-gnu-objdump -t u-boot > u-boot.sym
>> make -f /<<PKGBUILDDIR>>/scripts/Makefile.build obj=dts dtbs
>> make -f /<<PKGBUILDDIR>>/scripts/Makefile.build obj=arch/powerpc/dts dtbs
>>   mkdir -p arch/powerpc/dts/ ; (cat /<<PKGBUILDDIR>>/arch/po 
>> [too-long-redacted] powerpc/dts/.qemu-ppce500.dtb.d
>> FATAL ERROR: Unrecognized check name "graph_child_address"
>
> device-tree-compiler upstream 1.8.0 droped support for this check in
> commit cba90ce82064ad1e6d25f20d8eaa940bd2fc97ed and device-tree-compiler
> was updated in unstable to 1.8.1 from 1.7.x in August.
>
> Hunting for a fix or workaround...

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 122c8e78204..ef45e59132d 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -354,10 +354,10 @@ DTC_FLAGS += -Wno-interrupt_provider
 # Disable noisy checks by default
 ifeq ($(findstring 1,$(KBUILD_EXTRA_WARN)),)
 DTC_FLAGS += -Wno-unit_address_vs_reg \
+       -Eno-node_name_not_empty \
        -Wno-unit_address_format \
        -Wno-avoid_unnecessary_addr_size \
        -Wno-alias_paths \
-       -Wno-graph_child_address \
        -Wno-simple_bus_reg \
        -Wno-unique_unit_address \
        -Wno-pci_device_reg

This is enough to get it past the reported issue (at least for arch:all
and arch:amd64).

There are some other issues for arm64 and riscv64, and for those I am
thinking best to get up-to-date with upstream u-boot (2026.10 is
scheduled to release in a few days).

live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to