All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs
@ 2009-11-03 12:10 Jaap de Jong
  2009-11-03 12:30 ` Koen Kooi
  0 siblings, 1 reply; 4+ messages in thread
From: Jaap de Jong @ 2009-11-03 12:10 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

Hi there,

attached a proposal for a recipe for building a jtag tool for programming xilinx cpld's, fpga's and eeprom's.
Disclaimer: this is my first recipe; possibly not optimal...

Jaap



[-- Attachment #2: 0001-Suite-of-utilities-for-programming-Xilinx-FPGAs-CPLD.patch --]
[-- Type: text/x-patch, Size: 988 bytes --]


Suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs

---
 recipes/xc3sprog/xc3sprog_411.bb |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 recipes/xc3sprog/xc3sprog_411.bb

diff --git a/recipes/xc3sprog/xc3sprog_411.bb b/recipes/xc3sprog/xc3sprog_411.bb
new file mode 100644
index 0000000..21527dd
--- /dev/null
+++ b/recipes/xc3sprog/xc3sprog_411.bb
@@ -0,0 +1,25 @@
+# xc3sprog build file
+LICENSE="GPL"
+DESCRIPTION="suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs"
+HOMEPAGE="http://sourceforge.net/projects/xc3sprog"
+
+DEPENDS += "libftdi"
+
+S="${WORKDIR}/xc3sprog-${PV}/xc3sprog/trunk"
+PR = "r0"
+
+inherit cmake
+
+do_fetch() {
+	mkdir -p ${WORKDIR}/${P}
+	cd ${WORKDIR}/${P}
+	svn co -r ${PV} https://xc3sprog.svn.sourceforge.net/svnroot/xc3sprog
+}
+
+do_unpack() {
+}
+
+do_install() {
+	oe_runmake install DESTDIR="${D}"
+}
+
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs
  2009-11-03 12:10 [PATCH] suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs Jaap de Jong
@ 2009-11-03 12:30 ` Koen Kooi
  2009-11-03 13:35   ` Jaap de Jong
  0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2009-11-03 12:30 UTC (permalink / raw)
  To: openembedded-devel

On 03-11-09 13:10, Jaap de Jong wrote:
> Hi there,
>
> attached a proposal for a recipe for building a jtag tool for programming xilinx cpld's, fpga's and eeprom's.
> Disclaimer: this is my first recipe; possibly not optimal...

Please use something like

SRC_URI = 
"svn://xc3sprog.svn.sourceforge.net/svnroot/xc3sprog;proto=https;module=trunk" 


and set SRCREV accordingly instead of overriding do_fetch.

regards,

Koen




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs
  2009-11-03 12:30 ` Koen Kooi
@ 2009-11-03 13:35   ` Jaap de Jong
  2010-02-16 11:39     ` Stefan Schmidt
  0 siblings, 1 reply; 4+ messages in thread
From: Jaap de Jong @ 2009-11-03 13:35 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

Updated.
Much simpeler now...

On Tue, 2009-11-03 at 13:30 +0100, Koen Kooi wrote:
> On 03-11-09 13:10, Jaap de Jong wrote:
> > Hi there,
> >
> > attached a proposal for a recipe for building a jtag tool for programming xilinx cpld's, fpga's and eeprom's.
> > Disclaimer: this is my first recipe; possibly not optimal...
> 
> Please use something like
> 
> SRC_URI = 
> "svn://xc3sprog.svn.sourceforge.net/svnroot/xc3sprog;proto=https;module=trunk" 
> 
> 
> and set SRCREV accordingly instead of overriding do_fetch.
> 
> regards,
> 
> Koen
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[-- Attachment #2: 0001-Suite-of-utilities-for-programming-Xilinx-FPGAs-CPLD.patch --]
[-- Type: text/x-patch, Size: 837 bytes --]


Suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs

---
 recipes/xc3sprog/xc3sprog_411.bb |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 recipes/xc3sprog/xc3sprog_411.bb

diff --git a/recipes/xc3sprog/xc3sprog_411.bb b/recipes/xc3sprog/xc3sprog_411.bb
new file mode 100644
index 0000000..0ffc4dc
--- /dev/null
+++ b/recipes/xc3sprog/xc3sprog_411.bb
@@ -0,0 +1,15 @@
+# xc3sprog build file
+LICENSE="GPL"
+DESCRIPTION="suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs"
+HOMEPAGE="http://sourceforge.net/projects/xc3sprog"
+
+DEPENDS += "libftdi"
+
+SRC_URI = "svn://xc3sprog.svn.sourceforge.net/svnroot/xc3sprog;proto=https;module=trunk" 
+SRCREV = ${PV}
+
+S="${WORKDIR}/trunk"
+PR = "r0"
+
+inherit cmake
+
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs
  2009-11-03 13:35   ` Jaap de Jong
@ 2010-02-16 11:39     ` Stefan Schmidt
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Schmidt @ 2010-02-16 11:39 UTC (permalink / raw)
  To: openembedded-devel

Hello.

Sorry for the delay. Just found that one in patchwork.

On Tue, 2009-11-03 at 14:35, Jaap de Jong wrote:
> Updated.
> Much simpeler now...

Nearly there.

> Suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs

Please prefix the message with the recipe name. Makes it easier to read commit
logs and understand about which recipe they are. Like:

xc3sprog: Add suite of ...

> ---
>  recipes/xc3sprog/xc3sprog_411.bb |   15 +++++++++++++++
>  1 files changed, 15 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/xc3sprog/xc3sprog_411.bb
> 
> diff --git a/recipes/xc3sprog/xc3sprog_411.bb b/recipes/xc3sprog/xc3sprog_411.bb
> new file mode 100644
> index 0000000..0ffc4dc
> --- /dev/null
> +++ b/recipes/xc3sprog/xc3sprog_411.bb
> @@ -0,0 +1,15 @@
> +# xc3sprog build file
> +LICENSE="GPL"
> +DESCRIPTION="suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs"

Nitpick. Please start with uppercase.

> +HOMEPAGE="http://sourceforge.net/projects/xc3sprog"
> +
> +DEPENDS += "libftdi"
> +
> +SRC_URI = "svn://xc3sprog.svn.sourceforge.net/svnroot/xc3sprog;proto=https;module=trunk" 
> +SRCREV = ${PV}
> +
> +S="${WORKDIR}/trunk"
> +PR = "r0"
> +
> +inherit cmake

To sort the the lines in the recipe to look more like others in the repo you can
run it through contrib/oe-stylize.py

If you care to resend the updated patch I'm going to test and apply it.

regards
Stefan Schmidt



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-16 11:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-03 12:10 [PATCH] suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs Jaap de Jong
2009-11-03 12:30 ` Koen Kooi
2009-11-03 13:35   ` Jaap de Jong
2010-02-16 11:39     ` Stefan Schmidt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.