target/zynqmp : Add AXI AP access port
authorOlivier DANET <odanet@caramail.com>
Mon, 17 May 2021 12:47:14 +0000 (14:47 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 22 May 2021 09:12:01 +0000 (10:12 +0100)
The Xilinx Zynq UltraScale+ SoC have an "AXI-AP" access port for direct memory accesses without halting CPUs.

Change-Id: I6303331c217795657575de4759444938e775dee1
Signed-off-by: Olivier DANET <odanet@caramail.com>
Reviewed-on: http://openocd.zylin.com/6263
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/target/xilinx_zynqmp.cfg

index b21603f6200ebe234269834d0402594825d559eb..e66289a707b96e7d3bef414c76381232f10e1195 100644 (file)
@@ -92,6 +92,8 @@ for { set _core 0 } { $_core < $_cores } { incr _core } {
     eval $_command
 }
 
+target create uscale.axi mem_ap -dap uscale.dap -ap-num 0
+
 eval $_smp_command
 targets $_TARGETNAME.0