Re: [OpenOCD-devel] configure broken

2011-12-31 Thread Xiaofan Chen
On Sun, Jan 1, 2012 at 1:36 PM, Peter Stuge wrote: > Xiaofan Chen wrote: >> And this particular linking issue might not have anything to >> do with openocd at all, probably rather a autotools issue >> with Mac OS X or my own setup. > > libusb linker and library flags should come from pkg-config. I

Re: [OpenOCD-devel] configure broken

2011-12-31 Thread Peter Stuge
Xiaofan Chen wrote: > >> I still have the issue with libusb-1.0. > > > > That initial libusb-1.0 commit which received comprehensive review > > and revision will be reverted since it's not done yet. > > Hmm, I think it is not good to revert the commit since I have > not seen other complaints. Unf

Re: [OpenOCD-devel] configure broken

2011-12-31 Thread Xiaofan Chen
On Sat, Dec 31, 2011 at 11:30 PM, Peter Stuge wrote: > Xiaofan Chen wrote: >> I still have the issue with libusb-1.0. > > That initial libusb-1.0 commit which received comprehensive review > and revision will be reverted since it's not done yet. Hmm, I think it is not good to revert the commit si

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Freddie Chopin
The first tester reports that what he tested works fine with OpenOCD. Is it OK for me to write a positive review in gerrit if there are more positive reports? Or maybe OpenOCD maintainers will handle this patch series on their own when they decide that it's ready for commiting? 4\/3!!

Re: [OpenOCD-devel] configure broken

2011-12-31 Thread Peter Stuge
Xiaofan Chen wrote: > I still have the issue with libusb-1.0. That initial libusb-1.0 commit which received comprehensive review and revision will be reverted since it's not done yet. //Peter -- Ridiculously easy VDI. W

Re: [OpenOCD-devel] configure broken

2011-12-31 Thread Xiaofan Chen
On Sat, Dec 31, 2011 at 9:40 PM, Eric Parsonage wrote: > Yes I had that problem but you can get around it here is a snippet from a > macport I have made for lion > > > configure.args-append   --enable-ft2232_libftdi=yes \ >                        --enable-usb_blaster_libftdi=yes \ >              

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Mathias K.
Yes thats true for the moment. On 31.12.2011 14:41, Freddie Chopin wrote: > W dniu 2011-12-31 14:33, Mathias K. pisze: >> Looks like a ST-LINK/V1, the usb layer is quite different than the V2. > > Oh... So this code is for stlink v2 only? > > 4\/3!! ---

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Mathias K.
You need to enable stlink with "--enable-stlink" as configure parameter. On 31.12.2011 14:29, Freddie Chopin wrote: > W dniu 2011-12-31 14:19, Damjan Marion pisze: >> I can test it on STM32F4DISCOVERY board which have embedded ST-LINK/V2. > > The file is available for download from http://www.wrz

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Freddie Chopin
W dniu 2011-12-31 14:33, Mathias K. pisze: > Looks like a ST-LINK/V1, the usb layer is quite different than the V2. Oh... So this code is for stlink v2 only? 4\/3!! -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you

Re: [OpenOCD-devel] configure broken

2011-12-31 Thread Xiaofan Chen
On Sat, Dec 31, 2011 at 9:17 PM, Damjan Marion wrote: > > > Hi, > > I just tried to compile freshly cloned master and "../configure > --enable-maintainer-mode" results with: > > [snip] > === configuring in jimtcl (/data/src/openocd/_b/jimtcl) > configure: running /bin/sh ../../jimtcl/configure.gn

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Mathias K.
Hello, On 31.12.2011 12:55, Freddie Chopin wrote: > W dniu 2011-12-31 11:37, Mathias K. pisze: >> testing would be nice. > > I can provide anyone with package for windows. It compiles fine BTW. > >> The configuration files are already uploaded to: >> >> http://openocd.zylin.com/#change,286 >> ht

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Mathias K.
Hello, On 31.12.2011 14:29, Freddie Chopin wrote: > W dniu 2011-12-31 14:19, Damjan Marion pisze: >> I can test it on STM32F4DISCOVERY board which have embedded ST-LINK/V2. > > The file is available for download from http://www.wrzuc.to/ca3Nwf.wt > > It seems strange to me, but in Windows ST-Lin

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Freddie Chopin
W dniu 2011-12-31 14:19, Damjan Marion pisze: > I can test it on STM32F4DISCOVERY board which have embedded ST-LINK/V2. The file is available for download from http://www.wrzuc.to/ca3Nwf.wt It seems strange to me, but in Windows ST-Link is visible as a mass-storage device... probably only... 4\

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Mathias K.
Hello, On 31.12.2011 13:17, Uwe Bonnes wrote: > > >> I have test it under linux/libusb and i think libusb-win32 is fine > >> also. > > Freddie> We'll see - I have a first volounteer to test it [; You used > Freddie> libusb-0.1 or libusb-1.0? Maybe I'll borrow ST-Link from > F

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Damjan Marion
On Dec 31, 2011, at 12:55 PM, Freddie Chopin wrote: > We'll see - I have a first volounteer to test it [; You used libusb-0.1 > or libusb-1.0? Maybe I'll borrow ST-Link from someone next week too. I can test it on STM32F4DISCOVERY board which have embedded ST-LINK/V2. Damjan

[OpenOCD-devel] configure broken

2011-12-31 Thread Damjan Marion
Hi, I just tried to compile freshly cloned master and "../configure --enable-maintainer-mode" results with: [snip] === configuring in jimtcl (/data/src/openocd/_b/jimtcl) configure: running /bin/sh ../../jimtcl/configure.gnu '--prefix=/usr/local' '--enable-maintainer-mode' --cache-file=/dev/

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Uwe Bonnes
> "Freddie" == Freddie Chopin writes: Freddie> W dniu 2011-12-31 11:37, Mathias K. pisze: >> testing would be nice. Freddie> I can provide anyone with package for windows. It compiles fine Freddie> BTW. >> The configuration files are already uploaded to: >> >> h

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Freddie Chopin
W dniu 2011-12-31 11:37, Mathias K. pisze: > testing would be nice. I can provide anyone with package for windows. It compiles fine BTW. > The configuration files are already uploaded to: > > http://openocd.zylin.com/#change,286 > http://openocd.zylin.com/#change,287 I wonder why stlink has "stl

Re: [OpenOCD-devel] ST-Link support

2011-12-31 Thread Mathias K.
Hello, testing would be nice. The configuration files are already uploaded to: http://openocd.zylin.com/#change,286 http://openocd.zylin.com/#change,287 I have test it under linux/libusb and i think libusb-win32 is fine also. Regards, Mathias On 31.12.2011 10:18, Freddie Chopin wrote: > Hi

[OpenOCD-devel] ST-Link support

2011-12-31 Thread Freddie Chopin
Hi! Are the ST-Link patches "on hold" because of lack of testing with ST-Link or something else? If that's the problem I can try to find some people to do some testing and provide for them a binary of OpenOCD. But I'd welcome some more info about how to use it. I guess it uses libusb, and libu

Re: [OpenOCD-devel] build issues

2011-12-31 Thread Freddie Chopin
W dniu 2011-12-27 11:59, Spencer Oliver pisze: > A patch for this is already in gerrit - can you test it? > > http://openocd.zylin.com/298 The patch is fine - I've just tested and posted a review in Gerrit. 4\/3!! -- Ri