[PATCH 2/2] mkimage: allow internalization of data-position

Simon Glass sjg at chromium.org
Wed Oct 4 04:11:09 CEST 2023


On Mon, 2 Oct 2023 at 02:01, Lars Feyaerts <lars at bitbiz.be> wrote:
>
> Make it possible for data that was externalized using a static external
> position (-p) to be internalized. Enables the ability to convert
> existing FIT images built with -p to be converted to a FIT image where the
> data is internal, to be converted to a FIT image where the data is
> external relative to the end of the FIT (-E) or change the initial
> static external position to a different static external position (-p).
>
> Removing the original external-data-related properties ensures that
> they're not present after conversion. Without this, they would still be
> present in the resulting FIT even if the FIT has been, for example,
> internalized.
>
> Signed-off-by: Lars Feyaerts <lars at bitbiz.be>
> ---
>
>  doc/mkimage.1     | 19 +++++++++++++++++++
>  tools/fit_image.c | 26 +++++++++++++++++++++-----
>  2 files changed, 40 insertions(+), 5 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list