Re: [Openocd-development] OpenOCD Gerrit Review

2011-10-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:31 Wed 12 Oct , Peter Stuge wrote: > Jean-Christophe PLAGNIOL-VILLARD wrote: > > how about using patchwoek simply as done for the kernel ML? > > One significant benefit of Gerrit is that it integrates really well > with git. Gerrit takes input from git, and output f

Re: [Openocd-development] OpenOCD Gerrit Review

2011-10-12 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, how about using patchwoek simply as done for the kernel ML? Best Regards, J. On 13:40 Tue 11 Oct , Spencer Oliver wrote: > Hi, > > We are now testing Gerrit for use within OpenOCD. > A Gerrit server has been setup at the following url: > http://openocd.zylin.com/ > > To keep loa

Re: [Openocd-development] Does OpenOCD suppor the Embedded Trace Macrocell (ETM) Registers?

2011-09-22 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, I'll try on my chip at home Best Regards, J. On 10:19 Wed 21 Sep , Peter Tympanick wrote: > Does anyone know if users of OpenOCD can access the ETM Regisiters? > > > Peter Tympanick > Product Manager > Ultimate Solutions, Inc. > ==

Re: [Openocd-development] Coding style plan

2011-08-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:26 Tue 30 Aug , Øyvind Harboe wrote: > Goal: switch OpenOCD to use the Kernel coding style > > Plan: > > a) get all outstanding patches merged > b) do wholesale automated(hopefully) code style fix > d) patch w/documentation and scripts to enforce the new coding style. > > Resources: >

Re: [Openocd-development] Coding style

2011-08-29 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, personnally I'd like we use the same coding style as the kernel in the kernel anre barebox we use checkpatch to check the patch coding style Best Regards, J. On 19:40 Sat 27 Aug , Øyvind Harboe wrote: > As a maintainer I'm interested in this subject from the point

Re: [Openocd-development] Fwd: Re: JLink woes

2011-08-25 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:52 Thu 25 Aug , Xiaofan Chen wrote: > On Fri, Aug 19, 2011 at 9:03 PM, Antonio Borneo > wrote: > > On Fri, Aug 19, 2011 at 6:36 PM, Xiaofan Chen wrote: > >> [...] > >> Thanks a lot for the updates. Yes I can confirm that V4.33h beta firmware > >> fixed the issue with OpenOCD for V8 vers

Re: [Openocd-development] Next release

2011-08-25 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:12 Thu 25 Aug , Øyvind Harboe wrote: > Hi, > > is anyone out there working on something that they would like > to see in the next release? > > I know Tomek has been working on SWD. Here we need resources > to review, give feedback and look into what it would take to bring > this to a st

Re: [Openocd-development] FreeRTOS bug fixes

2011-08-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:54 Tue 23 Aug , Øyvind Harboe wrote: > Do we need a bugfix release? yes I've a bug on the usb in cross comp when integrate openocd in buildroot so I'll prepare a bugfix release within 1 or 2weeks > > When is the next release? I'm traveling right now so give me few days to prepare the ne

Re: [Openocd-development] FreeRTOS bug fixes

2011-08-23 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, this one could go on the bug fix release Best Regards, J. On 21:22 Mon 22 Aug , Evan Hunter wrote: >Hi All, > > > >Attached are two patches that fix bugs that I've found in FreeRTOS thread >awareness. > > > >Regards, > > > >Evan Hunter > >

Re: [Openocd-development] [PATCH] fix cross compilation: host libsub was used before

2011-08-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:35 Tue 09 Aug , Jean-Christophe PLAGNIOL-VILLARD wrote: > tested in buildroot any comments? Best Regards, J. > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > configure.in |7 +-- > 1 files changed, 5 insertions(+), 2 deletions(-) > > dif

Re: [Openocd-development] JLink woes

2011-08-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:04 Sat 13 Aug , Carlson Gary wrote: > Hi Eric, > > I have worked a little on the jlink stuff in the past and fixed a few > problems with OpenOCD. I have a new project that is going to force me to > buy an unrestricted Segger very shortly since my current jlink dongles are > Atmel-only d

Re: [Openocd-development] 0.5.0 release

