[PATCH u-boot-mvebu v2 41/41] kwbimage: Update help message about how to extract from an existing image

Stefan Roese sr at denx.de
Thu Jul 22 10:56:03 CEST 2021


On 19.07.21 14:21, Marek Behún wrote:
> From: Pali Rohár <pali at kernel.org>
> 
> Extracting is now supported by dumpimage, so mention it in help instead
> of `kwbimage -x`.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>
> Reviewed-by: Marek Behún <marek.behun at nic.cz>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   tools/kwbimage.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/kwbimage.c b/tools/kwbimage.c
> index 5665198db0..00cb338d64 100644
> --- a/tools/kwbimage.c
> +++ b/tools/kwbimage.c
> @@ -961,7 +961,7 @@ static size_t image_headersz_v1(int *hasext)
>   			fprintf(stderr,
>   				"Didn't find the file '%s' in '%s' which is mandatory to generate the image\n"
>   				"This file generally contains the DDR3 training code, and should be extracted from an existing bootable\n"
> -				"image for your board. See 'kwbimage -x' to extract it from an existing image.\n",
> +				"image for your board. Use 'dumpimage -T kwbimage -p 0' to extract it from an existing image.\n",
>   				binarye->binary.file, dir);
>   			return 0;
>   		}
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list