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 3E76BC6FD20 for ; Fri, 24 Mar 2023 14:44:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0B29B85D8F; Fri, 24 Mar 2023 15:44:37 +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=1679669077; bh=VfymCBq0QaVYbGp2pzDZNXfddzMmgKEGKmqOem1r4t8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ZshJ94czsewQxY2PZp4gGq93bsAGOHSKE7oU0pyBO/OcnH/oKRpEfiMxRHe3TX+eH 2vDUaN8rxACVtXACfBjzsTqHWLxPZ6vn42UjTx1cn3c2Eif5d2BlooYDy1k/E6E/iV Qs1iqQLXJEr0Grxpita/Ss5Hihw3okCQAQ7CqFEo4zKiTXZeWIVMXdtbuGKcLO8KoH YwjbM8VVJSCrfENNGaa2KiqCnuyq0r0oAl1mygdPiGMGRiE1jjbXfF1ganUJVwIHgT AgFpqgISMosPNblc4ohbPU2fCA0b1h1Ocj5eyTuw6Do+Hd57rKZa/ltnTZvlVv9INb rPwv+Ewxj/Tug== Received: by phobos.denx.de (Postfix, from userid 109) id 8ECEA85D9D; Fri, 24 Mar 2023 15:44:34 +0100 (CET) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [IPv6:2001:67c:2050:101:465::107]) (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 1BDE3858D4 for ; Fri, 24 Mar 2023 15:44:32 +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:b231:465::202]) (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-107.mailbox.org (Postfix) with ESMTPS id 4PjlNF6gMdz9sQN; Fri, 24 Mar 2023 15:44:29 +0100 (CET) Message-ID: Date: Fri, 24 Mar 2023 15:44:29 +0100 MIME-Version: 1.0 Subject: Re: [PATCH u-boot-mvebu] tools: kwboot: Document information about NOR XIP Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: u-boot@lists.denx.de References: <20230323200007.5312-1-pali@kernel.org> From: Stefan Roese In-Reply-To: <20230323200007.5312-1-pali@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4PjlNF6gMdz9sQN 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.8 at phobos.denx.de X-Virus-Status: Clean On 3/23/23 21:00, Pali Rohár wrote: > Signed-off-by: Pali Rohár Applied to u-boot-marvell/next Thanks, Stefan > --- > tools/kwboot.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/tools/kwboot.c b/tools/kwboot.c > index 2b92966919da..db917708a8e8 100644 > --- a/tools/kwboot.c > +++ b/tools/kwboot.c > @@ -61,7 +61,9 @@ > * SPI-NOR or parallel-NOR. Despite the type name it really can be stored on > * parallel-NOR and cannot be stored on other SPI devices, like SPI-NAND. > * So it should have been named NOR image, not SPI image. This image type > - * supports XIP - Execute In Place directly from NOR memory. > + * supports XIP - Execute In Place directly from NOR memory. Destination > + * address of the XIP image is set to 0xFFFFFFFF and execute address to the > + * absolute offset in bytes from the beginning of NOR memory. > * > * - IBR_HDR_NAND_ID (0x8B): > * NAND image can be stored either at any 2 MB aligned offset in the first Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de