Well, I'm not positively impressed with OpenOCD so far. Using it is messy. The documentation is both needlessly complicated and sparse of the kind of information I was looking for.
I think the worst thing so far is that it's too stupid to figure out when the user running the application has RW access to the Linux device. I have to chmod o+rw the USB device to get openocd to work with it... but most people (including the devs) seem to run it as root/sudo. Yea really.
I got out a multimeter and verified that Vcc on the jtag port is 1.8V. One thing to note is that pin 4, which I expected to be ground, is floating. Pings 6,8,10, etc are proper ground. I'm not sure if that's normal for ARM-20 jtag ports or not.
I've hooked up my TIAO JTAG device and moved the jumper to get power from the router. That seems to be working okay, but I have yet to get openocd working.
I did not find a ton of info when googling around for the ipq8064. However, I did find the data sheets for some similar chips, like the apq8064, which is the S4 Pro. The apq8064 has four cores at 1.5Ghz. The fab process is probably very different, only half the cores, and other components probably ripped out, but it's likely very similar.
I'm trying to scan the bus and I'm not getting anything....
This commit is for the apq8064 and some other chips. Apparently this chip and other ARM Cortex chips don't do set CSYSPWRUPACK as expected, so this patch is needed. I should take a look at this, but I'm WAYYYY outside my knowledge scope.... or in other words I don't know WTF I'm doing.
Also these may be relevant:
https://sourceforge.net/p/openocd/mailm … /32393550/
https://sourceforge.net/p/openocd/mailm … /34628924/
https://forum.gsmhosting.com/vbb/f664/r … x-1792364/
http://forum.xda-developers.com/showthr … ?t=2734774