Skip to contentSkip to conversation

dfu-programmer: USB Device Firmware Upgrade utility (special atmel-version)

PATCH Superseded Vitus Jensen 3 participants 17 messages Apr 8, 2010 – Jun 25, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dfu-programmer: USB Device Firmware Upgrade utility (special atmel-version)

Add recipes for version 0.5.2 and for the head of the SVN repository.

---
 conf/checksums.ini                             |    4 ++++
 recipes/dfu-programmer/dfu-programmer_0.5.2.bb |   17 +++++++++++++++++
 recipes/dfu-programmer/dfu-programmer_svn.bb   |   20 ++++++++++++++++++++
 3 files changed, 41 insertions(+), 0 deletions(-)
 create mode 100644 recipes/dfu-programmer/dfu-programmer_0.5.2.bb
 create mode 100644 recipes/dfu-programmer/dfu-programmer_svn.bb
conf/checksums.ini +4 -0
index 3c6f712..73f5901 100644
@@ -5258,6 +5258,10 @@ sha256=3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639
 md5=be12c0132a1ae118cbf5e79d98427c1d
 sha256=ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191
 
+[http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.5.2/dfu-programmer-0.5.2.tar.gz]
+md5=ce882d37383df698a1c530080724b191
+sha256=e3c8bc1429fe1681c56ddc14fb05d29a7933aac566d13f894dca6fd916829cb9
+
 [http://pknet.com/~joe/dgen-sdl-1.23.tar.gz]
 md5=b1896c1b21ddb152626aec2e8a157a3a
 sha256=44396b3b324433187cf7082d1059cd9f519f02accddd667e627a57ff8514d436
recipes/dfu-programmer/dfu-programmer_0.5.2.bb new file +17 -0
new file mode 100644
index 0000000..af37b04
@@ -0,0 +1,17 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+PV = "0.5.2"
+PR = "r0"
+
+DEPENDS = "libusb"
+
+SRC_URI = "http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.5.2/dfu-programmer-${PV}.tar.gz"
+
+inherit autotools
+
+do_stage() {
+	autotools_stage_all
+}
recipes/dfu-programmer/dfu-programmer_svn.bb new file +20 -0
new file mode 100644
index 0000000..5bb946b
@@ -0,0 +1,20 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+SRCREV = "${AUTOREV}"
+PV = "0.5.2+svnr${SRCREV}"
+PR = "r0"
+DEFAULT_PREFERENCE = "-1"
+
+DEPENDS = "libusb"
+
+SRC_URI = "svn://dfu-programmer.svn.sourceforge.net/svnroot/dfu-programmer/;module=trunk;proto=http"
+S = "${WORKDIR}/trunk/dfu-programmer"
+
+inherit autotools
+
+do_stage() {
+	autotools_stage_all
+}
Signature · 6 lines
1.5.6.5


-- 
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#1 lore raw
Quoted 11 lines · Vitus Jensen

Add recipes for version 0.5.2 and for the head of the SVN repository.

---

conf/checksums.ini                             |    4 ++++
recipes/dfu-programmer/dfu-programmer_0.5.2.bb |   17 +++++++++++++++++
recipes/dfu-programmer/dfu-programmer_svn.bb   |   20 ++++++++++++++++++++
3 files changed, 41 insertions(+), 0 deletions(-)

create mode 100644 recipes/dfu-programmer/dfu-programmer_0.5.2.bb create mode 100644 recipes/dfu-programmer/dfu-programmer_svn.bb

I know that nowerdays the checksums are inside the recipe. But we are working on the stable/2009 branch were it isn't done this way (or not supported?). Please accept as is.

Vitus

Signature · 2 lines
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#2 lore raw

Hello.

Quoted 13 lines · Vitus Jensen
Quoted 11 lines · Vitus Jensen

Add recipes for version 0.5.2 and for the head of the SVN repository.

---

conf/checksums.ini                             |    4 ++++
recipes/dfu-programmer/dfu-programmer_0.5.2.bb |   17 +++++++++++++++++
recipes/dfu-programmer/dfu-programmer_svn.bb   |   20 ++++++++++++++++++++
3 files changed, 41 insertions(+), 0 deletions(-)

create mode 100644 recipes/dfu-programmer/dfu-programmer_0.5.2.bb create mode 100644 recipes/dfu-programmer/dfu-programmer_svn.bb

Quoted 3 lines

I know that nowerdays the checksums are inside the recipe. But we are working on the stable/2009 branch were it isn't done this way (or not supported?). Please accept as is.

This patch was targetted for the stable branch? If yes please indicate this in the subject of the patch. You would need to get your patch into OE.dev first before it can go into stable IIRC, but I leave it to the stable developers to comment on this.

Having one patch for .dev with the checksum in the recipe and one for stable with the sum in the ini file would also be fine I think. No hard feelings on this though.

An updated patch for the AUTOREV issue is still needed.

regards
Stefan Schmidt

#3 lore raw
Quoted 14 lines · Stefan Schmidt
Quoted 13 lines · Vitus Jensen
Quoted 11 lines · Vitus Jensen

Add recipes for version 0.5.2 and for the head of the SVN repository.

---

conf/checksums.ini                             |    4 ++++
recipes/dfu-programmer/dfu-programmer_0.5.2.bb |   17 +++++++++++++++++
recipes/dfu-programmer/dfu-programmer_svn.bb   |   20 ++++++++++++++++++++
3 files changed, 41 insertions(+), 0 deletions(-)

create mode 100644 recipes/dfu-programmer/dfu-programmer_0.5.2.bb create mode 100644 recipes/dfu-programmer/dfu-programmer_svn.bb

Quoted 8 lines
Quoted 3 lines

I know that nowerdays the checksums are inside the recipe. But we are working on the stable/2009 branch were it isn't done this way (or not supported?). Please accept as is.

This patch was targetted for the stable branch? If yes please indicate this in the subject of the patch. You would need to get your patch into OE.dev first before it can go into stable IIRC, but I leave it to the stable developers to comment on this.

Well, everything we do is done in the stable/2009 branch because we need the stability. We cherry-pick from .dev (which is getting harder because of the staging changes) and add new programs and machines. I would like to publish the changes but they have to be for .dev (policy) and mostly identically to what is used here (because I don't want to maintain 2 images for the devices).

Quoted 3 lines

Having one patch for .dev with the checksum in the recipe and one for stable with the sum in the ini file would also be fine I think. No hard feelings on this though.

Will try out checksums inside the recipe in the stable/2009 branch. I think the support for it is only depending on bitbake versions, right?

Quoted 1 line

An updated patch for the AUTOREV issue is still needed.

Well... the repository get updates every few months, mostly to support new chips. So the possibility is high that someone needs _svn.bb because of he wants to program a newer atmel and I don't feel like deciding which chip support to include or not. I've included it to make it simple to get the absolute newest programmer, for me 0.5.2 is enough.

Should I drop _svn.bb or use the head revision of today?

Vitus

Signature · 2 lines
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#4 lore raw

Hello.

Quoted 25 lines · Vitus Jensen
Quoted 14 lines · Stefan Schmidt
Quoted 13 lines · Vitus Jensen
Quoted 11 lines · Vitus Jensen

Add recipes for version 0.5.2 and for the head of the SVN repository.

---

conf/checksums.ini                             |    4 ++++
recipes/dfu-programmer/dfu-programmer_0.5.2.bb |   17 +++++++++++++++++
recipes/dfu-programmer/dfu-programmer_svn.bb   |   20 ++++++++++++++++++++
3 files changed, 41 insertions(+), 0 deletions(-)

create mode 100644 recipes/dfu-programmer/dfu-programmer_0.5.2.bb create mode 100644 recipes/dfu-programmer/dfu-programmer_svn.bb

Quoted 8 lines
Quoted 3 lines

I know that nowerdays the checksums are inside the recipe. But we are working on the stable/2009 branch were it isn't done this way (or not supported?). Please accept as is.

This patch was targetted for the stable branch? If yes please indicate this in the subject of the patch. You would need to get your patch into OE.dev first before it can go into stable IIRC, but I leave it to the stable developers to comment on this.

Quoted 6 lines

Well, everything we do is done in the stable/2009 branch because we need the stability. We cherry-pick from .dev (which is getting harder because of the staging changes) and add new programs and machines. I would like to publish the changes but they have to be for .dev (policy) and mostly identically to what is used here (because I don't want to maintain 2 images for the devices).

As I said, no hard feelings. But it likely that the versions in .dev and stable will drift away rom each other anyway.

Quoted 6 lines
Quoted 3 lines

Having one patch for .dev with the checksum in the recipe and one for stable with the sum in the ini file would also be fine I think. No hard feelings on this though.

Will try out checksums inside the recipe in the stable/2009 branch. I think the support for it is only depending on bitbake versions, right?

I would think it is a combination from bitbake and classes inside the OE tree, but I can't tell for sure.

Quoted 7 lines
Quoted 1 line

An updated patch for the AUTOREV issue is still needed.

Well... the repository get updates every few months, mostly to support new chips. So the possibility is high that someone needs _svn.bb because of he wants to program a newer atmel and I don't feel like deciding which chip support to include or not. I've included it to make it simple to get the absolute newest programmer, for me 0.5.2 is enough.

Understoof. Sadly having AUTOREV set makes it hard for different people to have a consistent build. Therefor we normally only enable it within local.conf

Quoted 1 line

Should I drop _svn.bb or use the head revision of today?

As you prefer. I'm not going to use dfu-programmer just giving some review on your patch.

regards
Stefan Schmidt

#5 lore raw
In reply to Vitus Jensen

Hello.

Quoted 17 lines · Vitus Jensen

Add recipes for version 0.5.2 and for the head of the SVN repository.

---
 conf/checksums.ini                             |    4 ++++
 recipes/dfu-programmer/dfu-programmer_0.5.2.bb |   17 +++++++++++++++++
 recipes/dfu-programmer/dfu-programmer_svn.bb   |   20 ++++++++++++++++++++
 3 files changed, 41 insertions(+), 0 deletions(-)
 create mode 100644 recipes/dfu-programmer/dfu-programmer_0.5.2.bb
 create mode 100644 recipes/dfu-programmer/dfu-programmer_svn.bb
conf/checksums.ini +0 -0
index 3c6f712..73f5901 100644

conf/checksums.ini sha256=3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639 · line 5264

Quoted 7 lines
conf/checksums.ini +4 -0
@@ -5258,6 +5258,10 @@ sha256=3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639
 md5=be12c0132a1ae118cbf5e79d98427c1d
 sha256=ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191
 
+[http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.5.2/dfu-programmer-0.5.2.tar.gz]
+md5=ce882d37383df698a1c530080724b191
+sha256=e3c8bc1429fe1681c56ddc14fb05d29a7933aac566d13f894dca6fd916829cb9
+

Please add the checksum to the recipe.

Quoted 16 lines
conf/checksums.ini +0 -0
 [http://pknet.com/~joe/dgen-sdl-1.23.tar.gz]
 md5=b1896c1b21ddb152626aec2e8a157a3a
 sha256=44396b3b324433187cf7082d1059cd9f519f02accddd667e627a57ff8514d436
recipes/dfu-programmer/dfu-programmer_0.5.2.bb new file +7 -0
new file mode 100644
index 0000000..af37b04
@@ -0,0 +1,17 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+PV = "0.5.2"
+PR = "r0"

recipes/dfu-programmer/dfu-programmer_0.5.2.bb line 17

Quoted 10 lines
recipes/dfu-programmer/dfu-programmer_0.5.2.bb new file +10 -0
+
+DEPENDS = "libusb"
+
+SRC_URI = "http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.5.2/dfu-programmer-${PV}.tar.gz"
+
+inherit autotools
+
+do_stage() {
+	autotools_stage_all
+}

For what is this needed?

recipes/dfu-programmer/dfu-programmer_svn.bb line 6

Quoted 12 lines
recipes/dfu-programmer/dfu-programmer_svn.bb new file +6 -0
new file mode 100644
index 0000000..5bb946b
@@ -0,0 +1,20 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+SRCREV = "${AUTOREV}"

Please don't do this. Set a sane SRCREV that you know is working. People who want to use AUTOREV can do this in their local.conf

regards
Stefan Schmidt

#6 lore raw

Hej!

Quoted 6 lines · Stefan Schmidt
Quoted 5 lines · Vitus Jensen

Add recipes for version 0.5.2 and for the head of the SVN repository.

---

...

Quoted 10 lines

recipes/dfu-programmer/dfu-programmer_0.5.2.bb line 17

Quoted 8 lines
recipes/dfu-programmer/dfu-programmer_0.5.2.bb new file +8 -0
+
+SRC_URI = "http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.5.2/dfu-programmer-${PV}.tar.gz"
+
+inherit autotools
+
+do_stage() {
+	autotools_stage_all
+}

For what is this needed?

This proved unnecessary. See patch v2. I've kept checksums.ini as this allows the same recipe in both trees.

Vitus

Signature · 2 lines
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#7 lore raw

PATCH v2 1/1 dfu-programmer: USB Device Firmware Upgrade utility (special atmel-version)

In reply to Vitus Jensen

Add recipes for version 0.5.2 and the current head of the subversion repository. dfu-programmer is DFU utility supporting Atmel chips with a USB bootloader (which aren't supported by dfu-util).

---
 conf/checksums.ini                             |    4 ++++
 conf/distro/include/sane-srcrevs.inc           |    1 +
 recipes/dfu-programmer/dfu-programmer_0.5.2.bb |   15 +++++++++++++++
 recipes/dfu-programmer/dfu-programmer_svn.bb   |   15 +++++++++++++++
 4 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 recipes/dfu-programmer/dfu-programmer_0.5.2.bb
 create mode 100644 recipes/dfu-programmer/dfu-programmer_svn.bb
conf/checksums.ini +4 -0
index 3c6f712..73f5901 100644
@@ -5258,6 +5258,10 @@ sha256=3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639
 md5=be12c0132a1ae118cbf5e79d98427c1d
 sha256=ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191
 
+[http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.5.2/dfu-programmer-0.5.2.tar.gz]
+md5=ce882d37383df698a1c530080724b191
+sha256=e3c8bc1429fe1681c56ddc14fb05d29a7933aac566d13f894dca6fd916829cb9
+
 [http://pknet.com/~joe/dgen-sdl-1.23.tar.gz]
 md5=b1896c1b21ddb152626aec2e8a157a3a
 sha256=44396b3b324433187cf7082d1059cd9f519f02accddd667e627a57ff8514d436
conf/distro/include/sane-srcrevs.inc +1 -0
index 902c844..982632c 100644
@@ -41,6 +41,7 @@ SRCREV_pn-contact ?= "1410"
 SRCREV_pn-dasher-gpe ?= "1251"
 SRCREV_pn-dbus-c++ ?= "13131"
 SRCREV_pn-dbus-c++-native ?= "13131"
+SRCREV_pn-dfu-programmer ?= "93"
 SRCREV_pn-dfu-util ?= "4160"
 SRCREV_pn-dfu-util-native ?= "4160"
 SRCREV_pn-disko ?= "f52597b8d5d584811cbe8f9e0bf25ea372526953"
recipes/dfu-programmer/dfu-programmer_0.5.2.bb new file +15 -0
new file mode 100644
index 0000000..2f769af
@@ -0,0 +1,15 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+PV = "0.5.2"
+PR = "r0"
+
+DEPENDS = "libusb"
+
+SRC_URI = " \
+	${SOURCEFORGE_MIRROR}/project/${PN}/${PN}/${PV}/${PN}-${PV}.tar.gz \
+	"
+
+inherit autotools
recipes/dfu-programmer/dfu-programmer_svn.bb new file +15 -0
new file mode 100644
index 0000000..3d9b169
@@ -0,0 +1,15 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+PV = "0.5.2+svnr${SRCREV}"
+PR = "r0"
+DEFAULT_PREFERENCE = "-1"
+
+DEPENDS = "libusb"
+
+SRC_URI = "svn://${PN}.svn.sourceforge.net/svnroot/${PN}/;module=trunk;proto=http"
+S = "${WORKDIR}/trunk/${PN}"
+
+inherit autotools
Signature · 6 lines
1.5.6.5


-- 
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#8 lore raw
Quoted 25 lines · Vitus Jensen

Add recipes for version 0.5.2 and the current head of the subversion repository. dfu-programmer is DFU utility supporting Atmel chips with a USB bootloader (which aren't supported by dfu-util).

conf/checksums.ini +4 -0
index 3c6f712..73f5901 100644
@@ -5258,6 +5258,10 @@ sha256=3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639
 md5=be12c0132a1ae118cbf5e79d98427c1d
 sha256=ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191
 
+[http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.5.2/dfu-programmer-0.5.2.tar.gz]
+md5=ce882d37383df698a1c530080724b191
+sha256=e3c8bc1429fe1681c56ddc14fb05d29a7933aac566d13f894dca6fd916829cb9
+
 [http://pknet.com/~joe/dgen-sdl-1.23.tar.gz]
 md5=b1896c1b21ddb152626aec2e8a157a3a
 sha256=44396b3b324433187cf7082d1059cd9f519f02accddd667e627a57ff8514d436
conf/distro/include/sane-srcrevs.inc +0 -0
index 902c844..982632c 100644

conf/distro/include/sane-srcrevs.inc SRCREV_pn-contact ?= "1410" · line 47

Quoted 7 lines
conf/distro/include/sane-srcrevs.inc +1 -0
@@ -41,6 +41,7 @@ SRCREV_pn-contact ?= "1410"
 SRCREV_pn-dasher-gpe ?= "1251"
 SRCREV_pn-dbus-c++ ?= "13131"
 SRCREV_pn-dbus-c++-native ?= "13131"
+SRCREV_pn-dfu-programmer ?= "93"
 SRCREV_pn-dfu-util ?= "4160"
 SRCREV_pn-dfu-util-native ?= "4160"
 SRCREV_pn-disko ?= "f52597b8d5d584811cbe8f9e0bf25ea372526953"

This doesn't seem applicable after SRCREV moving to recipes last week.

Please send separate patch for org.openembedded.dev with SRCREV as well as checksums in recipes and for stable/2009 (you can put SRCREV to recipe as long as it's sane SRCREV not AUTOREV).

Quoted 1 line

+PV = "0.5.2+svnr${SRCREV}"

In org.openembedded.dev it's always "+svnr${SRCPV}" for svn recipes (hopefully soon also unified for git recipes).

Thanks

Regards,

Signature · 3 lines
uin:136542059                jid:[email protected]
Jansa Martin                 sip:[email protected] 
JaMa                         
#9 lore raw
Quoted 21 lines · Martin Jansa
Quoted 20 lines · Vitus Jensen

Add recipes for version 0.5.2 and the current head of the subversion repository. dfu-programmer is DFU utility supporting Atmel chips with a USB bootloader (which aren't supported by dfu-util).

conf/checksums.ini +4 -0
index 3c6f712..73f5901 100644
@@ -5258,6 +5258,10 @@ sha256=3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639
 md5=be12c0132a1ae118cbf5e79d98427c1d
 sha256=ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191
 
+[http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.5.2/dfu-programmer-0.5.2.tar.gz]
+md5=ce882d37383df698a1c530080724b191
+sha256=e3c8bc1429fe1681c56ddc14fb05d29a7933aac566d13f894dca6fd916829cb9
+
 [http://pknet.com/~joe/dgen-sdl-1.23.tar.gz]
 md5=b1896c1b21ddb152626aec2e8a157a3a
 sha256=44396b3b324433187cf7082d1059cd9f519f02accddd667e627a57ff8514d436

...

Quoted 3 lines

Please send separate patch for org.openembedded.dev with SRCREV as well as checksums in recipes and for stable/2009 (you can put SRCREV to recipe as long as it's sane SRCREV not AUTOREV).

In this case I propose that support for inline checksums is backported to stable/2009, so that identical recipes may be used. It's only a single commit, I'm currently testing it's effects with stable and will send a patch to the list.

Vitus

Signature · 2 lines
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#10 lore raw

PATCH v3 1/1 dfu-programmer: USB Device Firmware Upgrade utility (special atmel-version)

In reply to Vitus Jensen

Add recipes for version 0.5.2 and the current head of the subversion repository. dfu-programmer is DFU utility supporting Atmel chips with a USB bootloader (which aren't supported by dfu-util).

---
 recipes/dfu-programmer/dfu-programmer_0.5.2.bb |   17 +++++++++++++++++
 recipes/dfu-programmer/dfu-programmer_svn.bb   |   16 ++++++++++++++++
 2 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 recipes/dfu-programmer/dfu-programmer_0.5.2.bb
 create mode 100644 recipes/dfu-programmer/dfu-programmer_svn.bb
recipes/dfu-programmer/dfu-programmer_0.5.2.bb new file +17 -0
new file mode 100644
index 0000000..d35c601
@@ -0,0 +1,17 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+PV = "0.5.2"
+PR = "r0"
+
+DEPENDS = "libusb"
+
+SRC_URI = " \
+	${SOURCEFORGE_MIRROR}/project/${PN}/${PN}/${PV}/${PN}-${PV}.tar.gz;name=tar \
+	"
+SRC_URI[tar.md5sum] = "ce882d37383df698a1c530080724b191"
+SRC_URI[tar.sha256sum] = "e3c8bc1429fe1681c56ddc14fb05d29a7933aac566d13f894dca6fd916829cb9"
+
+inherit autotools
recipes/dfu-programmer/dfu-programmer_svn.bb new file +16 -0
new file mode 100644
index 0000000..80ebee5
@@ -0,0 +1,16 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+SRCREV = "93"
+PV = "0.5.2+svnr${SRCPV}"
+PR = "r0"
+DEFAULT_PREFERENCE = "-1"
+
+DEPENDS = "libusb"
+
+SRC_URI = "svn://${PN}.svn.sourceforge.net/svnroot/${PN}/;module=trunk;proto=http"
+S = "${WORKDIR}/trunk/${PN}"
+
+inherit autotools
Signature · 6 lines
1.5.6.5


-- 
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#11 lore raw

Hello.

recipes/dfu-programmer/dfu-programmer_svn.bb line 7

Quoted 10 lines · Vitus Jensen
recipes/dfu-programmer/dfu-programmer_svn.bb new file +7 -0
@@ -0,0 +1,16 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+SRCREV = "93"
+PV = "0.5.2+svnr${SRCPV}"

Should be SRCREV and not SRCPV, right? If thats right I can take care of it when testing and applying it.

regards
Stefan Schmidt

#12 lore raw
Quoted 14 lines · Stefan Schmidt

recipes/dfu-programmer/dfu-programmer_svn.bb line 7

Quoted 10 lines · Vitus Jensen
recipes/dfu-programmer/dfu-programmer_svn.bb new file +7 -0
@@ -0,0 +1,16 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+SRCREV = "93"
+PV = "0.5.2+svnr${SRCPV}"

Should be SRCREV and not SRCPV, right? If thats right I can take care of it when testing and applying it.

From previous post by Martin Jansa in this thread:
============

Quoted 1 line

+PV = "0.5.2+svnr${SRCREV}"

In org.openembedded.dev it's always "+svnr${SRCPV}" for svn recipes (hopefully soon also unified for git recipes).
============

My patch of today applies and compiles fine in dev and stable (with the SRCPV-patch posted before) in the original format. So I guess SRCPV is right.

Bye,
Vitus

Signature · 2 lines
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#13 lore raw

Hello.

Quoted 20 lines · Vitus Jensen
Quoted 14 lines · Stefan Schmidt

recipes/dfu-programmer/dfu-programmer_svn.bb line 7

Quoted 10 lines · Vitus Jensen
recipes/dfu-programmer/dfu-programmer_svn.bb new file +7 -0
@@ -0,0 +1,16 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+SRCREV = "93"
+PV = "0.5.2+svnr${SRCPV}"

Should be SRCREV and not SRCPV, right? If thats right I can take care of it when testing and applying it.

From previous post by Martin Jansa in this thread:
============

Quoted 1 line

+PV = "0.5.2+svnr${SRCREV}"

Quoted 7 lines

In org.openembedded.dev it's always "+svnr${SRCPV}" for svn recipes (hopefully soon also unified for git recipes).
============

My patch of today applies and compiles fine in dev and stable (with the SRCPV-patch posted before) in the original format. So I guess SRCPV is right.

Hmm, ok. I haven't followed the SRCPV thing closely. Will test your patch here and push it.

regards
Stefan Schmidt

#14 lore raw
In reply to Vitus Jensen

Hello.

Quoted 20 lines · Vitus Jensen
Quoted 14 lines · Stefan Schmidt

recipes/dfu-programmer/dfu-programmer_svn.bb line 7

Quoted 10 lines · Vitus Jensen
recipes/dfu-programmer/dfu-programmer_svn.bb new file +7 -0
@@ -0,0 +1,16 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+SRCREV = "93"
+PV = "0.5.2+svnr${SRCPV}"

Should be SRCREV and not SRCPV, right? If thats right I can take care of it when testing and applying it.

From previous post by Martin Jansa in this thread:
============

Quoted 1 line

+PV = "0.5.2+svnr${SRCREV}"

Quoted 7 lines

In org.openembedded.dev it's always "+svnr${SRCPV}" for svn recipes (hopefully soon also unified for git recipes).
============

My patch of today applies and compiles fine in dev and stable (with the SRCPV-patch posted before) in the original format. So I guess SRCPV is right.

Tested and pushed.

Thanks for your contribution and time to fix things up and repost.

regards
Stefan Schmidt

#15 lore raw

Hej!

Quoted 25 lines · Stefan Schmidt
Quoted 24 lines · Vitus Jensen
Quoted 14 lines · Stefan Schmidt

recipes/dfu-programmer/dfu-programmer_svn.bb line 7

Quoted 10 lines · Vitus Jensen
recipes/dfu-programmer/dfu-programmer_svn.bb new file +7 -0
@@ -0,0 +1,16 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+SRCREV = "93"
+PV = "0.5.2+svnr${SRCPV}"

Should be SRCREV and not SRCPV, right? If thats right I can take care of it when testing and applying it.

From previous post by Martin Jansa in this thread:
============

Quoted 1 line

+PV = "0.5.2+svnr${SRCREV}"

In org.openembedded.dev it's always "+svnr${SRCPV}" for svn recipes (hopefully soon also unified for git recipes).
============

Quoted 5 lines
Quoted 3 lines

My patch of today applies and compiles fine in dev and stable (with the SRCPV-patch posted before) in the original format. So I guess SRCPV is right.

Tested and pushed.

Thank you!

Quoted 1 line

Thanks for your contribution and time to fix things up and repost.

?

I do have two machine descriptions and fixes plus 2.6.33 kernel recipe here. Which I will try to merge from stable to dev and post. Takes some time...

Vitus

Signature · 2 lines
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#16 lore raw

PATCH 1/1 dfu-programmer: USB Device Firmware Upgrade utility (special atmel-version).

In reply to Stefan Schmidt

Add recipes for version 0.5.2 and the current head of the subversion repository. dfu-programmer is DFU utility supporting Atmel chips with a USB bootloader (which aren't supported by dfu-util).

---
 recipes/dfu-programmer/dfu-programmer_0.5.2.bb |   17 +++++++++++++++++
 recipes/dfu-programmer/dfu-programmer_svn.bb   |   16 ++++++++++++++++
 2 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 recipes/dfu-programmer/dfu-programmer_0.5.2.bb
 create mode 100644 recipes/dfu-programmer/dfu-programmer_svn.bb
recipes/dfu-programmer/dfu-programmer_0.5.2.bb new file +17 -0
new file mode 100644
index 0000000..34404bd
@@ -0,0 +1,17 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+PV = "0.5.2"
+PR = "r0"
+
+DEPENDS = "libusb1"
+
+SRC_URI = " \
+	${SOURCEFORGE_MIRROR}/project/${PN}/${PN}/${PV}/${PN}-${PV}.tar.gz;name=tar \
+	"
+SRC_URI[tar.md5sum] = "ce882d37383df698a1c530080724b191"
+SRC_URI[tar.sha256sum] = "e3c8bc1429fe1681c56ddc14fb05d29a7933aac566d13f894dca6fd916829cb9"
+
+inherit autotools
recipes/dfu-programmer/dfu-programmer_svn.bb new file +16 -0
new file mode 100644
index 0000000..2f860dc
@@ -0,0 +1,16 @@
+DESCRIPTION = "USB Device Firmware Upgrade utility (special atmel-version)"
+SECTION = "devel"
+AUTHOR = "Weston Schmidt <[email protected]>"
+LICENSE = "GPL"
+
+SRCREV = "95"
+PV = "0.5.2+svnr${SRCPV}"
+PR = "r1"
+DEFAULT_PREFERENCE = "-1"
+
+DEPENDS = "libusb1"
+
+SRC_URI = "svn://${PN}.svn.sourceforge.net/svnroot/${PN}/;module=trunk;proto=http"
+S = "${WORKDIR}/trunk/${PN}"
+
+inherit autotools
Signature · 1 line
1.7.1