Re: Rust library?

Rob Herring <[email protected]> Fri, 5 Dec 2025 16:29:25 -0600
Newsgroups org.kernel.vger.devicetree-compiler
Message-ID <CAL_JsqK=hVka9Qc53T3mtkEpsa_z7mVb1x-fdMazayj3eCWAEQ@mail.gmail.com>
On Thu, Nov 20, 2025 at 4:10 PM Simon Glass <[email protected]> wrote:
>
> Hi,
>
> Does anyone know of a good / official Rust library for libfdt?
>
> If not, this one[1] seems somewhat sane, although a bit limited. Would
> it make sense to try to create an 'official' version based on that? It
> would need quite a bit of work as it only supports reading.

No changes in 3 years, but 500k downloads. Seems like a lot.

> Any advice or thoughts are welcome!

You might check what the TF-A folks are doing. There's an effort to
re-write it in Rust and it depends on libfdt (I think).

Rob