Skip to contentSkip to conversation

doc: Fix fw_payload.md

PATCH New Hoa Nguyen 3 participants 3 messages Sep 24, 2023 – Oct 6, 2023

lore
Share & tools
lore

Hoa Nguyen

author
#0 lore raw

PATCH 1/1 doc: Fix fw_payload.md

The base of .text is defined by FW_TEXT_START, not FW_TEXT_BASE.

---
 docs/firmware/fw_payload.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/firmware/fw_payload.md +1 -1
index 3d50ddc..113604a 100644
@@ -36,7 +36,7 @@ options. These configuration parameters can be defined using either the top
 level `make` command line or the target platform *objects.mk* configuration
 file. The parameters currently defined are as follows:
 
-* **FW_PAYLOAD_OFFSET** - Offset from *FW_TEXT_BASE* where the payload binary
+* **FW_PAYLOAD_OFFSET** - Offset from *FW_TEXT_START* where the payload binary
   will be linked in the final *FW_PAYLOAD* firmware binary image. This
   configuration parameter is mandatory if *FW_PAYLOAD_ALIGN* is not defined.
   Compilation errors will result from an incorrect definition of
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 doc: Fix fw_payload.md

? 2023-09-24???? 14:48 -0700?Hoa Nguyen???

Quoted 3 lines

The base of .text is defined by FW_TEXT_START, not FW_TEXT_BASE.

LGTM

Quoted 21 lines

---
?docs/firmware/fw_payload.md | 2 +-
?1 file changed, 1 insertion(+), 1 deletion(-)

docs/firmware/fw_payload.md +0 -0
index 3d50ddc..113604a 100644
@@ -36,7 +36,7 @@ options. These configuration parameters can be defined using either the top

?level make command line or the target platform *objects.mk* configuration ?file. The parameters currently defined are as follows:
?

docs/firmware/fw_payload.md +1 -1
-* **FW_PAYLOAD_OFFSET** - Offset from *FW_TEXT_BASE* where the payload binary
+* **FW_PAYLOAD_OFFSET** - Offset from *FW_TEXT_START* where the payload binary

?? will be linked in the final *FW_PAYLOAD* firmware binary image. This ?? configuration parameter is mandatory if *FW_PAYLOAD_ALIGN* is not defined. ?? Compilation errors will result from an incorrect definition of

Signature · 1 line
2.25.1
Applied
#2 lore raw

PATCH 1/1 doc: Fix fw_payload.md

In reply to Hoa Nguyen
Quoted 4 lines · On Mon, Sep 25, 2023 at 3:19?AM Hoa Nguyen <[email protected]> wrote:

The base of .text is defined by FW_TEXT_START, not FW_TEXT_BASE.

Looks good to me.

Applied this patch to the riscv/opensbi repo.

Thanks,
Anup

Quoted 25 lines
---
 docs/firmware/fw_payload.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/firmware/fw_payload.md +1 -2
index 3d50ddc..113604a 100644
@@ -36,7 +36,7 @@ options. These configuration parameters can be defined using either the top
 level `make` command line or the target platform *objects.mk* configuration
 file. The parameters currently defined are as follows:
 
-* **FW_PAYLOAD_OFFSET** - Offset from *FW_TEXT_BASE* where the payload binary
+* **FW_PAYLOAD_OFFSET** - Offset from *FW_TEXT_START* where the payload binary
   will be linked in the final *FW_PAYLOAD* firmware binary image. This
   configuration parameter is mandatory if *FW_PAYLOAD_ALIGN* is not defined.
   Compilation errors will result from an incorrect definition of
--

2.25.1

--
opensbi mailing list
opensbi at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi