Skip to contentSkip to conversation

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

PATCH In review Jaap de Jong 3 participants 4 messages Nov 3, 2009 – Feb 16, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs

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

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
recipes/xc3sprog/xc3sprog_411.bb new file +25 -0
new file mode 100644
index 0000000..21527dd
@@ -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}"
+}
+
Signature · 1 line
1.6.3.3
#1 lore raw
Quoted 4 lines · Jaap de Jong

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

#2 lore raw

Updated.
Much simpeler now...

Quoted 16 lines · Koen Kooi
Quoted 4 lines · Jaap de Jong

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,

Quoted 7 lines

Koen

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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
recipes/xc3sprog/xc3sprog_411.bb new file +15 -0
new file mode 100644
index 0000000..0ffc4dc
@@ -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
+
Signature · 1 line
1.6.3.3
#3 lore raw

Hello.

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

Quoted 2 lines · Jaap de Jong

Updated.
Much simpeler now...

Nearly there.

Quoted 1 line

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

Quoted 11 lines
---
 recipes/xc3sprog/xc3sprog_411.bb |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 recipes/xc3sprog/xc3sprog_411.bb
recipes/xc3sprog/xc3sprog_411.bb new file +0 -0
new file mode 100644
index 0000000..0ffc4dc

recipes/xc3sprog/xc3sprog_411.bb line 3

Quoted 3 lines
recipes/xc3sprog/xc3sprog_411.bb new file +3 -0
@@ -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.

recipes/xc3sprog/xc3sprog_411.bb line 14

Quoted 11 lines
recipes/xc3sprog/xc3sprog_411.bb new file +11 -0
+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