Skip to contentSkip to conversation

docs/firmware: update the document

PATCH New [email protected] 3 participants 3 messages Oct 20, 2022 – Oct 23, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/firmware: update the document

From: Yangjie Zhang <[email protected]>

Since
commit 9c07c513aa9b ("firmware:Remove FW_PAYLOAD_FDT_PATH compile-time option"), the section where FDT would be embedded in has changed from *.text* to *.rodata*, but some places in fw_payload.md and fw.md are still *.text*.
This patch updates the document.

---
 docs/firmware/fw.md         | 2 +-
 docs/firmware/fw_payload.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
docs/firmware/fw.md +1 -1
index 5a67848..18faaa9 100644
@@ -53,7 +53,7 @@ the booting stage to follow OpenSBI firmware.
 A *FW_PAYLOAD* firmware is also useful for cases where the booting stage prior
 to OpenSBI firmware does not pass a *flattened device tree (FDT file)*. In such
 case, a *FW_PAYLOAD* firmware allows embedding a flattened device tree in the
-.text section of the final firmware.
+.rodata section of the final firmware.
 
 Firmware Configuration and Compilation
 --------------------------------------
docs/firmware/fw_payload.md +1 -1
index 3bb918f..3d50ddc 100644
@@ -12,7 +12,7 @@ firmware and the booting stage to follow OpenSBI firmware.
 A *FW_PAYLOAD* firmware is also useful for cases where the booting stage prior
 to the OpenSBI firmware does not pass a *flattened device tree (FDT file)*. In
 such a case, a *FW_PAYLOAD* firmware allows embedding a flattened device tree
-in the .text section of the final firmware.
+in the .rodata section of the final firmware.
 
 Enabling *FW_PAYLOAD* compilation
 ---------------------------------
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/1 docs/firmware: update the document

Quoted 9 lines · On Thu, Oct 20, 2022 at 10:42 PM <[email protected]> wrote:

From: Yangjie Zhang <[email protected]>

Since
commit 9c07c513aa9b ("firmware:Remove FW_PAYLOAD_FDT_PATH compile-time option"), the section where FDT would be embedded in has changed from *.text* to *.rodata*, but some places in fw_payload.md and fw.md are still *.text*.
This patch updates the document.

Quoted 6 lines
---
 docs/firmware/fw.md         | 2 +-
 docs/firmware/fw_payload.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Applied
#2 lore raw

PATCH 1/1 docs/firmware: update the document

In reply to [email protected]
Quoted 10 lines · On Thu, Oct 20, 2022 at 8:11 PM <[email protected]> wrote:

From: Yangjie Zhang <[email protected]>

Since
commit 9c07c513aa9b ("firmware:Remove FW_PAYLOAD_FDT_PATH compile-time option"), the section where FDT would be embedded in has changed from *.text* to *.rodata*, but some places in fw_payload.md and fw.md are still *.text*.
This patch updates the document.

Looks good to me.

Applied this patch to the riscv/opensbi repo.

Thanks,
Anup

Quoted 39 lines
---
 docs/firmware/fw.md         | 2 +-
 docs/firmware/fw_payload.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
docs/firmware/fw.md +1 -1
index 5a67848..18faaa9 100644
@@ -53,7 +53,7 @@ the booting stage to follow OpenSBI firmware.
 A *FW_PAYLOAD* firmware is also useful for cases where the booting stage prior
 to OpenSBI firmware does not pass a *flattened device tree (FDT file)*. In such
 case, a *FW_PAYLOAD* firmware allows embedding a flattened device tree in the
-.text section of the final firmware.
+.rodata section of the final firmware.
 
 Firmware Configuration and Compilation
 --------------------------------------
docs/firmware/fw_payload.md +1 -2
index 3bb918f..3d50ddc 100644
@@ -12,7 +12,7 @@ firmware and the booting stage to follow OpenSBI firmware.
 A *FW_PAYLOAD* firmware is also useful for cases where the booting stage prior
 to the OpenSBI firmware does not pass a *flattened device tree (FDT file)*. In
 such a case, a *FW_PAYLOAD* firmware allows embedding a flattened device tree
-in the .text section of the final firmware.
+in the .rodata section of the final firmware.
 
 Enabling *FW_PAYLOAD* compilation
 ---------------------------------
--

2.34.1

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