[PATCH v6 1/8] scripts/make_fit: Speed up operation

Chen-Yu Tsai wenst at chromium.org
Tue Dec 2 02:28:42 PST 2025


On Thu, Nov 20, 2025 at 2:14 AM Simon Glass <sjg at chromium.org> wrote:
>
> The kernel is likely at least 16MB so we may as well use that as a step
> size when reallocating space for the FIT in memory. Pack the FIT at the
> end, so there is no wasted space.
>
> This reduces the time to pack by an order of magnitude, or so.

In my case the time spent compressing the blobs seems to be much
larger than the packing portion, so I couldn't really tell if
this made a difference or not.

Despite that,

> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Nicolas Schier <nsc at kernel.org>

Tested-by: Chen-Yu Tsai <wenst at chromium.org>



More information about the linux-arm-kernel mailing list