[PATCH] imxtract: specify max gunzip size

Simon Glass sjg at chromium.org
Fri Dec 16 19:34:31 CET 2022


Hi Nikita,

On Thu, 15 Dec 2022 at 23:03, Nikita Shubin <nikita.shubin at maquefel.me> wrote:
>
> From: Nikita Shubin <n.shubin at yadro.com>
>
> Specify max gunzip size from config to override SYS_XIMG_LEN
> default value wich is 0x800000.
>
> Signed-off-by: Nikita Shubin <n.shubin at yadro.com>
> ---
>  cmd/Kconfig | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index d93731f2af6..06e200802d1 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -481,6 +481,13 @@ config CMD_XXD
>         help
>           Print file as hexdump to standard output
>
> +config SYS_XIMG_LEN
> +       hex "imxtract max gunzip size"
> +       default 0x800000
> +       depends on CMD_XIMG
> +       help
> +         Specify max gunzip size for imxtract tool.

Can you expand what this means? Is it the compress or decompressed
size? What is the impact of having it too big or too small? Help for
Kconfig options should be at least 4 lines of text. If you use patman
you should see a warning about that.

> +
>  config CMD_SPL
>         bool "spl export - Export boot information for Falcon boot"
>         depends on SPL
> --
> 2.37.4
>

Regards,
Simon


More information about the U-Boot mailing list