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

From: Chen-Yu Tsai

Date: Tue Dec 02 2025 - 05:29:05 EST


On Thu, Nov 20, 2025 at 2:14 AM Simon Glass <sjg@xxxxxxxxxxxx> 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@xxxxxxxxxxxx>
> Reviewed-by: Nicolas Schier <nsc@xxxxxxxxxx>

Tested-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>