From 2654d5588d4c722ca197152f4e81e3a9a4e461232ec66f8cb40df62f4932a5b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20M=C3=B6llers?= Date: Tue, 9 Jan 2018 10:49:33 +0000 Subject: [PATCH] Accepting request 562610 from home:mnhauke - Update to version 1.0 * Support layouts for read and erase commands * New command line switch --noverify-all (-N) allows flashing of individual regions without reading the whole flash chip (particular useful with locked down Intel ME firmware) * New command line switch --ifd to read the layout from an Intel Firmware Descriptor on flash * We got rid of the delay-loop calibration (if the OS provides an accurate timer through clock_gettime()) * Reading speed of USB programmers should have increased (reading bigger chunks at once, we reduce the overhead) * Support Intel 100 series PCHs (Sunrise Point, coupled with Skylake and Kaby Lake) and C620 series PCHs (Lewisburg paired with Workstation/Server versions of the former) * New programmers + Intel 100 series / C620 series PCHs + Intel I210 NICs (EEPROM and SPI) + AMD Merlin Falcon (FP4) * New chips + W25Q128.W - Specfile cleanup - Verify source signature OBS-URL: https://build.opensuse.org/request/show/562610 OBS-URL: https://build.opensuse.org/package/show/hardware/flashrom?expand=0&rev=33 --- flashrom-0.9.9.tar.bz2 | 3 --- flashrom-1.0.tar.bz2 | 3 +++ flashrom-1.0.tar.bz2.sig | Bin 0 -> 543 bytes flashrom.changes | 26 ++++++++++++++++++++ flashrom.keyring | 52 +++++++++++++++++++++++++++++++++++++++ flashrom.spec | 41 +++++++++++++----------------- 6 files changed, 98 insertions(+), 27 deletions(-) delete mode 100644 flashrom-0.9.9.tar.bz2 create mode 100644 flashrom-1.0.tar.bz2 create mode 100644 flashrom-1.0.tar.bz2.sig create mode 100644 flashrom.keyring diff --git a/flashrom-0.9.9.tar.bz2 b/flashrom-0.9.9.tar.bz2 deleted file mode 100644 index de40c3e..0000000 --- a/flashrom-0.9.9.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45 -size 495199 diff --git a/flashrom-1.0.tar.bz2 b/flashrom-1.0.tar.bz2 new file mode 100644 index 0000000..f5eb3a3 --- /dev/null +++ b/flashrom-1.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3702fa215ba5fb5af8e54c852d239899cfa1389194c1e51cb2a170c4dc9dee64 +size 321693 diff --git a/flashrom-1.0.tar.bz2.sig b/flashrom-1.0.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..86c69d3949ac9314d9467d772d82518bfd64c056db62c22b99d3c6af27f9639f GIT binary patch literal 543 zcmV+)0^t3L0vrSY0RjL91p-=2^#A}02@s>}mAKh>4`>7T5CG;9c+GA1FYL8>F2X5U z60?h2&R_y<_g0uGFomK56fk5AAvjj|Hz+bsoWnVFg-q)>=8=dDjL_BDo$$Vw_}tzM zkOey2-}2jO;C)BdX5(uap*f9)oGJMOg-ZTZkVZoiwtwQindl8#5ainDO0$dNLQF6K zDXTZ0npETHF~xCKhWk_y4A}G&peZJS^D$+_IcQ{|@p;HLAlby<5`|Q5b4%8&AdsT> z4&eu%#WHx&j-KR~ssF@JQ-sb8L9qbUi`c22JkYK6B{cj!tCDB82VRIXLuw1jZ*t)O z8HO)TLX8)*zeS8_SE6F){BX{}*|T4`ydU+3jN^;_Omxq8mIg&GN)|SBNSc3i^|uh= zuV*{MUOMpa0?J&6X6&Dqx94U!S>vu&0W5bRK|I}F?wB;9K4e1yCzW&@PmAb7|DTCd z(@HBh#fvwyLiU%p#GM$z8LS)z<3=z{FxM1*1NR$q0u-U@ga9khbOX`7$7(A)tP%Z(7f;P#m0?N5O-9np1pEL1 literal 0 HcmV?d00001 diff --git a/flashrom.changes b/flashrom.changes index 49b6369..c5ce3d3 100644 --- a/flashrom.changes +++ b/flashrom.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Wed Jan 3 14:52:38 UTC 2018 - mardnh@gmx.de + +- Update to version 1.0 + * Support layouts for read and erase commands + * New command line switch --noverify-all (-N) allows flashing of + individual regions without reading the whole flash chip + (particular useful with locked down Intel ME firmware) + * New command line switch --ifd to read the layout from an + Intel Firmware Descriptor on flash + * We got rid of the delay-loop calibration (if the OS provides an + accurate timer through clock_gettime()) + * Reading speed of USB programmers should have increased (reading + bigger chunks at once, we reduce the overhead) + * Support Intel 100 series PCHs (Sunrise Point, coupled with + Skylake and Kaby Lake) and C620 series PCHs (Lewisburg paired + with Workstation/Server versions of the former) + * New programmers + + Intel 100 series / C620 series PCHs + + Intel I210 NICs (EEPROM and SPI) + + AMD Merlin Falcon (FP4) + * New chips + + W25Q128.W +- Specfile cleanup +- Verify source signature + ------------------------------------------------------------------- Wed Apr 26 12:54:46 UTC 2017 - agraf@suse.com diff --git a/flashrom.keyring b/flashrom.keyring new file mode 100644 index 0000000..7875760 --- /dev/null +++ b/flashrom.keyring @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1 + +mQINBFnpFrEBEAD6jD/aqfkXp0j+ampj1Nz5GkzKnrd75tCzFYCjH8Z2/mC4CiLa +WAnGR9JyK2czMaiWrpl+99UpzsHuwWzaSYOieC7OlLRJ9GZIhgxRu+qcAz5FsiA3 +L3f967WJQPWJWCUtVxbu8kUgKV9UDXC/G9+kZGFy4+aUK1H9EDNL7i91oBmL+pUq +rwxAT1knEMwE+riWyWsCjlRXiMVSJd3oQVTxDZsT2wWxJIKSOYcpLL/6flb5oQMb +J2vc0oil//wYj6pAvuGtRnADoOLzvm7nr8Z7CQ/FCVuoEnLIIpS5F9gMQ8K56OcQ +gVD3D4JPyMGZVlfQiz/oLXd51fwSs8gQdot8ymHkfULrifOXotn1K3EfO+GHsNew +xC3uD5RRgCsKPRZ1PajrqpGGDRyfoxsJ5ruToRw7Y5tKDQ0oXZ3pqlhTswsgOshz +Jp7g8kUYFaGQv1JIwpFjA8Vr7Vpdc8WppGXTY6u+RKRCwWil5emhX88++NmmTQzB +SHVH22bnUw1OV7TxpDAcK9d6SXkjj/njUqwhtaF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oFIwYoiUxlfDZHJk6I +OW4Noh3/KrprdN4kZQV+g+TAtBnPKgxlvzhifoZ3S0A4TYeC2d6ze3raWe7lhnks +mtTGrCcD7+DlJl1Gozya3bVc+ipjsRv8d+GzCmWjfhVgziS63LRHkC6rd1JXk+gn +YIqAGBodmwixpE3Ex+tivrRqn4C+rlV4A/Dfz2rhpXLE52mmCzJrgqITMI2CxjCb +T9VujBtpUKxUqeCAyJk5zukVbAIQhzdubflf9njvlmqFEwFsErAujpjhKIrFqtSP +DTvt2DMTCDHdZ9i7dXV39W/eNPtd3bhz6eU= +=h33t +-----END PGP PUBLIC KEY BLOCK----- diff --git a/flashrom.spec b/flashrom.spec index e240dd9..f6c43c4 100644 --- a/flashrom.spec +++ b/flashrom.spec @@ -1,7 +1,7 @@ # # spec file for package flashrom # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,26 +17,23 @@ Name: flashrom -Version: 0.9.9 +Version: 1.0 Release: 0 Summary: A universal flash programming utility License: GPL-2.0 Group: Development/Tools/Other -Url: http://flashrom.org/Flashrom -Source0: http://download.flashrom.org/releases/%{name}-%{version}.tar.bz2 -Source23: update-snapshots.sh -BuildRequires: libftdi1 -BuildRequires: libftdi1-devel -BuildRequires: libusb-devel -BuildRequires: pciutils-devel -BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 x86_64 %arm aarch64 -%if 0%{?suse_version} <= 1110 -Requires: pmtools -%else +Url: https://flashrom.org/Flashrom +Source0: https://download.flashrom.org/releases/%{name}-%{version}.tar.bz2 +Source1: https://download.flashrom.org/releases/%{name}-%{version}.tar.bz2.asc#/%{name}-%{version}.tar.bz2.sig +# Got the key from David Hendricks +Source2: %{name}.keyring +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libftdi1) +BuildRequires: pkgconfig(libpci) +BuildRequires: pkgconfig(libusb) +BuildRequires: pkgconfig(zlib) Requires: dmidecode -%endif +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 %description flashrom is a utility for reading, writing, verifying and erasing flash ROM @@ -55,20 +52,16 @@ or SPI. %build make %{?_smp_mflags} \ CFLAGS="%{optflags}" -#gzip flashrom.8 %install - -mkdir -p %{buildroot}/%{_sbindir} -mkdir -p %{buildroot}/%{_mandir}/man8 +install -d %{buildroot}/%{_sbindir} +install -d %{buildroot}/%{_mandir}/man8 install -m 0755 flashrom %{buildroot}/%{_sbindir} install -m 0644 flashrom.8 %{buildroot}/%{_mandir}/man8 %files -%defattr(-,root,root) -%doc COPYING -%doc README +%doc COPYING README %{_sbindir}/flashrom -%{_mandir}/man8/flashrom.8.gz +%{_mandir}/man8/flashrom.8%{ext_man} %changelog