forked from esden/fxload
-
Notifications
You must be signed in to change notification settings - Fork 1
/
fxload.spec
86 lines (66 loc) · 3.05 KB
/
fxload.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Summary: EZ-USB utility program
Name: fxload
Version: VERCODE
Release: 1
Group: Applications/System
License: GPL
Url: http://linux-hotplug.sourceforge.net/
Source0: %{name}-%{version}.tar.gz
%description
This package contains utilities for downloading firmware to EZ-USB devices.
EZ-USB devices use 8051-based microcontrollers that have been enhanced with
registers, buffers, and other device-side support for USB transactions.
It currently supports devices based on the Anchorchips EZ-USB, as well as the
Cypress EZ-USB FX (which is almost completely source compatible) and EZ-USB FX2
(which is not). All of these support full speed (12 Mbit/sec) transfers. The
FX2 also supports high speed (480 Mbit/s) transfers, introduced in USB 2.0.
This version of FXLOAD supports optional use of two-stage loading, where
special device firmware is used to support writing into off-chip memory such
as RAM (when firmware neeeds more than about 8 KBytes of code and data) or,
for firmware development, I2C serial EEPROM.
%prep
%setup -q
%build
# Build any compiled programs in the source tree.
make all CFLAGS="%optflags -DFXLOAD_VERSION=\\\"%version\\\""
%install
make prefix=%buildroot install
# --
# The utils package contains utility programs that certain devices
# might need along with the core hotplug in order to boot up the
# device in question.
%files
%defattr(-,root,root)
/sbin/fxload
%changelog
* Mon Apr 01 2002 David Brownell <[email protected]>
- fixed/updated RPM build and Makefile
- Makefile automatically embeds version into specfile and binary
- fxload handles 2nd stage loader
* Mon Jan 21 2002 David Brownell <[email protected]>
- update fxload rpm description. also, manpage now installs.
* Mon Jan 14 2002 Greg Kroah-Hartman <[email protected]>
- split fxload specific stuff out of the base hotplug.spec file
to keep the hotplug core arch independant
* Mon Jun 11 2001 Steve Williams <[email protected]>
- The install process is now in the comon makefile, so that non-
rpm installs can work. This spec file thus invokes that install.
* Fri Jun 8 2001 Steve Williams <[email protected]>
- added the /var/run/usb directory to spec file
* Tue Apr 24 2001 Greg Kroah-Hartman <[email protected]>
- added the hotplug.8 manpage written by Fumitoshi UKAI <[email protected]>
* Fri Mar 2 2001 Greg Kroah-Hartman <[email protected]>
- tweaked the post and preun sections to fix problem of hotplug
not starting automatically when the package is upgraded.
* Wed Feb 28 2001 Greg Kroah-Hartman <[email protected]>
- 2001_02_28 release
* Wed Feb 14 2001 Greg Kroah-Hartman <[email protected]>
- 2001_02_14 release
* Wed Jan 17 2001 Greg Kroah-Hartman <[email protected]>
- changed specfile based on Chmouel Boudjnah's <[email protected]> comments.
* Tue Jan 16 2001 Greg Kroah-Hartman <[email protected]>
- tweaked the file locations due to the change in the tarball structure.
- 2001_01_16 release
* Mon Jan 15 2001 Greg Kroah-Hartman <[email protected]>
- First cut at a spec file for the hotplug scripts.
- added patch to usb.rc to allow chkconfig to install and remove it.