Sync from SUSE:SLFO:Main flashrom revision e8e1c9f018132f84e6c6b3c1bc7bf0c1

This commit is contained in:
Adrian Schröter 2024-05-03 12:32:54 +02:00
commit 274ca4dbf3
7 changed files with 521 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRubvmgukeABuJ3bkzAN7tBMTTREQUCY+MPrwAKCRDAN7tBMTTR
EZX5AJ41n1UF6YaAnao6OWYfrE6nRyaL/gCeJxIgEKVf+YAROc6oe2C+jNu+6L8=
=kICs
-----END PGP SIGNATURE-----

BIN
flashrom-v1.3.0.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

331
flashrom.changes Normal file
View File

@ -0,0 +1,331 @@
-------------------------------------------------------------------
Fri Sep 22 19:54:18 UTC 2023 - Adam Mizerski <adam@mizerski.pl>
- Update to 1.3.0
- See changelog at https://www.flashrom.org/Flashrom/1.3
- Removed patches (merged upstream):
- flashrom-install-man-file.patch
- flashrom-j-link-spi.patch
-------------------------------------------------------------------
Sun Jul 24 14:57:24 UTC 2022 - Michael Gorse <mgorse@suse.com>
- Switch to meson
- Add flashrom-install-man-file.patch: install the man file when
using meson.
- Add flashrom-j-link-spi.patch: Add missing meson option for
J-Link SPI.
- Drop fix_aarch64.patch: no longer relevant.
- Package the library and headers.
-------------------------------------------------------------------
Thu Sep 9 15:02:36 UTC 2021 - Andreas Schwab <schwab@suse.de>
- Enable build on riscv64
- Drop requires on dmidecode, no longer needed
-------------------------------------------------------------------
Fri Nov 27 08:18:53 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix build on aarch64 with upstream patch:
* fix_aarch64.patch
-------------------------------------------------------------------
Thu Feb 20 21:18:38 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.2
- Meson support
- Layout improvements/fixes and many, many code cleanups.
- New chips: MX25U25635F, MX25L51245G, GD25Q256D, M95M02-A125,
N25Q/MT25Q variants, W25Q128JW_DTR, AT25SF321, S25FL512S
- New programmers: National Instruments USB-845x, Tin Can Tools
Flyswatter/Flyswatter 2, STLINK V3, more Intel PCHs (Apollo
Lake, Cannon Lake variants, Ice Lake U)
- Reduced dependency on libusb0
- Syntax: Added --flash-name and --flash-size arguments to print
information about the flash chip
-------------------------------------------------------------------
Sun Jun 23 17:43:36 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.1
New major user-visible features
* 4-byte address support for many SPI programmers
* New option to use a reference file for flash contents
(--flash-contents)
* Layout support for coreboot's FMAP format (--fmap, --fmap-file)
* BAUD rate selection for Buspirate SPI
* Support for the ENE Embedded Debug Interface (EDI), probably
our first non-jedec SPI target
* On Intel ME enabled systems, internal flashing is allowed by
default
New programmers
* ENE Embedded Debug Interface EDI
* Linux' MTD interface
* Digilent SPI for the iCEblink40 development board
* Developerbox/CP2104 bit banging
* J-Link SPI
* Dediprog firmwares >= 7.2.30
* Dediprog SF200
* Intel Kabylake PCHs
Support for lots of new chips
-------------------------------------------------------------------
Sun Mar 31 20:18:21 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.0.1
* linux_spi: Reduce maximum read chunksize
* Hardcode default spispeed of 2MHz
Default speed of kernel drivers isn't always sane (any more).
* Fix dmi_match string for ThinkPad X201
* verification with sparse layouts
* Fix erasing of unaligned regions
-------------------------------------------------------------------
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
- Enable build for ARM
-------------------------------------------------------------------
Tue Jul 26 07:50:06 UTC 2016 - glin@suse.com
- Update to 0.9.9
* Enable the dediprog module by default, add support for Dediprog
SF600 and the new communication protocol of the SF100 with
newer firmware
* Add support to update the firmware of Promise UltraATA
controllers
* Support new programers: WCH CH341A, VIA VT8251
* Support new chips:
+ ESI ES25P40, ES25P80, ES25P16
+ GigaDevice GD25VQ41B, GD25Q128C, GD25VQ21B, GD25VQ40C,
GD25VQ80C and GD25VQ16C, GD25LQ40, GD25LQ80, GD25LQ16,
GD25LQ64(B), GD25LQ128
+ PMC Pm25LQ020, Pm25LQ040, Pm25LQ080, Pm25LQ016, Pm25LQ032C
+ Sanyo LE25FU406C/LE25U40CMC
+ SST SST25WF020A, SST25WF040B, SST25WF080B
+ Winbond W29C512A/W29EE512
* Allow to link flashrom statically (with make CONFIG_STATIC=yes)
* Ease debugging of build problems with libraries
* Ignore 0x00 as a flash chip manufacturer ID in the generic
match to avoid ambiguous messages
* Various improvements for serprog-based programmers
* Add support for libftdi1
* Add infrastructure for libusb1 and use it for new programmers
* Rigorously check integrity of I/O stream data
* Add make parameters for easier disabling/enabling of various
classes of programmers
-------------------------------------------------------------------
Fri Apr 3 07:22:52 UTC 2015 - mpluskal@suse.com
- Update to 0.9.8
* A bunch of newly supported architectures: ARM 64bit,
big-endian ARM, PowerPC 64bit, SPARC.
* Better support for AMD chipsets in general (speed selection,
more conservative defaults etc.).
* Add new programmer support:
* AMD Yangtze's SPI controller (found in Kabini and Tamesh) as
well as the one in Bolton FCHs (A78, A88X, A77E).
* Intel Silvermont chipsets (Bay Trail, Rangeley and Avoton) and
Wildcat Point (for Broadwell).
* ITE IT8212F parallel programmer as it8212 (found on PCI SATA
RAID controllers).
* VIA VT6421A LPC programmer as atavia (found on PCI SATA
controllers).
* EEPROMs on Intel network cards based on the 82580 NIC
(nicintel_eeprom).
* Intel 82599 10 GbE NICs boot PROMs (part of nicintel_spi).
* Microchip PICkit 2
* MSTAR I²C ISP protocol (not compiled in by default). Rewrites the
firmware of your screen over VGA/DVI(!).
* Extension of the rayer_spi module to supported various similar
devices (Altera ByteBlasterMV, Atmel STK200/300, Wiggler LPT).
* Switching betweens chips on boards with GIGABYTE's DualBIOS
(using the dualbiosindex programmer parameter).
* Enable fwh_idsel parameter for C-ICH and ICH2/3/4/5 chipsets.
* Finer-grained display of support status used for flash chip
operations, chipsets, mainboards and programmers (new states:
configuration-dependent, not applicable).
-------------------------------------------------------------------
Thu Oct 30 17:14:59 UTC 2014 - crrodriguez@opensuse.org
- Build Require libusb-devel, fix build in factory
-------------------------------------------------------------------
Thu Oct 30 17:11:32 UTC 2014 - stepan@coresystems.de
- update to 0.9.7 r1852.
-------------------------------------------------------------------
Thu Aug 15 11:35:37 UTC 2013 - p.drouand@gmail.com
- Update to version 0.9.7
+ see http://flashrom.org/Flashrom/0.9.7 for changes
- Use official tarball instead of generated one from svn
- Let RPM strips manpage himself;
- Change Url to real one
-------------------------------------------------------------------
Wed Mar 13 13:39:07 UTC 2013 - cfarrell@suse.com
- license update: GPL-2.0
No indication of aggregation
-------------------------------------------------------------------
Tue Mar 5 13:17:17 UTC 2013 - coolo@suse.com
- update license to new format
-------------------------------------------------------------------
Sun Sep 23 22:00:26 UTC 2012 - kernel01@hailfinger.org
- Update to 0.9.6.1
-------------------------------------------------------------------
Fri Oct 28 21:59:50 CLST 2011 - crrodriguez@opensuse.org
- update to 0.9.4 r1457.
* Mark several new boards as supported/unsupported
-------------------------------------------------------------------
Fri Oct 14 00:02:55 CLST 2011 - stepan@coresystems.de
- update to 0.9.4 r1450.
* support more devices
- Fix update-snapshots script when running svn with locales other
than english.
-------------------------------------------------------------------
Tue Oct 4 22:34:26 UTC 2011 - kernel01@hailfinger.org
- Update flashrom from 0.9.4-beta to 0.9.4
* Fixes for crashes and corruption in corner cases
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Apply packaging guidelines (remove redundant/obsolete
tags/sections from specfile, etc.)
-------------------------------------------------------------------
Fri Jun 3 01:08:18 SAST 2011 - stepan@coresystems.de
- update to 0.9.3 r1322.
-------------------------------------------------------------------
Thu Mar 31 22:09:10 CEST 2011 - stepan@coresystems.de
- update to 0.9.3 r1283.
-------------------------------------------------------------------
Thu Dec 9 22:11:02 CET 2010 - stepan@coresystems.de
- update to 0.9.3 r1246.
- split package into coreboot-utils and flashrom
- add update-snapshots script
-------------------------------------------------------------------
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
- Update flashrom to version 0.9.1-rc1
* Support for more external flashers
* Universal external flasher protocol
* Automatic write/erase verification
* Dozens of added flash chips, chipsets, mainboards
* No root privileges needed for most external flashers
* Improved more verbose user interface
* Speedups: Fast bus type dependent probing, 100x faster write for
some chips
* Reliability fixes for buggy hardware, corner case spec
conformance
-------------------------------------------------------------------
Mon Jun 22 21:48:15 CEST 2009 - trenn@suse.de
- Update coreboot-utils to version 0.9.0
-------------------------------------------------------------------
Thu Jan 8 17:37:43 CET 2009 - bbrunner@suse.de
- update nvramtool to svn release r3852
- update flashrom to svn release r3852
-------------------------------------------------------------------
Wed Oct 15 20:58:16 CEST 2008 - bwalle@suse.de
- update nvramtool to svn release r3613
- update flashrom to svn release r3659
-------------------------------------------------------------------
Wed Aug 13 18:11:40 CEST 2008 - ro@suse.de
- add ExclusiveArch
-------------------------------------------------------------------
Mon Mar 17 17:14:59 CET 2008 - bwalle@suse.de
- rename lxbios to nvramtool
- update nvramtool to svn release r3124
- update flashrom to svn release r3153
-------------------------------------------------------------------
Sun Jan 20 00:02:19 CET 2008 - bwalle@suse.de
- update to svn release r3061
o Support SPI flash chips bigger than 512 kByte sitting behind
IT8716F Super I/O performing LPC-to-SPI flash translation.
o Enable MX25L8005 support in flashrom.
o Minor changes.
- add lxbios utility
-------------------------------------------------------------------
Thu Jan 10 11:41:16 CET 2008 - bwalle@suse.de
- initial package
-------------------------------------------------------------------

