path: root/Documentation
diff options
authorCory Tusar <>2019-08-20 22:17:36 +0000
committerSascha Hauer <>2019-08-23 10:58:41 +0200
commite1f8820efbd13bf21becde89c1935c77f8bd3484 (patch)
tree25596db539fe9f52d1f7a7b075fca0cf42d2b00e /Documentation
parente84656a5878422c481789dd3c0de48e177950474 (diff)
Documentation: zii-vf610-dev: Fix 'halt' in openocd configuration script
When attempting to use the existing configuration file to bootstrap an SCU4 AIB board, openocd would consistently fail on the 'halt' command with a "Target not examined yet" error. Dumping target information showed that vf610.cpu1 was the active target, rather that vf610.cpu0. Adding a command prior to the halt to explicitly set the target core resulted in proper operation. Tested with openocd-0.10.0+dev-00924-g16496488 on a Zodiac SCU4 AIB. Signed-off-by: Cory Tusar <> Signed-off-by: Sascha Hauer <>
Diffstat (limited to 'Documentation')
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/boards/imx/zii-vf610-dev/openocd.cfg b/Documentation/boards/imx/zii-vf610-dev/openocd.cfg
index 222f487..5127c76 100644
--- a/Documentation/boards/imx/zii-vf610-dev/openocd.cfg
+++ b/Documentation/boards/imx/zii-vf610-dev/openocd.cfg
@@ -258,6 +258,7 @@ proc safe_reset {} {
proc start_barebox { } {
set VF610_DDR_BASE_ADDR 0x80000000
echo "Bootstrap: Loading Barebox"
+ targets vf610.cpu0
load_image images/barebox-zii-vf610-dev.img $VF610_DDR_BASE_ADDR bin
arm core_state arm