Hello,
This will be my first attempt to contribute two patches to OpenOCD and I
could use a little help/assistance. I have read the HACKING file and have
created (I think) a gerrit account. Here is the problem: I have a local GIT
repo that has a local master branch tracking the remote master branch from
sourceforge. In it I have made more than one edit and committed them all at
one go. This was in hind-sight probably a bad idea.
The two patches are:
1. a trivial change to spi.c to add three new flash devices. This is a
clean, 3 line add and has been tested and works very nicely.
2. The Segger JLink firmware for the very nice $20 LPC-Link 2 board did not
work at all with OpenOCD. I fixed jlink.c, but it might be a fix that is
specific to the LPC-Link 2 with JLink firmware and is an ugly brute force
method. I need further assistance to figure out how to package/rewrite this
patch to be acceptable for release. However, it is still worth documenting
what I found out. I need a forum to discuss / adjust.
Unfortunately, as I said before, I did a single commit that included both
of these changes in my private repos. Now I would like to submit at least
#1 to gerrit, but I can't figure out how to separate the two to do so.
Can someone point me at some method in GIT that I can rewrite the commits
to separate them and so I can push to gerrit? Also, for the SPI fix #1 what
would a decent/acceptable commit? message be?
Both changes are in https://github.com/anders-code/openocd if you want to
look at them.
Thanks,
Anders
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel