devicetree-compiler.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Reduce memory usage of FDT utils
@ 2024-09-24 14:50 Andreas Gnau
  2024-09-24 14:50 ` [PATCH v1 1/2] util: Only read files until fdt_totalsize Andreas Gnau
  2024-09-24 14:50 ` [PATCH v1 2/2] util: Once size is known, allocate fdt_totalsize Andreas Gnau
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Gnau @ 2024-09-24 14:50 UTC (permalink / raw)
  To: devicetree-compiler; +Cc: andreas.gnau

This patch series reduces the memory usage of fdt{get,put,dump} and
related tools. This is especially relevant when using the utilities on
embedded devices to process FIT images, where the actual image payload
is stored behind the FDT blob in the same file.

The first patch optimises how much is read from the file, while the
second patch optimises the allocation strategy.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-25  2:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-24 14:50 [PATCH v1 0/2] Reduce memory usage of FDT utils Andreas Gnau
2024-09-24 14:50 ` [PATCH v1 1/2] util: Only read files until fdt_totalsize Andreas Gnau
2024-09-25  2:04   ` David Gibson
2024-09-24 14:50 ` [PATCH v1 2/2] util: Once size is known, allocate fdt_totalsize Andreas Gnau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).