Skip to contentSkip to conversation

tools: kwboot: Document information about NOR XIP

PATCH In review Pali Rohár 2 participants 3 messages Mar 23, 2023 – Mar 24, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: kwboot: Document information about NOR XIP

---
 tools/kwboot.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
tools/kwboot.c +3 -1
index 2b92966919da..db917708a8e8 100644
@@ -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
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Pali Rohár

Thanks,
Stefan

Quoted 9 lines
---
  tools/kwboot.c | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
tools/kwboot.c +0 -0
index 2b92966919da..db917708a8e8 100644

tools/kwboot.c line 69

Quoted 10 lines
tools/kwboot.c +3 -1
@@ -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

Signature · 3 lines
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: [email protected]
#2 lore raw
In reply to Pali Rohár
Quoted 1 line · Pali Rohár

Applied to u-boot-marvell/next

Thanks,
Stefan

Quoted 9 lines
---
  tools/kwboot.c | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
tools/kwboot.c +0 -0
index 2b92966919da..db917708a8e8 100644

tools/kwboot.c line 69

Quoted 10 lines
tools/kwboot.c +3 -1
@@ -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

Signature · 3 lines
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: [email protected]