52
flashrom.keyring Normal file
View File

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFnpFrEBEAD6jD/a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FwUiqYHMXiv35TUUYt9WqgzTG73odl7sIHGH/frGoe5zMnXus4SbBQp
q9zOC/QNruY9STjn2yW9ybHemHdNGeblyjucTwoa3/BwnR6TkKYhPDhtOfNlVKcN
bYrfABEBAAGJAh8EGAECAAkFAlnpFrECGwwACgkQo+uVuNl4D2jH+Q/9FNm13s53
BreWEcgwLqm5Z4ftTAbajJpaKAAhpBWAzXXw2cwawhwIZe7zqi/cDIVyiIeJ2UPK
MWlzveehk80ibG6QILMAItd9eUj8+NX8yddGLgi+++CphWxKo4DTBdYcrRJY3Aua
sy8sbx9xs56fem1l126fjsdIkH4pURj10uOfbrlsgMldzNH2VpZlLwKd1MwfskGH
Jwci0nn2o2kpYHDTze8lOAyj9WWU/pQ0kNLwyH67zCKrgnd5VvzQwjW78MXCpNGd
xMjJmRoRr4V74LcSnxdsLPsW/EKoWL/ICNgbW9270VGInp2dt81ZJQX1nDrWRANI
WnRsNa0NBUGGx7Rj9iIJbvyVtoRtemv5fbn/+qVAbxmWBLoFIwYoiUxlfDZHJk6I
OW4Noh3/KrprdN4kZQV+g+TAtBnPKgxlvzhifoZ3S0A4TYeC2d6ze3raWe7lhnks
mtTGrCcD7+DlJl1Gozya3bVc+ipjsRv8d+GzCmWjfhVgziS63LRHkC6rd1JXk+gn
YIqAGBodmwixpE3Ex+tivrRqn4C+rlV4A/Dfz2rhpXLE52mmCzJrgqITMI2CxjCb
T9VujBtpUKxUqeCAyJk5zukVbAIQhzdubflf9njvlmqFEwFsErAujpjhKIrFqtSP
DTvt2DMTCDHdZ9i7dXV39W/eNPtd3bhz6eU=
=h33t
-----END PGP PUBLIC KEY BLOCK-----