2011-08-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:56 Thu 11 Aug , Luca BRUNO wrote: > Jean-Christophe PLAGNIOL-VILLARD scrisse: > > > HI, > > > > I finally get the time to generate the release > > > > Sorry for the delay I was busy on the kernel and barebox > > merge windo

Re: [Openocd-development] [PATCH] fix cross compilation: host libsub was used before

2011-08-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:35 Tue 09 Aug , Jean-Christophe PLAGNIOL-VILLARD wrote: > tested in buildroot > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- ok for everyone? if yes I'll prepare a 0.5.1 release as we can not cross compile openocd under buildroot without it

Re: [Openocd-development] rebase vs. merge

2011-08-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:20 Wed 10 Aug , Øyvind Harboe wrote: > > I think it's very reasonable to require any pull request to apply > > cleanly to current tree. > > Say we have 2 outstanding pull requests, both impeccable. > > Then when I pull to push to the repository, then without rebasing on > my end I will

Re: [Openocd-development] rebase vs. merge

2011-08-10 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, in the kernel and barebox we avoid as much as possible the rebase as you loose information when you do so. When you rebase you do not known against which commit the current pull request was tested This histary is important specially when you apply mult

Re: [Openocd-development] [PULL Request] dsp5680xx - naming, error propagation, default params

2011-08-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:46 Tue 09 Aug , Rodrigo Rosa wrote: > hi > > first "pull request" attempt > is there a HACKING doc for this procedure? > > commands i used to try this out were > > git remote add dsp5680xx git://repo.or.cz/openocd/dsp568013.git > git fetch dsp5680xx > git checkout -b merge_tmp > git me

Re: [Openocd-development] [PULL Request] Flash program speedup through asynchronous algorithms

2011-08-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:15 Tue 09 Aug , Øyvind Harboe wrote: > Any objections? > > I tried the command line below and it worked perfectly! :-) > > git checkout origin/master > git pull --rebase http://repo.or.cz/r/openocd/andreasf.git async_algo normaly it's, we do not rebase the code git merge http://repo.o

[Openocd-development] [PATCH] fix cross compilation: host libsub was used before

2011-08-09 Thread Jean-Christophe PLAGNIOL-VILLARD
tested in buildroot Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- configure.in |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index dfa1e8f..cfe2218 100644 --- a/configure.in +++ b/configure.in @@ -1046,8 +1046,11 @@ build_usb=no

Re: [Openocd-development] 0.5.0 release

2011-08-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 07:50 Tue 09 Aug , Tomek CEDRO wrote: > Ugh, why this is a release not RC3? We did not test RC to have go for > a release... are we supposed to test on a release? :\ there was no patch during day so as I said no rc we get more than 4weeks of fix windows it's enough If some bug are found on

Re: [Openocd-development] 0.5.0 release

2011-08-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:18 Tue 09 Aug , Øyvind Harboe wrote: > Hi Jean-Christophe, > > thank you so much for your work here! > > I'm looking forward to hear feedback on this release. > > We're on the right track here I think with a couple of releases > a year! > > When will the merge window open? already ope

Re: [Openocd-development] Tags

2011-08-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:56 Fri 05 Aug , Øyvind Harboe wrote: > When I run git describe now I get v0.4.0-973-g0d7a948 rather than > a v0.5.0-rc2-. > > Is that intentional? > > I think it's nice that we stick to v0.4.0- until v0.5.0- goes out > of the door. > > I have no particular opinion, except i

[Openocd-development] Last call before release

2011-08-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, I'm going to create the 0.5.0 release If any patch are still pending ping the patch or send a e-mail with a link to it as announce before I've delay the release a little as we have the linux kerne merge windows this days if nothing new I'll r

Re: [Openocd-development] OpenOCD 0.5.0-rc2 release

2011-07-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:22 Mon 11 Jul , Spencer Oliver wrote: > On 11 July 2011 07:31, Jean-Christophe PLAGNIOL-VILLARD > wrote: > >> Totally agree on this - FreeBSD ports use automatic package download > >> and extraction mechanism, so having tarball for RC2 would be great! > >

Re: [Openocd-development] JLink woes

