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 84108C433F5 for ; Wed, 16 Feb 2022 09:49:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7881383A5C; Wed, 16 Feb 2022 10:49:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1645004970; bh=F6/XPL7nXeeliKs8DA3gcwqbyBG6g3Dggiu4V8CfCpc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=R7A11gEsntzJNaCbybU28gmSUoBHjAKgTWoXDNd4J6pyW9LjJnspmH8lLZXng+tJq Sp573/Awsnx0O6FNI0shvYhX8gsTL52H0AiySnly97K8oMvv/GiF73okj+sIhpgFea 4gr87RB8AkHV22YU7EveTVeb+8FMJgeyFMHrmTcXpQOmgEOiHpc780iJt5iGXQ3Qux xDOVUv6i9MrWrudWfAPGuMPF9j61Kp/76ElteLxKzzQB8XNI4zHAwba/hfsqxrwvOQ E/MowDrvOjXhHEFOscBbUhhcRkXE9CtEnFEU7n+XTjjtSkZvnbcnUJlQgnR0u/BAA9 KpbeAsL+Vh+/w== Received: by phobos.denx.de (Postfix, from userid 109) id 25F5D83A63; Wed, 16 Feb 2022 10:49:27 +0100 (CET) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [91.198.250.253]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4CF9683A5A for ; Wed, 16 Feb 2022 10:49:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:105:465:1:4:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4JzCpn5hKfz9sTp; Wed, 16 Feb 2022 10:49:21 +0100 (CET) Message-ID: Date: Wed, 16 Feb 2022 10:49:17 +0100 MIME-Version: 1.0 Subject: Re: [PATCH u-boot-marvell 6/7] tools: kwbimage: Fix help how to extract DDR3 training code Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , =?UTF-8?Q?Marek_Beh=c3=ban?= , Tony Dinh Cc: u-boot@lists.denx.de References: <20220215185925.16060-1-pali@kernel.org> <20220215185925.16060-7-pali@kernel.org> From: Stefan Roese In-Reply-To: <20220215185925.16060-7-pali@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed 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 On 2/15/22 19:59, Pali Rohár wrote: > First binary executable header is extracted by '-p 1' argument. > > Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan > --- > 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; > } Viele Grüße, Stefan Roese -- 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@denx.de