openocd 0.4.0-1+nmu1 on amd64 1) boot openmoko normally 2) connect debug board to PC 3) connect debug board to openmoko 4) run openocd 5) run gdb 6) target remote localhost:3333 7) continue 8) ctrl-c 9) monitor gdb_breakpoint_override hard 10) monitor arm7_9 dbgrq enable 11) continue Open On-Chip Debugger 0.4.0 (2010-10-01-13:34) Licensed under GNU GPL v2 For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain Info : clock speed 6000 kHz Info : JTAG tap: s3c2440.cpu tap/device found: 0x0032409d (mfg: 0x04e, part: 0x0324, ver: 0x0) Info : Embedded ICE version 2 Info : s3c2440.cpu: hardware has 2 breakpoint/watchpoint units Info : accepting 'gdb' connection from 0 Warn : acknowledgment received, but no packet pending undefined debug reason 6 - target needs reset Warn : target not halted Warn : target not halted Warn : target not halted Warn : target not halted Warn : target not halted Warn : target not halted Warn : target not halted Warn : WARNING! The target is already running. All changes GDB did to registers will be discarded! Waiting for target to halt. === interface ft2232 ft2232_device_desc "Debug Board for Neo1973 A" ft2232_layout "jtagkey" ft2232_vid_pid 0x1457 0x5118 source [find target/samsung_s3c2440.cfg] reset_config trst_and_srst #jtag_khz 0 gdb_port 3333 tcl_port 6666 telnet_port 4444 #init #reset run #sleep 5000 #halt