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