2011-07-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:43 Sun 10 Jul , li...@neuronenwerk.de wrote: > On Sun, 10 14:38 , Jean-Christophe PLAGNIOL-VILLARD wrote: > > On 09:30 Sun 10 Jul , Xiaofan Chen wrote: > > > On Sun, Jul 10, 2011 at 9:11 AM, wrote: > > > > Hi list, > > > > > ... snip

Re: [Openocd-development] OpenOCD 0.5.0-rc2 release

2011-07-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:20 Sun 10 Jul , Tomek CEDRO wrote: > On Sun, Jul 10, 2011 at 2:41 PM, Luca Bruno wrote: > > As a sidenote, publishing tarball for -rc helps testing in conditions > > similar to the final one, avoiding late bugs introduced by autotools > > packaging or similar. > > Totally agree on this

Re: [Openocd-development] OpenOCD 0.5.0-rc2 release

2011-07-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:59 Sun 10 Jul , Øyvind Harboe wrote: > On the subject of tarballs for release candidates. I think David > Brownell and Zach Welch used to do this. > > At least I think you presented some evidence that perhaps at least > the *first* rc should be a tarball so as to catch any problems w

Re: [Openocd-development] JLink woes

2011-07-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:30 Sun 10 Jul , Xiaofan Chen wrote: > On Sun, Jul 10, 2011 at 9:11 AM, wrote: > > Hi list, > > > > I've been trying for some days to get the Segger JLink EDU > > version going with OpenOCD on Windows 7 32 bit. As the JLink, > > OpenOCD and LibUSB might have be the reason for the failure

Re: [Openocd-development] Windows 7 & J-Link Problems

2011-07-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:05 Wed 06 Jul , Xiaofan Chen wrote: > On Wed, Jul 6, 2011 at 10:02 PM, Eric Wetzel wrote: > > > > This built cleanly, and I got an openocd.exe that doesn't segfault > > immediately and ldd says doesn't depend on cygwin1.dll. Those seem > > like positive things. The trouble comes when I t

Re: [Openocd-development] Please welcome Jean-Christophe as release manager

2011-07-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:05 Mon 04 Jul , Freddie Chopin wrote: > On 2011-07-04 16:11, Jean-Christophe PLAGNIOL-VILLARD wrote: > >I'll prepare the tarball on sf.net > > A tarball would be highly appreciated (; Drop us a line on the list > when it will be available! (; for rc I think a tarb

[Openocd-development] OpenOCD 0.5.0-rc2 release

2011-07-04 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, Today is RC day Here is OpenOCD v0.5.0-rc2 This time on the official git tree The following changes since commit ff640f197a9a343b2f3ed10e9174e35282334e8c: cortex_m3: add auto maskisr (2011-06-28 14:16:48 +0100) are available in the git repository at: git://openo

Re: [Openocd-development] Please welcome Jean-Christophe as release manager

2011-07-04 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:17 Mon 04 Jul , Luca Bruno wrote: > Jean-Christophe PLAGNIOL-VILLARD scrisse: > > > I'll send a patch to sumurize all our discussion about the new release > > process this WE > > It will be nice to have a list of Maintainer and their role to > > spec

Re: [Openocd-development] GPL wiz

2011-07-02 Thread Jean-Christophe PLAGNIOL-VILLARD
On 07:28 Fri 01 Jul , Øyvind Harboe wrote: > Is there a GPL wiz in the house? > > Can we accept anonymous contributions just like that? > > I know there are anonymous contributions in Linux. My Point will be simple each must have the SOB which imply that the author agree that his patch is un

Re: [Openocd-development] Please welcome Jean-Christophe as release manager

2011-06-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:35 Thu 30 Jun , Øyvind Harboe wrote: > > It will be nice to have a list of Maintainer and their role to specify which > > part of OpenOCD they take care of > > Admin / maintainer: > > "Spencer Oliver" , > "Øyvind Harboe" , > > Maintainer: "Peter Stuge" > > and yourself... no one for

Re: [Openocd-development] Please welcome Jean-Christophe as release manager

2011-06-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:23 Thu 30 Jun , Øyvind Harboe wrote: > Please give a warm welcome to Jean-Christophe as the release > manager. > > He will be laying down some new ground rules for how we > treat the git repository and how we handle the release process. > > As well as releases, we're looking forward to

