Re: [Openocd-development] [PATCH] support for TCL events

2008-08-08 Thread Spen
> The file event code needs work(posted to jim-devel), but the > timer event stuff should be fine. I added one cast from void > * to FILE * to make it compile under Cygwin... > > > one issue is we cannot use select on a std file descriptor, > eg. stdin, > > stdout etc. > > I suggest that we s

Re: [Openocd-development] [PATCH] support for TCL events

2008-08-08 Thread Øyvind Harboe
> i can fix the errors (include replacements.h and cast Jim_FileEvent->handle) > but have no idea what it all should do. > should handle be a void* ? The file event code needs work(posted to jim-devel), but the timer event stuff should be fine. I added one cast from void * to FILE * to make it com

Re: [Openocd-development] [PATCH] support for TCL events

2008-08-08 Thread Spen
> Did you use cygwin or mingw? i test using mingw, cygwin and linux. issue above is with mingw. This is what i sent to Øyvind. if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/target -DPKGDATADIR=\"/usr/local/share/openocd\" -DPKGLIBDIR=\"/usr/local/lib/openocd\"-O0

Re: [Openocd-development] Patch: update CFI documentation

2008-08-08 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openoc

[Openocd-development] mips support?

2008-08-08 Thread Kristofer Krus
Hello! I read in a post at the sparkfun forum that it has been added preliminary support to OpenOCD for the MIPS m4k processor, but that it's still in progress. This is what exists about the MIPS processor in the help file non-arm-targets.txt: "Currently OpenOCD has a MIPS target defined. Thi

[Openocd-development] Patch: update CFI documentation

2008-08-08 Thread Michael Schwingen
Hi, the CFI section in the manual is missing the jedec_probe optionn. cu Michael -- Some people have no respect of age unless it is bottled. Index: openocd.texi === --- openocd.texi (revision 900) +++ openocd.texi (working copy) @@

Re: [Openocd-development] programming AT91SAM9260 with openocd

2008-08-08 Thread Stefan Schoenleitner
Hello, Dominic Rath wrote: > Hi, > > the OpenOCD contains support for some controllers with NAND interfaces, but > the AT91SAM9260 isn't currently supported. I looked into this once, but > SAM-BA is so easy to use, I didn't bother working on OpenOCD support for the > SAM9s. > > There's a Linu

Re: [Openocd-development] [PATCH] support for TCL events

2008-08-08 Thread Øyvind Harboe
On Fri, Aug 8, 2008 at 9:21 AM, David Kuehling <[EMAIL PROTECTED]> wrote: >> "Øyvind" == Øyvind Harboe <[EMAIL PROTECTED]> writes: > >> Committed. >>> Most of the 'target_script' functionality seems to be unavailable in >>> SVN head. The only target script that is actually called in the >>> so

Re: [Openocd-development] [PATCH] support for TCL events

2008-08-08 Thread David Kuehling
> "Øyvind" == Øyvind Harboe <[EMAIL PROTECTED]> writes: > Committed. >> Most of the 'target_script' functionality seems to be unavailable in >> SVN head. The only target script that is actually called in the >> sources is 'pre_resume'. Neither 'post_halt' nor 'reset' seem >> supported. > Pl

Re: [Openocd-development] [PATCH] support for TCL events

2008-08-08 Thread David Kuehling
> "Spen" == Spen <[EMAIL PROTECTED]> writes: >> >> If you find flaws with my patch, please tell me and I'll be happy to >> fix/rewrite whatever is wrong. >> > This breaks win32 build, any ideas? Can you post the full output of the compilation? Thinking about windows compatability I alrea