On Wed, Oct 24, 2012 at 1:53 PM, gianluca
<gianlucare...@eurekelettronica.it> wrote:
> I am using LPC1850 so I created two new config files:
> #       new file:   tcl/board/lpc1850_spifi_generic.cfg
> #       new file:   tcl/target/lpc1850.cfg
>
> and added new SPI device for our board:
>
> #       modified:   src/flash/nor/spi.c
> FLASH_ID("win w25q64cv",   0xd8, 0xC7, 0x001740ef, 0x100, 0x10000,
> 0x800000),
>
> to match the FLASH Memory soldered in our board.
>
> 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.

> 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.

> Sorry to place a lot of dumb questions, but I am new to GIT...

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.

/Andreas

------------------------------------------------------------------------------
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

Reply via email to