RTEMS | Generate dtb during build (#5136)
Kinsey Moore (@opticron)
gitlab at rtems.org
Fri Oct 18 16:41:10 UTC 2024
Kinsey Moore created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5136
## Summary
Add an automated device tree handler in YAML to reduce the need for manual intervention when modifying device trees.
### Purpose
Currently, device trees in RTEMS are kept in compiled binary form (.dtb) stored in a C source and header file. The corresponding source form (.dts) is also typically stored nearby. Unfortunately, this means that updating the compiled device tree requires several manual steps.
### Result
The end result of this feature request is that there be a new type of YAML file that contains the Device Tree Source much like the linker script files of "config-file" type. During the build, this will be compiled and converted to the RTEMS-usable C array format with YAML-specified filenames and variable names for use by the build system.
### Usage Examples
Several BSPs already use DTB files converted into C arrays. This includes at least:
* aarch64/xilinx-zynqmp
* aarch64/raspberrypi4
* arm/stm32h7
* arm/imxrt
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5136
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/20241018/afdf9218/attachment.htm>
More information about the bugs
mailing list