Skip to content

Commit d7fb95d

Browse files
committed
tcl/target: update riscv commands in configs
Adjust configs for the changed command riscv virt2phys_mode. Change-Id: Ib365bbb74b3b17e8f0b594e08ab73871f86cf89e Signed-off-by: Tomas Vanek <[email protected]> Reviewed-on: https://review.openocd.org/c/openocd/+/9190 Tested-by: jenkins
1 parent 12ab80a commit d7fb95d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tcl/target/bl602_common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ set _TARGETNAME $_CHIPNAME.cpu
3737
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
3838

3939
riscv set_mem_access sysbus
40-
riscv set_enable_virt2phys off
40+
riscv virt2phys_mode off
4141

4242
$_TARGETNAME configure -work-area-phys $_WORKAREAADDR -work-area-size $_WORKAREASIZE -work-area-backup 1
4343

tcl/target/bl616.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ set _TARGETNAME $_CHIPNAME.cpu
2727
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
2828

2929
riscv set_mem_access progbuf
30-
riscv set_enable_virt2phys off
30+
riscv virt2phys_mode off
3131

3232
$_TARGETNAME configure -work-area-phys 0x40000000 -work-area-size 0x10000 -work-area-backup 1
3333

tcl/target/rp2350.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if { [info exists _TARGETNAME_CM0] } {
100100

101101
if { [info exists _TARGETNAME_RV0] } {
102102
target create $_TARGETNAME_RV0 riscv -dap $_CHIPNAME.dap -ap-num 0xa000 -coreid 0
103-
$_TARGETNAME_RV0 riscv set_enable_virt2phys off
103+
$_TARGETNAME_RV0 riscv virt2phys_mode off
104104

105105
$_TARGETNAME_RV0 configure -event reset-init "_rv_reset_init"
106106

@@ -117,7 +117,7 @@ if { [info exists _TARGETNAME_CM1] } {
117117

118118
if { [info exists _TARGETNAME_RV1] } {
119119
target create $_TARGETNAME_RV1 riscv -dap $_CHIPNAME.dap -ap-num 0xa000 -coreid 1
120-
$_TARGETNAME_RV1 riscv set_enable_virt2phys off
120+
$_TARGETNAME_RV1 riscv virt2phys_mode off
121121
}
122122

123123
if { [info exists USE_SMP] } {

0 commit comments

Comments
 (0)