aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2022-11-29 00:34:44 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2023-01-15 15:10:42 +0000
commita3ed12401b1f7d9578fb7da881d3504e07acfc27 (patch)
treee3b233b54f1de4f50335cbc88963ceaef4fb5b83 /tcl
parent5292c7eae925d59d6b6c0017b6a4995d39a6e9ee (diff)
downloadriscv-openocd-a3ed12401b1f7d9578fb7da881d3504e07acfc27.zip
riscv-openocd-a3ed12401b1f7d9578fb7da881d3504e07acfc27.tar.gz
riscv-openocd-a3ed12401b1f7d9578fb7da881d3504e07acfc27.tar.bz2
tcl/target: enable -rtos hwthread
The rtos hwthread has been merged in 2019 with commit 85ba2dc4c6ab ("rtos/hwthread: add hardware-thread pseudo rtos"). During review in patchset 19 the name of the rtos has been changed from 'hawt' to 'hwthread'. Some target config file was already merged ready for hwthread, but keeping the relevant lines commented and still reporting the old name. Enable rtos hwtread to the target that were supposed to use it. Fix the name of the rtos. Change-Id: I877862dcdba39f26462bb542bac06d1a5f5f222d Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7384 Tested-by: jenkins
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/hi3798.cfg3
-rw-r--r--tcl/target/hi6220.cfg3
-rw-r--r--tcl/target/marvell/88f37x0.cfg3
-rw-r--r--tcl/target/xilinx_zynqmp.cfg3
4 files changed, 4 insertions, 8 deletions
diff --git a/tcl/target/hi3798.cfg b/tcl/target/hi3798.cfg
index 4373962..722305d 100644
--- a/tcl/target/hi3798.cfg
+++ b/tcl/target/hi3798.cfg
@@ -42,8 +42,7 @@ for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
#set _command "$_command -defer-examine"
set _smp_command "$_smp_command ${_TARGETNAME}$_core"
} else {
- # uncomment when "hawt" rtos is merged
- # set _command "$_command -rtos hawt"
+ set _command "$_command -rtos hwthread"
set _smp_command "target smp ${_TARGETNAME}$_core"
}
diff --git a/tcl/target/hi6220.cfg b/tcl/target/hi6220.cfg
index f5f7fc9..5b03899 100644
--- a/tcl/target/hi6220.cfg
+++ b/tcl/target/hi6220.cfg
@@ -49,8 +49,7 @@ for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
set _command "$_command -defer-examine"
set _smp_command "$_smp_command ${_TARGETNAME}$_core"
} else {
- # uncomment when "hawt" rtos is merged
- # set _command "$_command -rtos hawt"
+ set _command "$_command -rtos hwthread"
set _smp_command "target smp ${_TARGETNAME}$_core"
}
diff --git a/tcl/target/marvell/88f37x0.cfg b/tcl/target/marvell/88f37x0.cfg
index d80f4ef..738d221 100644
--- a/tcl/target/marvell/88f37x0.cfg
+++ b/tcl/target/marvell/88f37x0.cfg
@@ -57,8 +57,7 @@ for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
set _command "$_command -defer-examine"
set _smp_command "$_smp_command ${_TARGETNAME}$_core"
} else {
- # uncomment when "hawt" rtos is merged
- # set _command "$_command -rtos hawt"
+ set _command "$_command -rtos hwthread"
set _smp_command "target smp ${_TARGETNAME}$_core"
}
diff --git a/tcl/target/xilinx_zynqmp.cfg b/tcl/target/xilinx_zynqmp.cfg
index 8933729..9734a18 100644
--- a/tcl/target/xilinx_zynqmp.cfg
+++ b/tcl/target/xilinx_zynqmp.cfg
@@ -86,8 +86,7 @@ for { set _core 0 } { $_core < $_cores } { incr _core } {
set _command "$_command -defer-examine"
set _smp_command "$_smp_command $_TARGETNAME.$_core"
} else {
- # uncomment when "hawt" rtos is merged
- #set _command "$_command -rtos hawt"
+ set _command "$_command -rtos hwthread"
set _smp_command "target smp $_TARGETNAME.$_core"
}