00:00.04 | hamishm | i'm using the ixp42x_gw.cfg |
00:00.24 | hamishm | hardware works with the Gateworks-provided software under dosemu |
00:45.33 | *** join/#openjtag rd_ (n=redragon@segfault.net) |
02:19.36 | wookey_ | do we have xscale support yet in openOCD? |
02:21.20 | wookey_ | ah, I see in scrollback that we do in the branch version |
02:21.22 | wookey_ | cool |
02:21.41 | wookey_ | hopefully I'll get time to try that out soon |
02:22.57 | rwhitby | ka6sox-office: do you know if the jtag connector on the NAS100d has the reset pins required for openocd on ixp4xx? |
03:09.14 | hamishm | I could not get OpenOCD going with IXP425 board.. error validating JTAG scan chain |
03:18.50 | ka6sox-laptop | rwhitby, I think so. |
03:18.53 | ka6sox-laptop | but I'll have to verify |
03:19.03 | ka6sox-laptop | ran out of time to check today |
07:30.42 | *** join/#openjtag ka6sox (n=ka6sox@nslu2-linux/ka6sox) |
08:54.54 | *** join/#openjtag rd_ (n=redragon@segfault.net) |
09:20.26 | *** join/#openjtag nm_ (n=nm@58.187.131.236) |
09:56.35 | *** join/#openjtag ka6sox-office (n=ka6sox@nslu2-linux/ka6sox) [NETSPLIT VICTIM] |
10:07.05 | *** join/#openjtag ka6sox-office (n=ka6sox@nslu2-linux/ka6sox) [NETSPLIT VICTIM] |
10:36.06 | *** join/#openjtag nm__ (n=nm@58.187.131.236) |
12:18.16 | *** join/#openjtag hamishm (n=hamish@c220-237-181-46.eburwd3.vic.optusnet.com.au) |
12:18.55 | hamishm | hi.. anyone able to help me with OpenOCD + IXP425 + GW16012? |
12:19.47 | vmaster | hi hamishm |
12:20.12 | hamishm | hi |
12:20.17 | vmaster | i can, but first i'll have to get lunch |
12:20.25 | vmaster | be back in ~10-15 minutes |
12:20.39 | hamishm | no prob. thanks:) |
12:36.29 | vmaster | ok, i've read what you wrote last night (your morning) |
12:37.03 | hamishm | oh cool |
12:37.22 | vmaster | i have a large number of changes on top of the xscale svn, mostly merges from trunk, but also some additional debug output |
12:37.40 | vmaster | haven't worked on that for quite a while, and need to check if it compiles etc. |
12:37.43 | vmaster | hold on |
12:37.50 | hamishm | i've tried both ppdev and direct i/o without any difference |
12:38.30 | hamishm | I've verified the hardware+dongle ok using the DOS software provided by Gateworks |
12:43.12 | hamishm | anything I can try? |
12:46.21 | hamishm | I tried cranking the srst/trst delay up to 50000 and didn't notice any change.. even any noticeable delay |
12:47.01 | hamishm | but that's just random stuff I tried since I don't know what I'm doing ;) |
12:51.44 | vmaster | the check that fails for you happens before reset is even touched |
12:52.32 | vmaster | it's very low level communication that fails |
12:52.33 | hamishm | thought that might be the case given that it had no effect |
12:53.04 | vmaster | i'm having some problems here right now with my xscale setup, might take a bit to sort this out, hold on |
12:57.19 | vmaster | hamishm: do you have the board available? |
12:57.23 | hamishm | yup |
12:58.12 | vmaster | could you apply this patch: http://mmd.ath.cx/openocd/gw16012_pathmove.patch |
12:58.34 | vmaster | compile, run with "-f <.cfgfile> -d -l <logfile>", and send me the log |
13:00.04 | vmaster | either dcc, or Dominic.Rath <at> gmx.de |
13:01.22 | vmaster | either your or my firewall doesn't like this: 14:01 [freenode] DCC SEND from hamishm [0.0.0.199 port 0]: ixp42_gw_debug1.log [3kB] |
13:01.48 | hamishm | argh possibly firewall/nat at this end |
13:01.50 | hamishm | I'll email it |
13:02.02 | vmaster | ok |
13:03.23 | hamishm | i'll try the DCC again just as a test, if you don't mind. fixed my settings I hope |
13:04.27 | vmaster | same result |
13:04.45 | hamishm | ok not to worry. thanks |
13:04.58 | vmaster | my irc client is running directly on the router, don't think the fault is at my end - i'm receiving a dcc just now from a different source |
13:05.12 | vmaster | got your log |
13:05.53 | hamishm | that 0.0.0.199 doesn't sound good. I tweaked my DCC settings here but it obviously didn't make any difference. |
13:06.15 | vmaster | do you have ppdev and/or lp loaded? |
13:06.33 | *** join/#openjtag rd_ (n=redragon@segfault.net) |
13:07.49 | hamishm | originally I had --enable-ppdev and was using that. no luck |
13:07.59 | hamishm | now I am not using that, though ppdev would still be loaded |
13:08.46 | vmaster | could you try unloading both modules and run openocd again? |
13:08.54 | vmaster | currently it fails to communicate with the GW dongle at all |
13:09.17 | vmaster | could also be a matter of initializing the parport, but at least ppdev should have done that right |
13:09.23 | hamishm | ok I did that, no change |
13:09.59 | hamishm | i'm running it as root via sudo to get i/o access |
13:10.39 | vmaster | that's working fine for me |
13:10.44 | vmaster | shouldn't be a problem |
13:10.51 | hamishm | i did notice that there was no difference in the output whether I had the dongle plugged in or not |
13:11.55 | vmaster | yeah, looks like it doesn't talk to the parport at all |
13:13.03 | hamishm | hm. 0x378 seems to be correct. that's what the parport module detected (before I unloaded it), and what I used when I ran the gateworks software earlier (under dosemu) |
13:17.05 | hamishm | config problem or source problem do you think? |
13:17.13 | vmaster | try adding this http://pastebin.ca/375608 in gw16012.c:gw16012_init after DEBUG("...privileges granted"); |
13:19.26 | hamishm | hmm parport_port undeclared errors. should it be gw16012_port ? |
13:19.36 | vmaster | ah, yeah, of course |
13:19.50 | vmaster | copied that from parport.c |
13:20.02 | vmaster | and forgot that gw16012 uses a different config variable |
13:20.38 | hamishm | :( I don't see any change |
13:21.40 | vmaster | could you try again with ppdev, and send me a log from that, too? |
13:21.46 | hamishm | ok |
13:21.53 | vmaster | at least that should make clear if it's an initialization issue |
13:21.57 | hamishm | do I need to remove that last mod? |
13:22.01 | vmaster | lp? |
13:22.05 | vmaster | ah, modification |
13:22.06 | vmaster | no |
13:23.49 | hamishm | hmm segfault after "...open" currently |
13:24.13 | hamishm | Info: openocd.c:83 main(): Open On-Chip Debugger (XScale branch, 2006-11-22 14:00 CEST) |
13:24.13 | hamishm | Debug: jtag.c:1246 jtag_init(): |
13:24.13 | hamishm | Debug: gw16012.c:478 gw16012_init(): opening /dev/parport0... |
13:24.13 | hamishm | Debug: gw16012.c:489 gw16012_init(): ...open |
13:24.13 | hamishm | Segmentation fault |
13:24.58 | vmaster | can you run with gdb to see where it segfaults? |
13:25.51 | hamishm | in gw16012_init, in some assembler code in /usr/include/sys/io.h line 99 |
13:25.55 | hamishm | 99 __asm__ __volatile__ ("outb %b0,%w1": :"a" (value), "Nd" (port)); |
13:26.32 | hamishm | oh I should've put that last modification inside the #ifndef PPDEV.. oops |
13:27.36 | hamishm | ok fixed, runs but fails as before |
13:28.07 | hamishm | the log is identical except it's opening /dev/parport0 instead of requesting privs for 0x378.. nothing different after that |
13:36.41 | *** join/#openjtag rd_ (n=redragon@segfault.net) |
13:43.05 | hamishm | i've gotta go.. thanks for your efforts |
13:43.26 | *** join/#openjtag bullet (n=bullet@197.198.62.81.cust.bluewin.ch) |
13:44.07 | vmaster | hamishm: i'll look into this once i have my xscale problems sorted out |
13:44.14 | vmaster | currently it's hard to tell what is going wrong |
13:44.37 | hamishm | tnx. if you want me to try anything you have my email still? |
13:44.45 | vmaster | yeah, got it |
13:44.54 | hamishm | tnx. ok bfn |
15:37.43 | *** join/#openjtag aproemel (n=aproemel@p508ABF22.dip0.t-ipconnect.de) |
17:51.25 | *** join/#openjtag wookey_ (n=wookey@stoneboat.aleph1.co.uk) |
18:57.40 | *** join/#openjtag vmaster_ (i=vmaster@p5B07E56D.dip.t-dialin.net) |
19:38.40 | *** join/#openjtag rd_ (n=redragon@segfault.net) |
21:10.41 | *** join/#openjtag rwhitby (n=nrwhitby@nslu2-linux/rwhitby) |
22:14.51 | *** join/#openjtag rd_ (n=redragon@segfault.net) |