[PATCH u-boot-marvell v2 6/7] tools: kwbimage: Fix help how to extract DDR3 training code

Pali Rohár pali at kernel.org
Thu Feb 17 10:43:39 CET 2022

First binary executable header is extracted by '-p 1' argument.

Signed-off-by: Pali Rohár <pali at kernel.org>
Tested-by: Tony Dinh <mibodhi at gmail.com>
Reviewed-by: Stefan Roese <sr at denx.de>
 tools/kwbimage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index bf8ab0f19251..f270dcf242b6 100644
--- a/tools/kwbimage.c
+++ b/tools/kwbimage.c
@@ -1115,7 +1115,7 @@ static size_t image_headersz_v1(int *hasext)
 				"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. Use 'dumpimage -T kwbimage -p 0' to extract it from an existing image.\n",
+				"image for your board. Use 'dumpimage -T kwbimage -p 1' to extract it from an existing image.\n",
 				e->binary.file, dir);
 			return 0;

More information about the U-Boot mailing list