[PATCH] bsps: Provide <bsp/fdt.h> for every BSP

Chris Johns chrisj at rtems.org
Tue Mar 7 21:22:44 UTC 2017

On 08/03/2017 01:45, Gedare Bloom wrote:
> Thanks for the context. I know Chris did some earlier work with FDT (I
> think for Zynq), so it will be good to wait for him to provide some
> feedback.

I have RTEMS specific support functions which wrap the base FDT 
interfaces to make it simpler to use in applications when interfacing to 
hardware. Included is an fdt command to list (ls), read (rd) and write 
(wr) plus some utility functions like polling for a bitmask to be valid. 
The command is a useful tool when integrating software for hardware 
described in the FDT or just debugging new hardware, for example FPGA 
register sets. I have seen hundreds of #joel scripts in the past few 
years. The work also includes a faster search of the blob when then are 
thousands of entries.

I just need time to get the work included in RTEMS with tests.


More information about the devel mailing list