This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 18a1d159a79 risc-v/litex: For vexriscv_smp, match default FDT address 
in upstream opensbi.
18a1d159a79 is described below

commit 18a1d159a7997c334eb2ba9aa932813fb304f42a
Author: Justin Erenkrantz <[email protected]>
AuthorDate: Fri Dec 12 09:24:45 2025 -0500

    risc-v/litex: For vexriscv_smp, match default FDT address in upstream 
opensbi.
    
    The default opensbi fw_jump.bin expects to see the FDT in 0x40EF0000 per 
FW_JUMP_FDT_ADDR.
    
    Definitions:
    
    
https://github.com/litex-hub/opensbi/blob/0.8-linux-on-litex-vexriscv/platform/litex/vexriscv/config.mk
    
https://github.com/litex-hub/opensbi/blob/1.3.1-linux-on-litex-vexriscv/platform/litex/vexriscv/objects.mk
    
    Signed-off-by: Justin Erenkrantz <[email protected]>
---
 Documentation/platforms/risc-v/litex/cores/vexriscv_smp/index.rst | 2 +-
 arch/risc-v/src/litex/Kconfig                                     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/platforms/risc-v/litex/cores/vexriscv_smp/index.rst 
b/Documentation/platforms/risc-v/litex/cores/vexriscv_smp/index.rst
index 791cbf49ed1..8add9e2d2d1 100644
--- a/Documentation/platforms/risc-v/litex/cores/vexriscv_smp/index.rst
+++ b/Documentation/platforms/risc-v/litex/cores/vexriscv_smp/index.rst
@@ -51,7 +51,7 @@ Create a file, 'boot.json' in the Nuttx root directory, with 
the following conte
   {
     "romfs.img":   "0x40C00000",
     "nuttx.bin":   "0x40000000",
-    "board.dtb":   "0x41ec0000",
+    "board.dtb":   "0x40EF0000",
     "opensbi.bin": "0x40f00000"
   }
 
diff --git a/arch/risc-v/src/litex/Kconfig b/arch/risc-v/src/litex/Kconfig
index ac4f36985ba..a6e8931bccc 100644
--- a/arch/risc-v/src/litex/Kconfig
+++ b/arch/risc-v/src/litex/Kconfig
@@ -20,7 +20,7 @@ config LITEX_COHERENT_DMA
 
 config LITEX_FDT_MEMORY_ADDRESS
        hex "Location of the FDT in memory"
-       default 0x41ec0000
+       default 0x40EF0000
 
 menu "LITEX Peripheral Support"
 

Reply via email to