On Mon, 2008-01-07 at 13:26 +0000, Sam Sharpe wrote: > On Mon, 2008-01-07 at 13:56 +0100, Thorsten Lueck wrote: > > Hi @all, > > > > where do I find the fxload program for rhel5.1? > > I have a USB hardware from Xilinx, which should be supported for rhel5 > > but uses fxload to upload the firmware to the USB device. However, I > > cannot find this exectuable in any package (neither exists a > > fxload-package nor the hotplug-package). > > It's not in RHEL5. > > http://nerdvittles.com/forum/showthread.php?t=338 > > It is in Fedora 8
It seems to build on RHEL5 with one minor modification, if you want to try yourself: # Grab the PlanetCCRMA version of the RPM as it is pre-patched for Fedora rpm -ivh http://ccrma.stanford.edu/planetccrma/mirror/all/linux/SRPMS/fxload-2002_04_11-2.src.rpm # Go to the RPM build root cd /usr/src/redhat/SPECS # Delete the ifdef which only applies to fedora6+ sed -i '/fedora/d' fxload.spec sed -i '/endif/d' fxload.spec # Modify the include in ezusb.c from linux/usb/ch9.h to linux/usb_ch9.h # this SRPM is for Fedora it used to do linux/usb.h -> linux/usb/ch.9 # we want it to subsitute linux/usb.h for linux/usb_ch9.h sed -i 's/usb\/ch9/usb_ch9/g' fxload.spec # Build the RPM rpmbuild -ba fxload.spec # Install the RPM rpm -ivh /usr/src/redhat/RPMS/i386/fxload-2002_04_11-2.i386.rpm (although obviously your RPM will end up in a different place as you are on x86_64. You will need the rpm-build and kernel-devel packages installed to do this) -- Sam _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
