[PATCH v2 0/5] finish using .dtso for overlay source files

Rasmus Villemoes rasmus.villemoes at prevas.dk
Wed Jul 10 09:16:07 CEST 2024


This is a followup to the patches that landed in 2024.01 and nearly
made sure that source files for producing .dtbo files use the .dtso
extension. In the same release, a few new .dts files snuck in, and
there was also some test code involving .dtbo -> .dtbo.S -> .dtbo.o I
didn't really know how to handle at the time. This should finish the
job, bring us in sync with linux (at least in this respect), and drop
the .dts -> .dtbo build rule.

Patch 3 depends on 2, and patch 5 depends on the rest.

v2: Fix oversight in the imx8mp-dhcom files.

Now actually tested on CI, and seems to pass except for the known
cyclic false positive:

https://dev.azure.com/u-boot/u-boot/_build/results?buildId=8897&view=logs&jobId=a1270dec-081b-5c65-5cd5-5e915a842596


Rasmus Villemoes (5):
  arm64: dts: imx8mp: rename DHCOM SoM overlays to .dtso
  kbuild: Allow DTB overlays to built into .dtbo.S files
  test: overlay: rename overlay source files to .dtso
  test/py: efi_capsule: rename device tree overlay source to .dtso
  kbuild: Disallow DTB overlays to built from .dts named source files

 ...> imx8mp-dhcom-pdk-overlay-eth2xfast.dtso} |  0
 ... => imx8mp-dhcom-pdk3-overlay-rev100.dtso} |  0
 ...> imx8mp-dhcom-som-overlay-eth1xfast.dtso} |  0
 ...> imx8mp-dhcom-som-overlay-eth2xfast.dtso} |  2 +-
 ...s => imx8mp-dhcom-som-overlay-rev100.dtso} |  0
 scripts/Makefile.lib                          | 23 +++++++++++++++----
 test/overlay/Makefile                         |  4 ++--
 test/overlay/cmd_ut_overlay.c                 |  8 +++----
 ...cked.dts => test-fdt-overlay-stacked.dtso} |  0
 ...-fdt-overlay.dts => test-fdt-overlay.dtso} |  0
 test/py/tests/test_efi_capsule/conftest.py    |  6 ++---
 .../{version.dts => version.dtso}             |  0
 12 files changed, 29 insertions(+), 14 deletions(-)
 rename arch/arm/dts/{imx8mp-dhcom-pdk-overlay-eth2xfast.dts => imx8mp-dhcom-pdk-overlay-eth2xfast.dtso} (100%)
 rename arch/arm/dts/{imx8mp-dhcom-pdk3-overlay-rev100.dts => imx8mp-dhcom-pdk3-overlay-rev100.dtso} (100%)
 rename arch/arm/dts/{imx8mp-dhcom-som-overlay-eth1xfast.dts => imx8mp-dhcom-som-overlay-eth1xfast.dtso} (100%)
 rename arch/arm/dts/{imx8mp-dhcom-som-overlay-eth2xfast.dts => imx8mp-dhcom-som-overlay-eth2xfast.dtso} (91%)
 rename arch/arm/dts/{imx8mp-dhcom-som-overlay-rev100.dts => imx8mp-dhcom-som-overlay-rev100.dtso} (100%)
 rename test/overlay/{test-fdt-overlay-stacked.dts => test-fdt-overlay-stacked.dtso} (100%)
 rename test/overlay/{test-fdt-overlay.dts => test-fdt-overlay.dtso} (100%)
 rename test/py/tests/test_efi_capsule/{version.dts => version.dtso} (100%)

-- 
2.45.2



More information about the U-Boot mailing list