Re: [Openocd-development] RFC Release Cycle

2011-06-29 Thread Jean-Christophe PLAGNIOL-VILLARD
On 07:21 Wed 29 Jun , Øyvind Harboe wrote: > >> I'd have some reservations about only one person having write > >> access, but not particularly the way of working. Call me old fashioned. > > Does not mean you do not have the write access does just mean you dont use > > it > > As example if the

Re: [Openocd-development] OpenOCD 0.5.0-rc1 release

2011-06-29 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:13 Wed 29 Jun , Øyvind Harboe wrote: > On Wed, Jun 29, 2011 at 7:43 AM, simon qian > wrote: > > Is it possible to update Versaloon driver in 0.5.0 release? > > Mail me if there is any problem with the driver patch. > > I don't have a problem with applying this patch as it only affects

Re: [Openocd-development] OpenOCD 0.5.0-rc1 release

2011-06-29 Thread Jean-Christophe PLAGNIOL-VILLARD
On 07:24 Wed 29 Jun , Øyvind Harboe wrote: > On Wed, Jun 29, 2011 at 2:30 AM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 20:20 Tue 28 Jun     , Øyvind Harboe wrote: > >> Where is the plan? > > I'll write the patch when we have finish the discussion ab

Re: [Openocd-development] RFC Release Cycle

2011-06-29 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:34 Wed 29 Jun , Øyvind Harboe wrote: > So when I send a pull request to you from my repository, would > you rebase or merge? merge never rebase the master repo > > We now have a nice linear history, which gives me a warm fuzzy > feeling for a simple project like OpenOCD > > What wou

Re: [Openocd-development] OpenOCD 0.5.0-rc1 release

2011-06-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:20 Tue 28 Jun , Øyvind Harboe wrote: > Where is the plan? I'll write the patch when we have finish the discussion about the workflow now we just close the merge window > > Could you create a mirror at the openocd git mirror? > > We've done that so far and it makes it easier to find stuf

Re: [Openocd-development] RFC Release Cycle

2011-06-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:56 Tue 28 Jun , Øyvind Harboe wrote: > On Tue, Jun 28, 2011 at 7:30 PM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 19:39 Tue 28 Jun     , Øyvind Harboe wrote: > >> > but now all the maintainer will have their own fork/repository > >> > as don

Re: [Openocd-development] RFC Release Cycle

2011-06-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:15 Tue 28 Jun , Øyvind Harboe wrote: > On Tue, Jun 28, 2011 at 6:58 PM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 19:04 Tue 28 Jun     , Øyvind Harboe wrote: > >> > The best way to do is to choose one git tree as the master git > >> > then eac

Re: [Openocd-development] RFC Release Cycle

2011-06-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:39 Tue 28 Jun , Øyvind Harboe wrote: > > but now all the maintainer will have their own fork/repository > > as done in the kernel > > Right. And you will pull & merge from us and push the result to the > master branch? exactly Best Regards, J. ___

Re: [Openocd-development] Jlink support: multiple devices

2011-06-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:02 Tue 28 Jun , Paul Claessen wrote: > Greetings ... > > Question for the J-link developer (Jean-Christophe?), or anyone who > knows the answer: > > Is there a way to hookup and use multiple Segger J-Links devices > with OpenOCD? Yes you can I use it everyday and I implement it in openO

Re: [Openocd-development] RFC Release Cycle

2011-06-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:04 Tue 28 Jun , Øyvind Harboe wrote: > > The best way to do is to choose one git tree as the master git > > then each maintainer will have their one git tree too > > where they manage it how they want. > > All the maintainers have their own repositories and forks at the git > mirror, but

Re: [Openocd-development] RFC Release Cycle

2011-06-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 07:30 Tue 21 Jun , Øyvind Harboe wrote: > 2011/6/21 Jon Povey : > > Øyvind Harboe wrote: > >> I am struggling a bit following the above, but I think we agree: > >> > >> - development goes on in master like it always has done > >> - you create a fork at the openocd mirror and create a > >> re

Re: [Openocd-development] RFC Release Cycle

