Oops! I forgot to send it to the mailinglist.
--
,,,
(o o)
======oOO==(_)==OOo======
Gianluca Renzi
R&D
phone: +39.0542.609120
fax: +39.0542.609212
.oooO Oooo.
======( )==( )=======
\ ( ) /
\_) (_/
===================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
¯\_(ツ)_/¯
--- Begin Message ---
Andreas Fritiofson wrote:
I tested the SPIFI FLASH WRITE algo with success and the code is working!
Great!
Now I wish to add those patches to my git local repo, so they can uploaded
to gerrit. What I have to do? What steps next?
For the OpenOCD-specific instructions, please follow the HACKING file
to set up a gerrit account, connect your git repo to it and push your
local commits to gerrit. For general git help, read below.
I have already a gerrit account, I modified my ssh local keys to match
those key given to me during account setup.
What you mean with: "connect your git repo to gerrit account" ?
and even worse: "push your commits to gerrit"? Even without creating any
patch or patchset?
How I can produce a patch to be checked by tools/checkpatch.sh ?
Once you have created the commit in your repo, you're ready to run
checkpatch. If you have more than one commit, you can specify a
reference as a parameter to checkpatch (eg "master") and all patches
since then will be checked.
Ok, so step n.1 will be:
- connect your git repo to gerrit && push your commits to gerrit
Is it right?
I know I checked-out the FETCH_HEAD from openocd.zylin.com after
cloneing from sourceforge: here is the log
cat .git/logs/HEAD
0000000000000000000000000000000000000000
27f0497efa3c4fe14510979c1fa6905be74ad43b Gianluca Renzi
<gianluca@gianlinux.(none)> 1350916841 +0200 clone: from
git://openocd.git.sourceforge.net/gitroot/openocd/openocd
27f0497efa3c4fe14510979c1fa6905be74ad43b
a1f9382c3129586b12126d2e558765892a88e12b Gianluca Renzi
<gianluca@gianlinux.(none)> 1350917045 +0200 checkout: moving from
master to FETCH_HEAD
So maybe I need to specify the repo in gerrit FETCH_HEAD and not MASTER?
Please clearify this step.
Step n.2 will be:
2- Use checkpatch with "master"? Or even better "fetch_head"?
> That's OK, git can be a bit hard to learn depending on what you're
used to from before. Once your brain is accustomed to the git way of
things, you'll probably find it natural and very powerful. However,
there's no point in giving you instructions on how to use git here
because that would just be repeating some of the abundance of
information available around the web on the subject. Just do a google
search. http://git-scm.com/book may be good as a reference.
I will try to catch the basics, but if I know the procedure in a
collection-of-a-scripts(commands) form it will be better...
Usually I am using CVS.
Best regards,
--
,,,
(o o)
======oOO==(_)==OOo======
Gianluca Renzi
R&D
phone: +39.0542.609120
fax: +39.0542.609212
.oooO Oooo.
======( )==( )=======
\ ( ) /
\_) (_/
===================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
¯\_(ツ)_/¯
--- End Message ---
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel