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 AC045C433F5 for ; Tue, 15 Feb 2022 19:00:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1A459838F0; Tue, 15 Feb 2022 20:00:26 +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="rT0Nh0Ch"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0DF7281DDF; Tue, 15 Feb 2022 19:59:59 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (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 E9FD183A35 for ; Tue, 15 Feb 2022 19:59:47 +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 dfw.source.kernel.org (Postfix) with ESMTPS id A3B8F61743; Tue, 15 Feb 2022 18:59:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5762FC340EB; Tue, 15 Feb 2022 18:59:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644951586; bh=aG6Oa8E+itbpMjxT4ZMTQxyA3vPPr01Aq35pQfqUibg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rT0Nh0Ch+ygKfMjdZ8ffFQVX15pENZccj0AvSrNNvJBMHgTFuS0hiENuQs2rRpWct Sorty0GiX5ttUjUQ9yR3C3F4NVjviydr7wGCbwM8lAMiUOsm/7HFJCO8XxGtmXWWMX FEhY8EZvC+Tgqjcyl6Wmhpfa7844aqpZhE9tBAntMVXy8CzUgBN8AhARgU+yYUJseM nJRhliQ21qhDgOxvtHSM/lBo5pikpflYzEPY0Myp0+QONn4Fu9ZgoNngHYhroUa0UL /tMiOuT6kg3i5Tko1q7mo0loFqGxUzQLBKGXs4VX27+M/3G/iYkO2MyVmNS/jiyLHY MoJvO4n8YU/3A== Received: by pali.im (Postfix) id 1126BF13; Tue, 15 Feb 2022 19:59:46 +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 6/7] tools: kwbimage: Fix help how to extract DDR3 training code Date: Tue, 15 Feb 2022 19:59:24 +0100 Message-Id: <20220215185925.16060-7-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220215185925.16060-1-pali@kernel.org> References: <20220215185925.16060-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 --- tools/kwbimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kwbimage.c b/tools/kwbimage.c index e455c10dc744..d82f04bea7c3 100644 --- a/tools/kwbimage.c +++ b/tools/kwbimage.c @@ -1102,7 +1102,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