From 80316c829d0c56b67eb60c39fe3fd6266b314860 Mon Sep 17 00:00:00 2001 From: Konstantin Porotchkin Date: Thu, 23 Mar 2017 17:22:55 +0200 Subject: scripts: Add XDB debugger scripts for A7K/A8K platforms Add XDB scripts for A7K/A8K platforms Change-Id: I43577d83fe252a0a72f98df8bbd224a5091b189f Signed-off-by: Haim Boot Signed-off-by: Konstantin Porotchkin Reviewed-on: http://vgitil04.il.marvell.com:8080/37919 --- scripts/debugger/xdb_scripts/axi-dap-a8k.xdb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 scripts/debugger/xdb_scripts/axi-dap-a8k.xdb (limited to 'scripts/debugger/xdb_scripts/axi-dap-a8k.xdb') diff --git a/scripts/debugger/xdb_scripts/axi-dap-a8k.xdb b/scripts/debugger/xdb_scripts/axi-dap-a8k.xdb new file mode 100644 index 00000000..a95aae34 --- /dev/null +++ b/scripts/debugger/xdb_scripts/axi-dap-a8k.xdb @@ -0,0 +1,5 @@ +define macro /button /overwrite axi_dap_enable "custom \"lowlevel=on\";TCI APSCAN /SELECT=0 4\n" +define macro /button /overwrite axi_dap_disable "tci apscan /select=1 4; custom \"lowlevel=off\"\n" +define macro /button /overwrite axi_dap_read "TCI AP /silent 0x4=@1;TCI AP 0xC\n" +define macro /button /overwrite axi_dap_write "TCI AP /silent 0x4=@1;TCI AP 0xC=@2\n" +define macro /button /overwrite axi_dap_read_loop "for @idx =0 to @2 step 4 then TCI AP /silent 0x4=@1+@idx;TCI AP 0xC end" -- cgit