On Sun, 2009-10-25 at 18:47 +0100, Øyvind Harboe wrote:
> Adding a new hardware interface to OpenOCD is pretty
> huge: swj, GPIO, zero wire debug interface, i2c, etc.
> 
> I think here it would be a Bad Idea to add piecemeal patches
> to add something like that...
> 
> A good plan is definitely called for if you want to attract
> developers(to a separate development git repository)?
> 
> There has been swj discussions and even patches in the
> past on the list.

I want to encourage this work, but David has shown that it needs to be
treated as a major feature.  I suggest starting to develop in your own
local branch, with a series of patches.

You create a fork of the repository on repo.or.cz:

  http://repo.or.cz/m/regproj.cgi?name=openocd/

This requires the following steps:
1) Create a user account: upload a SSH key.
2) Make sure the name is 'openocd/simon-qian' or similar.
3) You must edit the project and give your user account permissions.

In your local repository, you can commit your current patches to a
branch and push it there:
1) git checkout -b sq/swj && git commit -m 'Some changes...' ...
2) git remote add mirror git://repo.or.cz/openocd/simon-qian.git
3) git push mirror +sq/swj

Then, anyone can pull your changes in one step (after config):
1) git remote sq add mirror git://repo.or.cz/openocd/simon-qian.git
2) git pull sq +sq/swj

Cheers,

Zach
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to