|
From: openocd-gerrit <ope...@us...> - 2025-11-12 20:53:18
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via d7fb95d8003b01c2d6aa3e53a2d3eafbddfcb5a1 (commit)
from 12ab80ab45183ad0eafcf59c43eda229ec1c7b94 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d7fb95d8003b01c2d6aa3e53a2d3eafbddfcb5a1
Author: Tomas Vanek <va...@fb...>
Date: Sun Oct 26 10:25:05 2025 +0100
tcl/target: update riscv commands in configs
Adjust configs for the changed command riscv virt2phys_mode.
Change-Id: Ib365bbb74b3b17e8f0b594e08ab73871f86cf89e
Signed-off-by: Tomas Vanek <va...@fb...>
Reviewed-on: https://review.openocd.org/c/openocd/+/9190
Tested-by: jenkins
diff --git a/tcl/target/bl602_common.cfg b/tcl/target/bl602_common.cfg
index cf4bc3947..1fe5d9416 100644
--- a/tcl/target/bl602_common.cfg
+++ b/tcl/target/bl602_common.cfg
@@ -37,7 +37,7 @@ set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
riscv set_mem_access sysbus
-riscv set_enable_virt2phys off
+riscv virt2phys_mode off
$_TARGETNAME configure -work-area-phys $_WORKAREAADDR -work-area-size $_WORKAREASIZE -work-area-backup 1
diff --git a/tcl/target/bl616.cfg b/tcl/target/bl616.cfg
index ee59f1850..6f00c0546 100644
--- a/tcl/target/bl616.cfg
+++ b/tcl/target/bl616.cfg
@@ -27,7 +27,7 @@ set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
riscv set_mem_access progbuf
-riscv set_enable_virt2phys off
+riscv virt2phys_mode off
$_TARGETNAME configure -work-area-phys 0x40000000 -work-area-size 0x10000 -work-area-backup 1
diff --git a/tcl/target/rp2350.cfg b/tcl/target/rp2350.cfg
index 96bb9298f..be51931ec 100644
--- a/tcl/target/rp2350.cfg
+++ b/tcl/target/rp2350.cfg
@@ -100,7 +100,7 @@ if { [info exists _TARGETNAME_CM0] } {
if { [info exists _TARGETNAME_RV0] } {
target create $_TARGETNAME_RV0 riscv -dap $_CHIPNAME.dap -ap-num 0xa000 -coreid 0
- $_TARGETNAME_RV0 riscv set_enable_virt2phys off
+ $_TARGETNAME_RV0 riscv virt2phys_mode off
$_TARGETNAME_RV0 configure -event reset-init "_rv_reset_init"
@@ -117,7 +117,7 @@ if { [info exists _TARGETNAME_CM1] } {
if { [info exists _TARGETNAME_RV1] } {
target create $_TARGETNAME_RV1 riscv -dap $_CHIPNAME.dap -ap-num 0xa000 -coreid 1
- $_TARGETNAME_RV1 riscv set_enable_virt2phys off
+ $_TARGETNAME_RV1 riscv virt2phys_mode off
}
if { [info exists USE_SMP] } {
-----------------------------------------------------------------------
Summary of changes:
tcl/target/bl602_common.cfg | 2 +-
tcl/target/bl616.cfg | 2 +-
tcl/target/rp2350.cfg | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
Main OpenOCD repository
|