RTEMS | rtems-fdt API could handle endianness (#5601)

Gedare Bloom (@gedare) gitlab at rtems.org
Mon Jun 1 22:17:16 UTC 2026



Gedare Bloom created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5601

Assignee: Gedare Bloom

## Summary

The RTEMS FDT is a wrapping API for `libfdt` and currently it is mostly a fairly thin wrapper. However, we could make the RTEMS FDT handle the endianness encoding/decoding for translating values back and forth between the user and the `libfdt`.

### Purpose
<!--
Why do you specifically need this feature and how would it be useful for others
-->

Currently a user has to know to call the endianness conversion functions if they have/need values in little-endian format, because the FDT format is big-endian. By hiding the endianness conversion within the RTEMS API we can greatly simplify the application (and BSP) logic for working with FDTs.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5601
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260601/4e5be874/attachment-0001.htm>


More information about the bugs mailing list