2011-06-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:32 Fri 17 Jun , Øyvind Harboe wrote: > > if possible a MAINTAINER file as done in the linux kernel > > Do you want to write up the definitions and procedures in a patch for > MAINTAINER file and then I can commit it to OpenOCD master branch > before we start this cycle? > > I think it w

Re: [Openocd-development] RFC Release Cycle

2011-06-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:57 Fri 17 Jun , Øyvind Harboe wrote: > > so we do two tree the next tree (yours) and the release tree > > > > if multiple maintainer eed to merge code together they will send it the the > > RM > > in his next branch > > > > the description will be what must follow the release tree for th

Re: [Openocd-development] RFC Release Cycle

2011-06-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:39 Fri 17 Jun , Michael Schwingen wrote: > Am 06/17/2011 03:15 AM, schrieb Jean-Christophe PLAGNIOL-VILLARD: > > Hi all, > > > > I'd like to propose the following release cycle > > > > For the people familiar with Linux kernel its basica

Re: [Openocd-development] RFC Release Cycle

2011-06-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:03 Fri 17 Jun , Øyvind Harboe wrote: > On Fri, Jun 17, 2011 at 8:25 AM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 08:17 Fri 17 Jun     , Ųyvind Harboe wrote: > >> Some questions/comments: > >> > >> - if we look at the current way we work wit

Re: [Openocd-development] RFC Release Cycle

2011-06-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:35 Fri 17 Jun , Jean-Christophe PLAGNIOL-VILLARD wrote: > On 08:17 Fri 17 Jun , Øyvind Harboe wrote: > > Some questions/comments: > > > > - if we look at the current way we work with OpenOCD, we just > > commit stuff to the master branch without regard

Re: [Openocd-development] RFC Release Cycle

2011-06-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:17 Fri 17 Jun , Øyvind Harboe wrote: > Some questions/comments: > > - if we look at the current way we work with OpenOCD, we just > commit stuff to the master branch without regards to a release. > I would like this to continue in the same manner, which I don't > think is in conflict wit

Re: [Openocd-development] RFC Release Cycle

2011-06-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:17 Fri 17 Jun , Øyvind Harboe wrote: > Some questions/comments: > > - if we look at the current way we work with OpenOCD, we just > commit stuff to the master branch without regards to a release. > I would like this to continue in the same manner, which I don't > think is in conflict wit

[Openocd-development] RFC Release Cycle

2011-06-16 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi all, I'd like to propose the following release cycle For the people familiar with Linux kernel its basically the same 2 development window: merge window fix window We will get 2 weeks of merge window where any code can be merge in the m

Re: [Openocd-development] New development version of OpenOCD available at last!

2011-06-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:05 Wed 15 Jun , Øyvind Harboe wrote: > On Wed, Jun 15, 2011 at 5:33 PM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 23:04 Tue 07 Jun     , Ųyvind Harboe wrote: > >> Nobody has stepped up to do the work of being a release > >> manager. > > If no-

Re: [Openocd-development] New development version of OpenOCD available at last!

2011-06-15 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:04 Tue 07 Jun , Øyvind Harboe wrote: > Nobody has stepped up to do the work of being a release > manager. If no-one do it I'll Best Regards, J. ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/m

Re: [Openocd-development] [PATCH] use one configuration for all JTAGkey devices.

2011-06-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:42 Thu 09 Jun , Laurent Gauch wrote: > > > >On 15:25 Tue 07 Jun , Laurent Gauch wrote: > >>/ > > >/>/ >/If our ft2232.c patches are not merged quickly, Amontec Team will > >certainly > >/>/ >/>/ come with a new specific jtagkey.c API driver instead of the > >ft2232.c JTAG > >/>/ >/

Re: [Openocd-development] [PATCH] use one configuration for all JTAGkey devices.

2011-06-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:25 Tue 07 Jun , Laurent Gauch wrote: > > > >/If our ft2232.c patches are not merged quickly, Amontec Team will certainly > >/>/ come with a new specific jtagkey.c API driver instead of the ft2232.c > >JTAG > >/>/ driver. > >/>/ The advantage with a specific Amontec JTAGkey API driver in

Re: [Openocd-development] bootstrap: patch proposal

