Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223245 - dev-embedded/avrdude-5.5 ebuild upgrade for arduino
Summary: dev-embedded/avrdude-5.5 ebuild upgrade for arduino
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-22 18:39 UTC by Thomas Kohler
Modified: 2009-12-27 23:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
give back the correct signature (signature_arduino.patch,1.59 KB, patch)
2008-05-22 18:45 UTC, Thomas Kohler
Details | Diff
ebuild applying the patch (avrdude-5.5-r1.ebuild,1.66 KB, text/plain)
2008-05-22 18:51 UTC, Thomas Kohler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kohler 2008-05-22 18:39:38 UTC
After compiling of avrdude you will get a problem while downloding to "arduino NG" with atmega168:

avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.

This is a known problem at http://www.arduino.cc/ . The developers of arduino have therefore a special version of avrdude released. But this must be compiled for 64 bit systems by hand. A better way for gentoo-users can be a patch (combined with a useflag "arduino").

Reproducible: Always
Comment 1 Thomas Kohler 2008-05-22 18:45:54 UTC
Created attachment 153965 [details, diff]
give back the correct signature

This patch will correct the problem. Thanks to David A. Mellis!
Comment 2 Thomas Kohler 2008-05-22 18:51:24 UTC
Created attachment 153969 [details]
ebuild applying the patch

This ebuild can be used for an portage overlay in the first step. A switch to include/exclude the patch would be fine.
Comment 3 Nick Loeve 2008-10-27 20:41:20 UTC
I can confirm that this fixes uploading with avrdude to a Arduino Diecimila
Comment 4 Keith Amidon 2008-12-24 05:45:41 UTC
I can confirm that I have the same problem on my amd64 system, and this fixes it.  Is there any chance of this getting into portage sometime?
Comment 5 Eric Westbrook 2009-03-08 09:31:28 UTC
As long as this is taking to get into portage, perhaps waiting for avrdude upstream is better.  They are adding an "arduino" device type that will do the correct signature checking.  Until it appears in an upstream release, the -F flag workaround gets us by.  Just $0.02.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-12-27 23:18:50 UTC
5.8 INCVS now.