forked from pool/coreboot-utils
checked in
OBS-URL: https://build.opensuse.org/package/show/hardware/coreboot-utils?expand=0&rev=9
This commit is contained in:
parent
4387a5a496
commit
663bf2ffc8
@ -1,20 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Sep 2 20:04:06 CEST 2009 - kernel01@hailfinger.org
|
|
||||||
|
|
||||||
- Update flashrom to from 0.9.1-rc1 to 0.9.1
|
|
||||||
* Bug fixes and documentation fixes only
|
|
||||||
- Update nvramtool to r4625
|
|
||||||
* Fix HIGH_TABLES
|
|
||||||
* Install manpage in section 8 instead of section 1
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Aug 24 13:26:37 CEST 2009 - kernel01@hailfinger.org
|
|
||||||
|
|
||||||
- Update flashrom description
|
|
||||||
- Add nvramtool description
|
|
||||||
- Use RPM_OPT_FLAGS, drop custom CFLAGS/LDFLAGS
|
|
||||||
- Install nvramtool in sbin because it's only usable as root
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 18 20:32:39 CEST 2009 - kernel01@hailfinger.org
|
Tue Aug 18 20:32:39 CEST 2009 - kernel01@hailfinger.org
|
||||||
|
|
||||||
|
@ -21,12 +21,13 @@
|
|||||||
Name: coreboot-utils
|
Name: coreboot-utils
|
||||||
Url: http://coreboot.org/
|
Url: http://coreboot.org/
|
||||||
Summary: A universal flashrom programming utility
|
Summary: A universal flashrom programming utility
|
||||||
Version: 0.9.1
|
Version: 0.9.0
|
||||||
Release: 1
|
Release: 1
|
||||||
%define nvramtool_version r4625
|
%define flashrom_svnrevision r687
|
||||||
|
%define nvramtool_version r3852
|
||||||
License: GPL v2 only ; GPL v2 or later
|
License: GPL v2 only ; GPL v2 or later
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Source0: flashrom-%{version}.tar.bz2
|
Source0: flashrom-%{version}-%{flashrom_svnrevision}.tar.bz2
|
||||||
Source1: nvramtool-svn-%{nvramtool_version}.tar.bz2
|
Source1: nvramtool-svn-%{nvramtool_version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: pciutils-devel zlib-devel
|
BuildRequires: pciutils-devel zlib-devel
|
||||||
@ -35,25 +36,9 @@ Obsoletes: flashrom < %{version}
|
|||||||
ExclusiveArch: %ix86 x86_64
|
ExclusiveArch: %ix86 x86_64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
flashrom is a utility for reading, writing, verifying and erasing flash ROM
|
flashrom is a universal flash programming utility for DIP, PLCC, or
|
||||||
chips. It's often used to flash BIOS/EFI/coreboot/firmware images in-system
|
SPI flash ROM chips. It can be used to flash BIOS/LinuxBIOS/firmware
|
||||||
using a supported mainboard, but it also supports flashing of network
|
images, for example.
|
||||||
cards (NICs), SATA controller cards, and other external devices which can
|
|
||||||
program flash chips.
|
|
||||||
|
|
||||||
It supports a wide range of DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, and
|
|
||||||
TSOP40 chips, which use various protocols such as LPC, FWH, parallel flash,
|
|
||||||
or SPI.
|
|
||||||
|
|
||||||
nvramtool is a utility for reading/writing coreboot parameters and
|
|
||||||
displaying information from the coreboot table. It is intended for x86-based
|
|
||||||
systems (both 32-bit and 64-bit) that use coreboot.
|
|
||||||
|
|
||||||
The coreboot table resides in low physical memory, and may be accessed
|
|
||||||
through the /dev/mem interface. It is created at boot time by coreboot, and
|
|
||||||
contains various system information such as the type of mainboard in use. It
|
|
||||||
specifies locations in the CMOS (nonvolatile RAM) where the coreboot
|
|
||||||
parameters are stored.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -79,28 +64,30 @@ Authors:
|
|||||||
Uwe Hermann <uwe@hermann-uwe.de>
|
Uwe Hermann <uwe@hermann-uwe.de>
|
||||||
Wang Qingpei <Qingpei.Wang@amd.com>
|
Wang Qingpei <Qingpei.Wang@amd.com>
|
||||||
Yinghai Lu <yinghai.lu@amd.com>
|
Yinghai Lu <yinghai.lu@amd.com>
|
||||||
David S. Peterson <dsp@llnl.gov> <dave_peterson@pobox.com>
|
|
||||||
some others
|
some others
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n flashrom-%{version} -a 1
|
%setup -q -n flashrom-%{version}-%{flashrom_svnrevision} -a 1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j%jobs} \
|
make %{?jobs:-j%jobs} \
|
||||||
CFLAGS="$RPM_OPT_FLAGS"
|
CFLAGS="$RPM_OPT_FLAGS -Os -Wall "
|
||||||
gzip flashrom.8
|
gzip flashrom.8
|
||||||
cd nvramtool-svn-%{nvramtool_version}
|
cd nvramtool-svn-%{nvramtool_version}
|
||||||
make %{?jobs:-j%jobs} \
|
make %{?jobs:-j%jobs} \
|
||||||
CFLAGS="$RPM_OPT_FLAGS"
|
CFLAGS="$RPM_OPT_FLAGS -Os -Wall -DDISABLE_DOC " \
|
||||||
|
LDFLAGS="-lpci -lz"
|
||||||
gzip nvramtool.8
|
gzip nvramtool.8
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
|
||||||
install -m 0755 flashrom $RPM_BUILD_ROOT/%{_sbindir}
|
install -m 0755 flashrom $RPM_BUILD_ROOT/%{_sbindir}
|
||||||
install -m 0644 flashrom.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8
|
install -m 0644 flashrom.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8
|
||||||
cd nvramtool-svn-%{nvramtool_version}
|
cd nvramtool-svn-%{nvramtool_version}
|
||||||
install -m 0755 nvramtool $RPM_BUILD_ROOT/%{_sbindir}
|
install -m 0755 nvramtool $RPM_BUILD_ROOT/%{_bindir}
|
||||||
install -m 0644 nvramtool.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8
|
install -m 0644 nvramtool.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8
|
||||||
cd -
|
cd -
|
||||||
cp README README.flashrom
|
cp README README.flashrom
|
||||||
@ -119,7 +106,7 @@ rm -rf %{buildroot}
|
|||||||
%doc README.flashrom ChangeLog.flashrom serprog-protocol.txt
|
%doc README.flashrom ChangeLog.flashrom serprog-protocol.txt
|
||||||
%doc DISCLAIMER.nvramtool ChangeLog.nvramtool README.nvramtool
|
%doc DISCLAIMER.nvramtool ChangeLog.nvramtool README.nvramtool
|
||||||
%{_sbindir}/flashrom
|
%{_sbindir}/flashrom
|
||||||
%{_sbindir}/nvramtool
|
%{_bindir}/nvramtool
|
||||||
%{_mandir}/man8/nvramtool.8.gz
|
%{_mandir}/man8/nvramtool.8.gz
|
||||||
%{_mandir}/man8/flashrom.8.gz
|
%{_mandir}/man8/flashrom.8.gz
|
||||||
|
|
||||||
|
3
flashrom-0.9.0-r687.tar.bz2
Normal file
3
flashrom-0.9.0-r687.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:073d64fc6bcf5191fd73b3739b224d86f2d4daece5cc91484b36e71232633c5e
|
||||||
|
size 140648
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:88db7a739d315f25e10f318b1dee070af57124965b5edcbfc17239d080aeafe0
|
|
||||||
size 143890
|
|
3
nvramtool-svn-r3852.tar.bz2
Normal file
3
nvramtool-svn-r3852.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8b4afa51e6a91fcb081c29d4419e63bd2f41d3994f720db38fb1199cef62d4ea
|
||||||
|
size 50406
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8be08411da2bd3170c0f8b8e3581ab8ae6397da398c1e5feb1eaacede3dc8a4f
|
|
||||||
size 50949
|
|
Loading…
Reference in New Issue
Block a user