Merge pull request !2 from hy/work
This commit is contained in:
openeuler-ci-bot 2020-01-08 14:50:57 +08:00 committed by Gitee
commit 55e977725f
4 changed files with 4 additions and 58 deletions

View File

@ -1,34 +0,0 @@
diff -up fxload-2008_10_13/fxload.8.fxload-noa3load fxload-2008_10_13/fxload.8
--- fxload-2008_10_13/fxload.8.fxload-noa3load 2008-10-13 17:44:04.000000000 -0400
+++ fxload-2008_10_13/fxload.8 2018-02-25 23:33:18.717749708 -0500
@@ -224,15 +224,6 @@ and some firmware can't be placed in boo
.B DEVICE
normally names a "usbfs" file that will be used to talk to the device.
This is provided by the Linux kernel as part of USB hotplugging.
-.SH "FILES"
-.TP
-.I /usr/share/usb/a3load.hex
-Second stage loader that works with AnchorChips EZ-USB,
-Cypress EZ-USB FX, and Cypress EZ-USB FX2.
-Note that this only supports the 0xA3 vendor command, to
-write external memory.
-A loader that also supports the 0xA2 command, to write boot EEPROMs,
-is included with Cypress developer kits.
.SH "SEE ALSO"
.BR hotplug "(8) "
.SH "AUTHORS"
diff -up fxload-2008_10_13/README.txt.fxload-noa3load fxload-2008_10_13/README.txt
--- fxload-2008_10_13/README.txt.fxload-noa3load 2008-10-13 17:44:04.000000000 -0400
+++ fxload-2008_10_13/README.txt 2018-02-25 23:33:18.717749708 -0500
@@ -11,11 +11,6 @@ firmware on devices which boot from I2C
use, as well as downloading firmware to all other off-chip memory,
a second stage loader must first be downloaded.
-The distribution includes "a3load.hex", which is a simple second stage
-loader that works with all the EZ-USB products listed above. If you
-want to write to an EEPROM, you can use the appropriate version of the
-"Vend_Ax" code provided with the Cypress developer kit.
-
UPDATES

View File

@ -1,12 +0,0 @@
diff -up fxload-2008_10_13/Makefile.cflags fxload-2008_10_13/Makefile
--- fxload-2008_10_13/Makefile.cflags 2008-10-13 17:44:04.000000000 -0400
+++ fxload-2008_10_13/Makefile 2018-02-25 23:11:02.416103160 -0500
@@ -39,7 +39,7 @@ release: rpms
# object files
$(PROG): $(FILES_OBJ)
- $(CC) -o $(PROG) $(FILES_OBJ)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(FILES_OBJ)
%.o: %.c
$(CC) -c $(CFLAGS) $< -o $@

View File

@ -1,8 +0,0 @@
#!/bin/sh
VERSION=$1
tar -xzvf fxload-${VERSION}.tar.gz
rm fxload-${VERSION}/a3load.hex
tar -czvf fxload-${VERSION}-noa3load.tar.gz fxload-${VERSION}

View File

@ -1,14 +1,11 @@
Name: fxload
Version: 2008_10_13
Release: 13
Release: 14
Summary: A program which downloads firmware to USB devices
License: GPLv2+
URL: http://linux-hotplug.sourceforge.net/
Source0: https://sourceforge.net/projects/linux-hotplug/files/fxload/2008_10_13/%{name}-%{version}.tar.gz
Patch0: 0000-fxload-noa3load.patch
Patch1: 0001-fxload-cflags-ldflags.patch
BuildRequires: git
Requires: udev
@ -44,5 +41,8 @@ install -D -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/fxload.8
%{_mandir}/*/*
%changelog
* Mon Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 2008_10_13-14
- rePackage
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 2008_10_13-13
- Package init