public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH u-boot-mvebu] tools: kwboot: Document information about NOR XIP
@ 2023-03-23 20:00 Pali Rohár
  2023-03-24  8:21 ` Stefan Roese
  2023-03-24 14:44 ` Stefan Roese
  0 siblings, 2 replies; 3+ messages in thread
From: Pali Rohár @ 2023-03-23 20:00 UTC (permalink / raw)
  To: Stefan Roese; +Cc: u-boot

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 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
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH u-boot-mvebu] tools: kwboot: Document information about NOR XIP
  2023-03-23 20:00 [PATCH u-boot-mvebu] tools: kwboot: Document information about NOR XIP Pali Rohár
@ 2023-03-24  8:21 ` Stefan Roese
  2023-03-24 14:44 ` Stefan Roese
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2023-03-24  8:21 UTC (permalink / raw)
  To: Pali Rohár; +Cc: u-boot

On 3/23/23 21:00, Pali Rohár wrote:
> Signed-off-by: Pali Rohár <pali@kernel.org>

Reviewed-by: Stefan Roese <sr@denx.de>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH u-boot-mvebu] tools: kwboot: Document information about NOR XIP
  2023-03-23 20:00 [PATCH u-boot-mvebu] tools: kwboot: Document information about NOR XIP Pali Rohár
  2023-03-24  8:21 ` Stefan Roese
@ 2023-03-24 14:44 ` Stefan Roese
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2023-03-24 14:44 UTC (permalink / raw)
  To: Pali Rohár; +Cc: u-boot

On 3/23/23 21:00, Pali Rohár wrote:
> Signed-off-by: Pali Rohár <pali@kernel.org>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-24 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-23 20:00 [PATCH u-boot-mvebu] tools: kwboot: Document information about NOR XIP Pali Rohár
2023-03-24  8:21 ` Stefan Roese
2023-03-24 14:44 ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox