[PATCH] Docs: RISC-V Update BSPs to medany and 0x80000000 start address

heshamelmatary at gmail.com heshamelmatary at gmail.com
Sun Dec 18 14:34:07 UTC 2022


From: Hesham Almatary <hesham.almatary at cl.cam.ac.uk>

Closes #4775
---
 user/bsps/bsps-riscv.rst | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/user/bsps/bsps-riscv.rst b/user/bsps/bsps-riscv.rst
index 2ef8327..c9813e5 100644
--- a/user/bsps/bsps-riscv.rst
+++ b/user/bsps/bsps-riscv.rst
@@ -8,7 +8,7 @@ riscv (RISC-V)
 riscv
 =====
 
-This BSP offers 15 variants:
+This BSP offers 12 variants:
 
 * rv32i
 
@@ -26,22 +26,17 @@ This BSP offers 15 variants:
 
 * rv64imac
 
-* rv64imac_medany
-
 * rv64imafd
 
-* rv64imafd_medany
-
 * rv64imafdc
 
-* rv64imafdc_medany
-
 * frdme310arty
 
 * mpfs64imafdc
 
-Each variant corresponds to a GCC multilib.  A particular variant reflects an
-ISA with ABI and code model choice.
+Each rv* variant corresponds to a GCC multilib.  A particular variant reflects an
+ISA with ABI and code model choice. All rv* BSPs have medany code model by
+default.
 
 The BSP must be started im machine mode.
 
@@ -94,8 +89,7 @@ configuration INI file. The ``waf`` defaults can be used to inspect the values.
      by default).
 
 ``RISCV_RAM_REGION_BEGIN``
-     The begin of the RAM region for linker command file (default is 0x70000000
-     for 64-bit with -mcmodel=medlow and 0x80000000 for all other).
+     The begin of the RAM region for linker command file (default is 0x80000000).
 
 ``RISCV_RAM_REGION_SIZE``
      The size of the RAM region for linker command file (default 64MiB).
@@ -145,13 +139,13 @@ QEMU
 ----
 
 All of the BSP variants that start with rv can be run on QEMU's virt machine.
-For instance, to run the ``rv64imafdc_medany`` BSP with the following
-"config.ini" file:
+For instance, to run the ``rv64imafdc`` BSP with the following
+"config.ini" file.
 
 .. code-block:: none
-    [riscv/rv64imafdc_medany]
+    [riscv/rv64imafdc]
 
-Run the following QEMU command:
+Run the following QEMU command.
 
 .. code-block:: shell
     $ qemu-system-riscv64 -M virt -nographic -bios $RTEMS_EXE
-- 
2.25.1



More information about the devel mailing list