Re: Libre Computer Issues with NetBSD 10

Martin Husemann <[email protected]> Thu, 17 Jul 2025 07:31:05 +0200
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
On Wed, Jul 16, 2025 at 02:29:04PM -0400, Derrick Granowski wrote:
> If you can point me to anything in particular, around manipulating DTB,
> DTS, and FDT things, I can probably start figuring it out.
> I don't even know what those acronyms expand to at the moment.

FDT = flattened device tree, which (at least in my understanding) is
      the poor devices version of Open Firmware properties (for poor
      devices that don't come with them all inside the main firmware)

DTS = device tree source, the input language from which the main parts
      are compiled

DTB = device tree binary, the compiled form

If you have used build.sh to build your e.g. evbarm binaries you
will have the device tree compiler as $TOOLDIR/bin/nbdtc and it
can turn a dts into a dtb but also a dtb into a dts - and then you
can use diff on the results.

I think there are also special FDT diff tools available, but haven't used
them myself.

Martin