2011-06-04 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:45 Fri 03 Jun , Tormod Volden wrote: > On Thu, Jun 2, 2011 at 2:32 AM, Jean-Christophe PLAGNIOL-VILLARD wrote: > > normaly in shell we so > > if [ "x$1" = "xnosubmodule" ]; then > > > > to compatible with old shell too > > Yes, I

Re: [Openocd-development] bootstrap: patch proposal

2011-06-01 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:05 Wed 01 Jun , Øyvind Harboe wrote: > How about this? > > > > -- > Øyvind Harboe > > Can Zylin Consulting help on your project? > > US toll free 1-866-980-3434 / International +47 51 87 40 27 > > http://www.zylin.com/zy1000.html > ARM7 ARM9 ARM11 XScale Cortex > JTAG debugger and

Re: [Openocd-development] DCC write failed on JLink

2011-05-29 Thread Jean-Christophe PLAGNIOL-VILLARD
ed one thing in that email: the "disassemble window" told me all > instructions are UNKNOWN(0x). I think although wiggler can > download image to board, the image is still incorrect. > > On 100/5/23 上午 02:53, Jean-Christophe PLAGNIOL-VILLARD wrote: > >On 14:06 Sun

Re: [Openocd-development] Jlink support

2011-05-29 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:22 Fri 27 May , Paul Claessen wrote: >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 >total

Re: [Openocd-development] DCC write failed on JLink

2011-05-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:06 Sun 22 May , Bear wrote: > hi, > I am using a old version of u-boot. It seems like 1.3.2. This > version of u-boot has been modified to suit my special board which > has no NOR flash. As far as I remember I had the support of the dcc in U-Boot much later Do you use a mini2440? > > BT

Re: [Openocd-development] DCC write failed on JLink

2011-05-21 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:17 Thu 19 May , Lingfeng Xiong wrote: > hi there, > I am trying to debug u-boot on samsung s3c2410 board with OpenOCD and > Eclipse. The initialization script is listed below: > [code] > source [find jlink.cfg] > > jtag_khz 500 > jtag_nsrst_delay 100 > jtag_ntrst_delay 100 > > source [f

Re: [Openocd-development] Outstanding patches

2011-05-18 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:14 Wed 18 May , Øyvind Harboe wrote: > On Wed, May 18, 2011 at 11:02 AM, Xiaofan Chen wrote: > > On Wed, May 18, 2011 at 4:52 PM, Øyvind Harboe > > wrote: > >> The position of a release master is open. Nobody has stepped up. > > > > You? :-) > > I guess I'm happy with my role as a mai

Re: [Openocd-development] Busted JLink

2011-05-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:30 Tue 10 May , Rogan Dawes wrote: > Hi folks, > > I have a clone JLink adapter, that was working fine with OpenOCD (apart > from my not being able to access the flash at the time). > > I decided to try it with the JLink software, and it upgraded the > firmware. Every since, I have been

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 06:58 Fri 06 May , Øyvind Harboe wrote: > >> +# The chip may run @ 32khz, so set a really low JTAG speed > >> +adapter_khz 8 > > this is the wrong place it's not board specific but soc specific > > > > tcl/target/at91rm9200.cfg > > Perhaps jtag_rclk 8 should be used, i.e. use RCLK if it is

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Best regards > Jonas Hörberg > > diff --git a/tcl/board/at91rm9200-ek.cfg b/tcl/board/at91rm9200-ek.cfg > index 07a006b..cf0fb7a 100644 > --- a/tcl/board/at91rm9200-ek.cfg > +++ b/tcl/board/at91rm9200-ek.cfg > @@ -18,6 +18,8 @@ $_TARGETNAME configure -event reset-init { > at91rm9200_ek_init } >

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-04 Thread Jean-Christophe PLAGNIOL-VILLARD
On 04:17 Wed 04 May , Øyvind Harboe wrote: > > why do you want to set one the adapter is in auto adaptive mode by default > > no need to set any speed > > OpenOCD doesn't have an auto-adaptive mode, so I guess you need > to explain what you are referring to. on J-Link if you set the speed to

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-03 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:52 Tue 03 May , Øyvind Harboe wrote: > The error message is working as intended, near as I can tell. > > You have to specify the JTAG communication frequency, there > no longer is any concept of a "default" frequency. > > These scripts are missing a statement to set the JTAG communicati

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-03 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:26 Tue 03 May , Øyvind Harboe wrote: > Please be more specific. We intend to move forward on this one and > we are interested in hearing what problems you are seeing. > > This is an important and somewhat tricky problem that we intend > to put to bet once and for all, and knew that there

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-03 Thread Jean-Christophe PLAGNIOL-VILLARD
Please revert this break the rm9200-ek with jlink where we do have a adapter_khz specified in the init script Best Regards, J. ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-de

