Skip to content

Commit

Permalink
tcl/target: add support for Cavium Octeon II CN61xx
Browse files Browse the repository at this point in the history
Change-Id: Ia14854bc64f5a31b6591be69be4edee9cd1310c3
Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/5249
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
  • Loading branch information
pmamonov authored and borneoa committed Sep 23, 2023
1 parent eeee3f4 commit 4b1ea85
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tcl/target/cavium_cn61xx.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Cavium Octeon II CN61xx (PrID 0x000D9301)

jtag newtap cpu tap0 -irlen 5
jtag newtap cpu tap1 -irlen 5

target create cpu.core0 mips_mips64 -chain-position cpu.tap0 -endian big -rtos hwthread -coreid 0
target create cpu.core1 mips_mips64 -chain-position cpu.tap1 -endian big -rtos hwthread -coreid 1
target smp cpu.core0 cpu.core1

cpu.core0 configure -work-area-phys 0xffffffffa2000000 -work-area-size 0x20000
cpu.core1 configure -work-area-phys 0xffffffffa2000000 -work-area-size 0x20000

targets cpu.core0

0 comments on commit 4b1ea85

Please sign in to comment.