Re: [Openocd-development] Compilation errors

2011-05-27 Thread Luc ANTOLINOS
On 26 May 2011 20:35, Freddie Chopin freddie_cho...@op.pl wrote: Hi! I'm trying to compile new OpenOCD source (from git) in my crosscompilation setup but I see these errors: /../../src/rtos/'`rtos.c libtool: compile:  i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../src/rtos

Re: [Openocd-development] Compilation errors

2011-05-27 Thread Laurent Gauch
I will try again today, but esterday I compiled openocd d2xx on cygwin and on mingw for 32bits and 64bits without any error. Everything fine ! Note: the problem we meet during April is now gone - thank you Spencer Oliver. Regards, Laurent http://www.amontec.com

Re: [Openocd-development] [PATCH] mips target

2011-05-27 Thread Drasko DRASKOVIC
On Thu, May 26, 2011 at 2:15 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: This patch fixes an obvious bug. It's not so obvious to me. I'll have to take a closer look. Unless I hear objections, I will merge. I can check on Monday or Tuesday. I am very suspicious because I spent several

Re: [Openocd-development] [PATCH] mips target

2011-05-27 Thread Drasko DRASKOVIC
On Thu, May 26, 2011 at 2:06 PM, Mahr, Stefan stefan.m...@sphairon.com wrote: Btw.: There is still an endianness issue with mips target. Drasko adds endianness swapping (that I removed two years ago) Why did you remove it ? I removed swapping in mips_m4k, because for commands like mdw the

Re: [Openocd-development] [PATCH] mips target

2011-05-27 Thread Mahr, Stefan
Please don't mix the two issues. My patch fixes an endianness problem when OpenOCD is build for running on a big endian host. For little endian host everything works as usual. The second problem is swapping endian twice when using mdw command - as explained in my mail yesterday. You just have

Re: [Openocd-development] [PATCH] mips target

2011-05-27 Thread Øyvind Harboe
On Fri, May 27, 2011 at 1:27 PM, Mahr, Stefan stefan.m...@sphairon.com wrote: My patch fixes an endianness problem when OpenOCD is build for running on a big endian host. For little endian host everything works as usual. Ack. -- Øyvind Harboe Can Zylin Consulting help on your project? US

Re: [Openocd-development] [PATCH] mips target

2011-05-27 Thread Mahr, Stefan
I removed swapping in mips_m4k, because for commands like mdw the swapping was already done in target.c. If a target was selected as big endian, swapping was done twice. So setting endianness had no effect. I did not realized that dump_image works different. What do you concern under

Re: [Openocd-development] [PATCH] mips target

2011-05-27 Thread Drasko DRASKOVIC
On Fri, May 27, 2011 at 1:27 PM, Mahr, Stefan stefan.m...@sphairon.com wrote: Please don't mix the two issues. My patch fixes an endianness problem when OpenOCD is build for running on a big endian host. For little endian host everything works as usual. What two issues ? I never mentioned LE

[Openocd-development] Jlink support

2011-05-27 Thread Paul Claessen
I built OpenOCD 0.5.0-dev-00882 the other day with Jlink support enabled. It built okay, but when I tried to use it I got some errors (See below for error log). They seem to hint at USB endpoint problems (but I could be totally wrong). I found several links on the web (links given below) that

Re: [Openocd-development] Compilation errors

2011-05-27 Thread Laurent Gauch
Hi, You're right, the last version from git cannot be compiled from my mingw too, but can be compiled with my cygwin ;-) But with mingw, i do not have the same error as you, but related to tclsh, strange . Regards, Laurent ___