ChibiOS OpenOCD support

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
mabl
Posts: 417
Joined: Tue Dec 21, 2010 10:19 am
Been thanked: 1 time

Re: ChibiOS OpenOCD support

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: ChibiOS OpenOCD support

Post by Giovanni »

Soon there will be cheap development boards :) I have the prototype on my desk.

Giovanni
Freddie Chopin
Posts: 36
Joined: Wed Oct 17, 2012 8:57 am

Re: ChibiOS OpenOCD support

Post 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!!
mabl
Posts: 417
Joined: Tue Dec 21, 2010 10:19 am
Been thanked: 1 time

Re: ChibiOS OpenOCD support

Post 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.
Freddie Chopin
Posts: 36
Joined: Wed Oct 17, 2012 8:57 am

Re: ChibiOS OpenOCD support

Post 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!!
mabl
Posts: 417
Joined: Tue Dec 21, 2010 10:19 am
Been thanked: 1 time

Re: ChibiOS OpenOCD support

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: ChibiOS OpenOCD support

Post by Giovanni »

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

Giovanni
Freddie Chopin
Posts: 36
Joined: Wed Oct 17, 2012 8:57 am

Re: ChibiOS OpenOCD support

Post 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!!
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: ChibiOS OpenOCD support

Post by Giovanni »

Yes, the zip contains the executable so it has been distributed.

Pleare remove the link.

Giovanni
mabl
Posts: 417
Joined: Tue Dec 21, 2010 10:19 am
Been thanked: 1 time

Re: ChibiOS OpenOCD support

Post 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...
Post Reply