diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-08-09 17:11:43 +0200 |
---|---|---|
committer | Matthias Welwarsky <matthias@welwarsky.de> | 2018-09-12 15:14:55 +0100 |
commit | 1f37b94859e01c565219a7e7d6ddd85d122f7892 (patch) | |
tree | 9e17e2dc8234eaa7a720ff343b091905edb94e43 /tcl | |
parent | 56cdc3f3d54ecef9f1847045c041a2d8e723c375 (diff) | |
download | riscv-openocd-1f37b94859e01c565219a7e7d6ddd85d122f7892.zip riscv-openocd-1f37b94859e01c565219a7e7d6ddd85d122f7892.tar.gz riscv-openocd-1f37b94859e01c565219a7e7d6ddd85d122f7892.tar.bz2 |
tcl/board: Add Emcraft imx8 SOM BSB support
Tested with Olimex ARM-USB-TINY-H adapter
Simple commands work fine but there are currently issues when attaching
remote gdb or running virt2phys:
https://sourceforge.net/p/openocd/tickets/201/
Change-Id: I86ccf1d93c5d23870bb522f92b3e2af190d529e8
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-on: http://openocd.zylin.com/4646
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/board/emcraft_imx8m-som-bsb.cfg | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tcl/board/emcraft_imx8m-som-bsb.cfg b/tcl/board/emcraft_imx8m-som-bsb.cfg new file mode 100644 index 0000000..5571d0e --- /dev/null +++ b/tcl/board/emcraft_imx8m-som-bsb.cfg @@ -0,0 +1,22 @@ +# +# configuration file for Emcraft IMX8M-SOM-BSB +# + +# only JTAG supported +transport select jtag + +# set a safe JTAG clock speed, can be overridden +adapter_khz 1000 + +# SRST and TRST are wired up +reset_config trst_and_srst + +# delay after SRST goes inactive +adapter_nsrst_delay 70 + +# board has an i.MX8MQ with 4 Cortex-A53 cores +set CHIPNAME imx8mq +set CHIPCORES 4 + +# source SoC configuration +source [find target/imx8m.cfg] |