From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7C8CBC433F5 for ; Thu, 17 Feb 2022 09:45:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EBA5B83B83; Thu, 17 Feb 2022 10:45:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="cfTqOO6y"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D3308837B6; Thu, 17 Feb 2022 10:44:49 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8462483B59 for ; Thu, 17 Feb 2022 10:44:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2D383B82120; Thu, 17 Feb 2022 09:44:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B46B0C340E8; Thu, 17 Feb 2022 09:44:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645091061; bh=AkC2t39cD1iTi4zHW5LJNtL+Cn1zVD8EagezBJTUyUg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cfTqOO6yZZkhfWokfp+1nfxahAUSUkS2c3AaC6aSRxzzx6NacimN61C+UFn8PDRHs 2HmY+maOxY59zqHEH6/JgeVIsvxqk+3f6CNHcYS+HHvDju7YptfMVkfcP8PXaVRwPc 4tWTvxy8H08SNtRshKhbBzJzoaQXzahae/Cp4AS2QScl13ERGwnX0yFiFRgejWRzhJ w3gfeMDttzAHLwZB4jJGS/5uIXYgZLaBkU5tJL/tM1UQwxzYe2cgIIesG6+qbUrVOZ Dqzm5b6pvVVZBa5wMQ/mxtlD8WtIBmfKhZX1cHt91SxTASGJ/LZi80wDEfVZtRGaoU QcQMsPE4x/ASA== Received: by pali.im (Postfix) id 6C3E71187; Thu, 17 Feb 2022 10:44:21 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Tony Dinh Cc: u-boot@lists.denx.de Subject: [PATCH u-boot-marvell v2 6/7] tools: kwbimage: Fix help how to extract DDR3 training code Date: Thu, 17 Feb 2022 10:43:39 +0100 Message-Id: <20220217094340.9048-7-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220217094340.9048-1-pali@kernel.org> References: <20220215185925.16060-1-pali@kernel.org> <20220217094340.9048-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean First binary executable header is extracted by '-p 1' argument. Signed-off-by: Pali Rohár Tested-by: Tony Dinh Reviewed-by: Stefan Roese --- 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) 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. 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; } -- 2.20.1