[Openocd-development] [PATCH] at91: add chip register definition and generic init support

2011-04-09 Thread Jean-Christophe PLAGNIOL-VILLARD
for - pio - pmc - rstc - wdt - sdramc - smc Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- Hi, please apply this one before Best Regards, J. tcl/chip/atmel/at91/at91_pio.cfg| 29 tcl/chip/atmel/at91/at91_pmc.cfg

[Openocd-development] [PATCH] jlink: jlink_debug_buffer use inline function when _DEBUG_USB_COMMS_ not define

2011-04-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- src/jtag/drivers/jlink.c | 14 -- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c index aa5c359..6eb707a 100644 --- a/src

[Openocd-development] [PATCH 4/4] add at91sam9263-ek support

2011-04-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- tcl/board/at91sam9263-ek.cfg | 63 ++ 1 files changed, 63 insertions(+), 0 deletions(-) create mode 100644 tcl/board/at91sam9263-ek.cfg diff --git a/tcl/board

[Openocd-development] [PATCH 1/4] at91: add at91sam9261 chip register definition

2011-04-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- tcl/chip/atmel/at91/at91sam9261.cfg| 90 tcl/chip/atmel/at91/at91sam9261_matrix.cfg | 46 ++ 2 files changed, 136 insertions(+), 0 deletions(-) create

[Openocd-development] [PATCH 3/4] at91: add at91sam9263 chip register definition

2011-04-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- tcl/chip/atmel/at91/at91sam9263.cfg| 113 tcl/chip/atmel/at91/at91sam9263_matrix.cfg | 112 +++ tcl/chip/atmel/at91/at91sam9_init.cfg

[Openocd-development] [PATCH 2/4] add at91sam9261-ek support

2011-04-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- tcl/board/at91sam9261-ek.cfg | 63 ++ 1 files changed, 63 insertions(+), 0 deletions(-) create mode 100644 tcl/board/at91sam9261-ek.cfg diff --git a/tcl/board

[Openocd-development] [PATCH 2/4] jlink: use tap buffer as 2k

2011-03-07 Thread Jean-Christophe PLAGNIOL-VILLARD
as said in the datasheet Section 3.3.2 Organization of buffers All buffers are big enough to hold 2 KByte of data. this will double the speed of download Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- src/jtag/drivers/jlink.c |6 +++--- 1 files

[Openocd-development] [PATCH 3/4] jlink: add detect hw type

2011-03-07 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- src/jtag/drivers/jlink.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c index 6507403..174f7b3 100644

[Openocd-development] [PATCH 4/4] jlink: add Emulator configuration support

2011-03-07 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- doc/openocd.texi | 18 ++ src/jtag/drivers/jlink.c | 397 ++ 2 files changed, 415 insertions(+), 0 deletions(-) diff --git a/doc/openocd.texi b/doc

[Openocd-development] [PATCH 1/4] jlink: add capability dumper and command

2011-03-07 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- doc/openocd.texi |2 + src/jtag/drivers/jlink.c | 102 +- 2 files changed, 103 insertions(+), 1 deletions(-) diff --git a/doc/openocd.texi b/doc

[Openocd-development] ft2232 drivers question

2011-03-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, I'm currently adding the support of a third party JTAG based on a ftdi FT4232 but on my devices the TDO is connected to ADBUS1 and TDI ADBUS2 how can I specify this in the drivers? Best Regards, J. ___ Openocd-develo

[Openocd-development] [PATCH 5/6] at91: add at91sam9g10 support

2011-03-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- tcl/target/at91sam9g10.cfg | 16 1 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 tcl/target/at91sam9g10.cfg diff --git a/tcl/target/at91sam9g10.cfg b/tcl/target

