Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546276 - sys-apps/flashrom: add support for dev-embedded/libftdi-1
Summary: sys-apps/flashrom: add support for dev-embedded/libftdi-1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-11 16:25 UTC by Daniel Rozsnyo
Modified: 2016-06-15 17:35 UTC (History)
3 users (show)

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


Attachments
Adds support for libftdi1 (flashrom-0.9.7-libftdi1.patch,2.67 KB, patch)
2015-04-11 16:25 UTC, Daniel Rozsnyo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Rozsnyo 2015-04-11 16:25:53 UTC
Created attachment 401056 [details, diff]
Adds support for libftdi1

The current 0.9.7 version of flashrom, nor the SVN version (-9999) has ability to use libftdi1 for FT2232 access. I have found a patch ( http://www.flashrom.org/pipermail/flashrom/2013-March/010777.html ) and adjusted it to fit onto the 0.9.7 version which is available in Gentoo without unmasking.

Patch file attached, can I ask for inclusion? (0.9.7 -> 0.9.7-r1 perhaps). Only the makefile is changed.

This solves bug 528344 .
Comment 1 SpanKY gentoo-dev 2015-04-18 01:33:14 UTC
messing with flashrom can be pretty risky.  would really prefer to see this sent upstream first.
Comment 2 stefan.tauner 2016-01-04 03:53:40 UTC
See upstream r1904. It supports both versions of libftdi since the API remained the same (at least for the bits flashrom uses). Also, libftdi is only needed for external programmers where the risk is relatively low (compared to the immanent brick threat of the internal programmer at least ;)

There will soon(tm) be a new stable release anyway BTW.
Comment 3 SpanKY gentoo-dev 2016-06-15 17:35:38 UTC
i've add 0.9.9 now which should have this fixed

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595e3cb391a4ee87b2cabe6bb5151c39cdedbcda