RTEMS | rtems-fdt: refactor rtems_fdt_load to separate gzip (!1286)
Gedare Bloom (@gedare)
gitlab at rtems.org
Thu Jun 4 14:54:09 UTC 2026
Gedare Bloom commented on a discussion on cpukit/include/rtems/rtems-fdt.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1286#note_151835
> + * chain of blobs.
> + *
> + * @param filename The name of the raw blob file to load.
> + * @param handle The handle returns the reference to the blob once load.
> + * @return int If less than 0 an error code else successful.
> + *
> + * @see rtems_fdt_load
> + */
> +int rtems_fdt_load_blob_file_binary(
> + const char *filename,
> + rtems_fdt_handle *handle
> +);
> +
> +/**
> + * @brief Loads a gzip compressed DTB file int memory and registers it on the
> + * chain of blobs.
I changed `rtems_fdt_load()` so that it will serially try each file format, while the direct `load_gzip` version will return an error if the file is not a gzip file.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1286#note_151835
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/20260604/2cd302f3/attachment-0001.htm>
More information about the bugs
mailing list