106
flashrom.spec Normal file
View File

@ -0,0 +1,106 @@
#
# spec file for package flashrom
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: flashrom
Version: 1.3.0
Release: 0
Summary: A universal flash programming utility
License: GPL-2.0-only
Group: Development/Tools/Other
URL: https://flashrom.org/Flashrom
Source0: https://download.flashrom.org/releases/%{name}-v%{version}.tar.bz2
Source1: https://download.flashrom.org/releases/%{name}-v%{version}.tar.bz2.asc#/%{name}-%{version}.tar.bz2.sig
# Got the key from David Hendricks
Source2: %{name}.keyring
BuildRequires: meson >= 0.53.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cmocka)
BuildRequires: pkgconfig(libftdi1)
BuildRequires: pkgconfig(libjaylink)
BuildRequires: pkgconfig(libpci)
BuildRequires: pkgconfig(libusb)
BuildRequires: pkgconfig(zlib)
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 riscv64
%description
flashrom is a utility for reading, writing, verifying and erasing flash ROM
chips. It's often used to flash BIOS/EFI/coreboot/firmware images in-system
using a supported mainboard, but it also supports flashing of network
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.
%package -n libflashrom1
Summary: A universal flash programming utility
Group: Development/Tools/Other
%description -n libflashrom1
flashrom is a utility for reading, writing, verifying and erasing flash ROM
chips. It's often used to flash BIOS/EFI/coreboot/firmware images in-system
using a supported mainboard, but it also supports flashing of network
cards (NICs), SATA controller cards, and other external devices which can
program flash chips.
%prep
%autosetup -p1 -n %{name}-v%{version}
%package devel
Summary: A universal flash programming utility
Group: Development/Tools/Other
Requires: libflashrom1 = %{version}-%{release}
%description devel
flashrom is a utility for reading, writing, verifying and erasing flash ROM
chips. It's often used to flash BIOS/EFI/coreboot/firmware images in-system
using a supported mainboard, but it also supports flashing of network
cards (NICs), SATA controller cards, and other external devices which can
program flash chips.
This package contains the headers needed to compile against libflashrom.
%build
%meson \
-Dtests=disabled
%meson_build
%install
%meson_install
rm %{buildroot}%{_libdir}/libflashrom.a
%post -n libflashrom1 -p /sbin/ldconfig
%postun -n libflashrom1 -p /sbin/ldconfig
%files
%license COPYING
%doc README
%{_sbindir}/flashrom
%{_mandir}/man8/flashrom.8%{ext_man}
%files -n libflashrom1
%{_libdir}/libflashrom.so.1
%{_libdir}/libflashrom.so.1.0.0
%files devel
%{_includedir}/libflashrom.h
%{_libdir}/libflashrom.so
%{_libdir}/pkgconfig/flashrom.pc
%changelog

0
ready Normal file
View File