[Openocd-development] [PATCH 6/6] at91: add at91sam9g45 support

2011-03-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- tcl/target/at91sam9g45.cfg | 16 1 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 tcl/target/at91sam9g45.cfg diff --git a/tcl/target/at91sam9g45.cfg b/tcl/target

[Openocd-development] [PATCH 4/6] at91sam9260: update sram information

2011-03-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- tcl/target/at91sam9260.cfg |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/tcl/target/at91sam9260.cfg b/tcl/target/at91sam9260.cfg index 9f79dfa..c5a07fd 100644 --- a/tcl

[Openocd-development] [PATCH 2/6] at91: add at91sam9261 support

2011-03-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- tcl/target/at91sam9261.cfg | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 tcl/target/at91sam9261.cfg diff --git a/tcl/target/at91sam9261.cfg b/tcl/target

[Openocd-development] [PATCH 1/6] at91sam9: factorise cpu support

2011-03-02 Thread Jean-Christophe PLAGNIOL-VILLARD
all at91sam9 are nearly the same except sram and soc name Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- tcl/board/at91sam9g20-ek.cfg | 28 +-- tcl/target/at91sam9.cfg | 39

[Openocd-development] [PATCH 3/6] at91: add at91sam9263 support

2011-03-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- tcl/target/at91sam9263.cfg | 20 1 files changed, 20 insertions(+), 0 deletions(-) create mode 100644 tcl/target/at91sam9263.cfg diff --git a/tcl/target/at91sam9263.cfg b/tcl

[Openocd-development] [PATCH 1/4] jlink: add new PID and VID

2011-02-28 Thread Jean-Christophe PLAGNIOL-VILLARD
The default pid of the segger is 0x0101 But when you change the USB Address it will also pid = ( usb_address > 0x4) ? 0x0101 : (0x101 + usb_address) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- src/jtag/drivers/jlink.c | 10 -- 1 files changed, 8 insertions(+), 2 deleti

[Openocd-development] [PATCH 4/4] jlink: add jlink_pid to specify the pid to use

2011-02-28 Thread Jean-Christophe PLAGNIOL-VILLARD
this will allow us to use multiple jlink at the same time as when the USB-Address is specified the PID change from 0x0101 to (0x101 + usb_adress) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- doc/openocd.texi |2 ++ src/jtag/drivers/jlink.c | 27

[Openocd-development] [PATCH 2/4] jlink: harmonise the device name to J-Link

2011-02-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- src/jtag/drivers/jlink.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c index f1b9711..b182b61 100644 --- a/src/jtag/drivers/jlink.c +++ b/src/jtag/drivers

[Openocd-development] [PATCH 3/4] jlink: switch commands to subcommands

2011-02-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- doc/openocd.texi |4 ++-- src/jtag/drivers/jlink.c | 16 +--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/doc/openocd.texi b/doc/openocd.texi index 7772d78..5b12386 100644 --- a/doc/openocd.texi

[Openocd-development] [PATCH 2/2] add at91rm9200-ek board support

2011-02-21 Thread Jean-Christophe PLAGNIOL-VILLARD
.barebox_initcalls, size 0x80 lma 0x21f3b620 Start address 0x21f0, load size 243360 Transfer rate: 26 KB/sec, 13520 bytes/write. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- tcl/board/at91rm9200-ek.cfg | 112 +++ 1

[Openocd-development] [PATCH 1/2] jlink: set the speed at JLINK_MAX_SPEED when an exceeded speed is requested

2011-02-21 Thread Jean-Christophe PLAGNIOL-VILLARD
it will allow to be at the highest speed of the jlink without touching the board or cpu config tested on sam-ice v5 and at91rm9200-ek Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- src/jtag/drivers/jlink.c |4 ++-- 1 files changed, 2 insertions

Re: [Openocd-development] [STi7109]Is there any config files ?

2009-04-18 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:25 Sat 18 Apr , Jean-Michel Hautbois wrote: > Hi everybody, > > I am new to this mailing list, and new with using openOCD. > I have a Tribbox (STi7109 based board), and I wish to use a JTAGkey > from amontec. > I can't find any file relative to this board in the source code. Is > there a