Page 16 of 18

Re: ChibiOS OpenOCD support

Posted: Mon Nov 05, 2012 2:38 pm
by mabl
Hi Giovanni,

nice idea about the powerpc stuff - probably it does not get enough love. Do you know of a nice devboard?

On a related note: All my patches are accepted upstream master now. So you guys can just grep the latest stuff from the repo again. Please let me know if there are any problems.

Re: ChibiOS OpenOCD support

Posted: Mon Nov 05, 2012 2:43 pm
by Giovanni
Soon there will be cheap development boards :) I have the prototype on my desk.

Giovanni

Re: ChibiOS OpenOCD support

Posted: Fri Nov 09, 2012 11:26 am
by Freddie Chopin
mabl wrote:Ok, I tried cross-compiling oocd, the result can be found here: http://static.blaicher.com/msc/chibios/ ... iosfix.zip

Code: Select all

./configure --enable-maintainer-mode --build=x86_64-linux-gnu --host=i586-mingw32msvc  --disable-werror   --with-ftd2xx-win32-zipdir=/home/mabl/Downloads/cdm  --enable-ft2232_ftd2xx  --prefix=$PWD/_install


I've not tried it, but maybe it is useful for some Windows user, maybe Giovanni?

You do realize that you've violated GPL now?

4\/3!!

Re: ChibiOS OpenOCD support

Posted: Fri Nov 09, 2012 12:18 pm
by mabl
Hmpf.. it was only a matter of time somebody showed up... :twisted: I'm just frank in this instance and say that I don't really care.

Re: ChibiOS OpenOCD support

Posted: Fri Nov 09, 2012 12:45 pm
by Freddie Chopin
You care to post that to the openocd mailing list? If I would do that I could be called a snitch. You can provide a link for others to download (;

libftdi is in fact slower, but does that really matter? libusb on the other hand (with new MPSSE driver from Andreas) is really fast, I think I saw numbers showing that it's comparable to ftd2xx, so why bother with ftd2xx?

On the other hand - if you don't care about OpenOCD's GPL do you care about ChibiOS/RT license or maybe the same attitude applies?

4\/3!!

Re: ChibiOS OpenOCD support

Posted: Fri Nov 09, 2012 1:17 pm
by mabl
Hi Freddie,

I see a difference between using GPL code without opening it up and "just" linking against bad code. But of course you are right. I've already asked in the IRC channel on how to compile against a "better" driver - no answer yet. Once I figure it out, I'll replace the zip file.

Re: ChibiOS OpenOCD support

Posted: Fri Nov 09, 2012 1:28 pm
by Giovanni
Until you distribute the "combined work" but just use it for yourself you are not in violation of the GPL.

Giovanni

Re: ChibiOS OpenOCD support

Posted: Fri Nov 09, 2012 1:40 pm
by Freddie Chopin
mabl wrote:I see a difference between using GPL code without opening it up and "just" linking against bad code. But of course you are right. I've already asked in the IRC channel on how to compile against a "better" driver - no answer yet. Once I figure it out, I'll replace the zip file.

Download my package, in the info.txt you have full commands used to compile the binary. Of course you need to have libs (and headers) in your system (libftdi, libusb-win32, linusb-1.0) - you have to get them somewhere or compile them yourself.

Giovanni wrote:Until you distribute the "combined work" but just use it for yourself you are not in violation of the GPL.

We're clearly dealing with public distribution here, right?

4\/3!!

Re: ChibiOS OpenOCD support

Posted: Fri Nov 09, 2012 2:15 pm
by Giovanni
Yes, the zip contains the executable so it has been distributed.

Pleare remove the link.

Giovanni

Re: ChibiOS OpenOCD support

Posted: Fri Nov 09, 2012 2:27 pm
by mabl
I've deleted the link. Freddie could I ask you to create a new build from oocd master? I'm not expert in this windows stuff...