irclog2html for #openjtag on 20070228

00:00.04hamishmi'm using the ixp42x_gw.cfg
00:00.24hamishmhardware works with the Gateworks-provided software under dosemu
00:45.33*** join/#openjtag rd_ (n=redragon@segfault.net)
02:19.36wookey_do we have xscale support yet in openOCD?
02:21.20wookey_ah, I see in scrollback that we do in the branch version
02:21.22wookey_cool
02:21.41wookey_hopefully I'll get time to try that out soon
02:22.57rwhitbyka6sox-office: do you know if the jtag connector on the NAS100d has the reset pins required for openocd on ixp4xx?
03:09.14hamishmI could not get OpenOCD going with IXP425 board.. error validating JTAG scan chain
03:18.50ka6sox-laptoprwhitby, I think so.
03:18.53ka6sox-laptopbut I'll have to verify
03:19.03ka6sox-laptopran 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.55hamishmhi.. anyone able to help me with OpenOCD + IXP425 + GW16012?
12:19.47vmasterhi hamishm
12:20.12hamishmhi
12:20.17vmasteri can, but first i'll have to get lunch
12:20.25vmasterbe back in ~10-15 minutes
12:20.39hamishmno prob. thanks:)
12:36.29vmasterok, i've read what you wrote last night (your morning)
12:37.03hamishmoh cool
12:37.22vmasteri have a large number of changes on top of the xscale svn, mostly merges from trunk, but also some additional debug output
12:37.40vmasterhaven't worked on that for quite a while, and need to check if it compiles etc.
12:37.43vmasterhold on
12:37.50hamishmi've tried both ppdev and direct i/o without any difference
12:38.30hamishmI've verified the hardware+dongle ok using the DOS software provided by Gateworks
12:43.12hamishmanything I can try?
12:46.21hamishmI tried cranking the srst/trst delay up to 50000 and didn't notice any change.. even any noticeable delay
12:47.01hamishmbut that's just random stuff I tried since I don't know what I'm doing ;)
12:51.44vmasterthe check that fails for you happens before reset is even touched
12:52.32vmasterit's very low level communication that fails
12:52.33hamishmthought that might be the case given that it had no effect
12:53.04vmasteri'm having some problems here right now with my xscale setup, might take a bit to sort this out, hold on
12:57.19vmasterhamishm: do you have the board available?
12:57.23hamishmyup
12:58.12vmastercould you apply this patch: http://mmd.ath.cx/openocd/gw16012_pathmove.patch
12:58.34vmastercompile, run with "-f <.cfgfile> -d -l <logfile>", and send me the log
13:00.04vmastereither dcc, or Dominic.Rath <at> gmx.de
13:01.22vmastereither 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.48hamishmargh possibly firewall/nat at this end
13:01.50hamishmI'll email it
13:02.02vmasterok
13:03.23hamishmi'll try the DCC again just as a test, if you don't mind. fixed my settings I hope
13:04.27vmastersame result
13:04.45hamishmok not to worry. thanks
13:04.58vmastermy 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.12vmastergot your log
13:05.53hamishmthat 0.0.0.199 doesn't sound good. I tweaked my DCC settings here but it obviously didn't make any difference.
13:06.15vmasterdo you have ppdev and/or lp loaded?
13:06.33*** join/#openjtag rd_ (n=redragon@segfault.net)
13:07.49hamishmoriginally I had --enable-ppdev and was using that. no luck
13:07.59hamishmnow I am not using that, though ppdev would still be loaded
13:08.46vmastercould you try unloading both modules and run openocd again?
13:08.54vmastercurrently it fails to communicate with the GW dongle at all
13:09.17vmastercould also be a matter of initializing the parport, but at least ppdev should have done that right
13:09.23hamishmok I did that, no change
13:09.59hamishmi'm running it as root via sudo to get i/o access
13:10.39vmasterthat's working fine for me
13:10.44vmastershouldn't be a problem
13:10.51hamishmi did notice that there was no difference in the output whether I had the dongle plugged in or not
13:11.55vmasteryeah, looks like it doesn't talk to the parport at all
13:13.03hamishmhm. 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.05hamishmconfig problem or source problem do you think?
13:17.13vmastertry adding this http://pastebin.ca/375608 in gw16012.c:gw16012_init after DEBUG("...privileges granted");
13:19.26hamishmhmm parport_port undeclared errors. should it be gw16012_port ?
13:19.36vmasterah, yeah, of course
13:19.50vmastercopied that from parport.c
13:20.02vmasterand forgot that gw16012 uses a different config variable
13:20.38hamishm:( I don't see any change
13:21.40vmastercould you try again with ppdev, and send me a log from that, too?
13:21.46hamishmok
13:21.53vmasterat least that should make clear if it's an initialization issue
13:21.57hamishmdo I need to remove that last mod?
13:22.01vmasterlp?
13:22.05vmasterah, modification
13:22.06vmasterno
13:23.49hamishmhmm segfault after "...open" currently
13:24.13hamishmInfo:    openocd.c:83 main(): Open On-Chip Debugger (XScale branch, 2006-11-22 14:00 CEST)
13:24.13hamishmDebug:   jtag.c:1246 jtag_init():
13:24.13hamishmDebug:   gw16012.c:478 gw16012_init(): opening /dev/parport0...
13:24.13hamishmDebug:   gw16012.c:489 gw16012_init(): ...open
13:24.13hamishmSegmentation fault
13:24.58vmastercan you run with gdb to see where it segfaults?
13:25.51hamishmin gw16012_init, in some assembler code in /usr/include/sys/io.h line 99
13:25.55hamishm99        __asm__ __volatile__ ("outb %b0,%w1": :"a" (value), "Nd" (port));
13:26.32hamishmoh I should've put that last modification inside the #ifndef PPDEV.. oops
13:27.36hamishmok fixed, runs but fails as before
13:28.07hamishmthe 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.05hamishmi've gotta go.. thanks for your efforts
13:43.26*** join/#openjtag bullet (n=bullet@197.198.62.81.cust.bluewin.ch)
13:44.07vmasterhamishm: i'll look into this once i have my xscale problems sorted out
13:44.14vmastercurrently it's hard to tell what is going wrong
13:44.37hamishmtnx. if you want me to try anything you have my email still?
13:44.45vmasteryeah, got it
13:44.54hamishmtnx. 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)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.