Skip to contentSkip to conversation

DTC 1.8.0 released

DISCUSSION David Gibson 1 participant 2 messages May 26

lore
Share & tools
lore
#0 lore raw

DTC 1.8.0

Changes since v1.7.2 include:
* dtc
- Add informative error for stray identifiers (e.g. unexpanded macros)
- Better decompiling of plugins
- Restore labels from __symbols__ node when possible
- Restore phandle references from __local_fixups__ and __fixups__ when possible
- Improve type guessing when compiling to dts format
- Add only new data to fixup nodes instead of complete regeneration

* libfdt
- Add fdt_setprop_namelen() and fdt_setprop_namelen_string()
- Add fdt_get_property_namelen_w()
- Add fdt_find_string_len_()
- Introduce fdt_downgrade_version()
- Verify alignment of sub-blocks in dtb
- Handle FDT_NOP tags before FDT_END in fdt_check_full()
- Document most remaining functions in libfdt.h
- Standardise "returns:" annotation in documentation

* checks
- Warn about missing #address-cells for interrupt parents
- Relax avoid_unnecessary_addr_size to allow child ranges properties
- Fix detection of 'i2c-bus' child node
- Remove check for graph child addresses (redundant with schema validation)
- Do not check overlays for alias paths

* fdtdump
- Remove overly strict dtb version check

* pylibfdt
- Fix backwards compatibility of return values with SWIG v4.3
- Port python bindings to build natively via meson and meson-python

* Build
- Deprecate Makefile in favor of Meson
- Support building libfdt without static library
- Don't build test programs by default
- Fix -Dtools=false build
- Add FreeBSD and non-GNU linker compatibility

* CI
- Add macOS build to GitHub Actions
- Add Cirrus CI for FreeBSD testing
- Add GitLab CI for Linux builds
- Update GitHub Actions ubuntu runner to 24.04
- Skip swig install for mingw32 Windows build

* Tests
- Add compatibility with uutils (Rust coreutils)
- Mark .so from asm output as non-executable stack (glibc-2.41 compat)

* General
- Consider drive letters when checking absolute paths on Windows
- Add AI contribution guidelines
- Assorted bugfixes and cleanups
- Add clang-format config
- Add SBOM file in CycloneDX format

Signature · 4 lines
David Gibson (he or they)	| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you, not the other way
				| around.
http://www.ozlabs.org/~dgibson
#1 lore raw
Quoted 66 lines · David Gibson

DTC 1.8.0

Changes since v1.7.2 include:
* dtc
- Add informative error for stray identifiers (e.g. unexpanded macros)
- Better decompiling of plugins
- Restore labels from __symbols__ node when possible
- Restore phandle references from __local_fixups__ and __fixups__ when possible
- Improve type guessing when compiling to dts format
- Add only new data to fixup nodes instead of complete regeneration

* libfdt
- Add fdt_setprop_namelen() and fdt_setprop_namelen_string()
- Add fdt_get_property_namelen_w()
- Add fdt_find_string_len_()
- Introduce fdt_downgrade_version()
- Verify alignment of sub-blocks in dtb
- Handle FDT_NOP tags before FDT_END in fdt_check_full()
- Document most remaining functions in libfdt.h
- Standardise "returns:" annotation in documentation

* checks
- Warn about missing #address-cells for interrupt parents
- Relax avoid_unnecessary_addr_size to allow child ranges properties
- Fix detection of 'i2c-bus' child node
- Remove check for graph child addresses (redundant with schema validation)
- Do not check overlays for alias paths

* fdtdump
- Remove overly strict dtb version check

* pylibfdt
- Fix backwards compatibility of return values with SWIG v4.3
- Port python bindings to build natively via meson and meson-python

* Build
- Deprecate Makefile in favor of Meson
- Support building libfdt without static library
- Don't build test programs by default
- Fix -Dtools=false build
- Add FreeBSD and non-GNU linker compatibility

* CI
- Add macOS build to GitHub Actions
- Add Cirrus CI for FreeBSD testing
- Add GitLab CI for Linux builds
- Update GitHub Actions ubuntu runner to 24.04
- Skip swig install for mingw32 Windows build

* Tests
- Add compatibility with uutils (Rust coreutils)
- Mark .so from asm output as non-executable stack (glibc-2.41 compat)

* General
- Consider drive letters when checking absolute paths on Windows
- Add AI contribution guidelines
- Assorted bugfixes and cleanups
- Add clang-format config
- Add SBOM file in CycloneDX format

Signature · 4 lines
David Gibson (he or they)	| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you, not the other way
				| around.
http://www.ozlabs.org/~dgibson
Signature · 4 lines
David Gibson (he or they)	| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you, not the other way
				| around.
http://www.ozlabs.org/~dgibson