The NetBSD Project

CVS log for pkgsrc/sysutils/flashrom/Makefile

[BACK] Up to [] / pkgsrc / sysutils / flashrom

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.15 / (download) - annotate - [select for diffs], Fri May 13 15:43:19 2022 UTC (10 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, HEAD
Changes since 1.14: +5 -4 lines
Diff to previous 1.14 (colored)

flashrom: adapt for pciutils 3.8

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 19 09:47:58 2021 UTC (15 months, 1 week ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

sysutils/pciutils: no longer static, remove
BUILDLINK_DEPMETHOD.pciutils?= build

And pkgrevision bump consumers.

Pointed out by tsutsui in PR pkg/56553

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 20 14:50:07 2020 UTC (3 years, 1 month ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.12: +2 -3 lines
Diff to previous 1.12 (colored)

flashrom: Update to 1.2

This release was rushed a bit so that we have a release that includes
numerous build fixes that have been merged since v1.1. Fedora's build
system started to encounter compilation issues that needed to be
addressed for their upcoming release, so that became our canary in the
coal mine this time around.

Other highlights:
- Meson support (hello fwupd!)
- 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

Please report issues, and as always thanks to all who have contributed.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 4 21:28:45 2019 UTC (3 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

sysutils: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

Manually excluded consolekit and dc-tools since pkglint didn't get the
formatting correct.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 11 17:04:04 2019 UTC (3 years, 8 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.10: +6 -4 lines
Diff to previous 1.10 (colored)

flashrom: Update to 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

New chips

    KB9012 (EDI)

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 5 07:52:58 2019 UTC (3 years, 9 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

flashrom: Update to 1.0.1

Tested by flashing and reading an internal Winbond ROM on NetBSD-current.

# flashrom/1.0.1

    6b9e934f linux_spi: Reduce maximum read chunksize
    Improves compatibility with older Linux kernels that interpreted the interface differently.
    30c4cecd Makefile: Disable `-Werror=deprecated-declarations` on release branch
    Just to be able to compile the 1.0.x branch on newer systems.
    5639af64 linux_spi: Hardcode default spispeed of 2MHz
    Default speed of kernel drivers isn't always sane (any more).
    993e162d dediprog: Fix small, unaligned reads
    An actual bug, discovered during experiments with arbitrary layouts.
    ec8b8a7f board_enable.c: Fix dmi_match string for ThinkPad X201
    Probably just wasn't tested before.
    69f96f60 Fix verification with sparse layouts
    A regression that sneaked into flashrom-1.0: When verifying the whole flash after a partial write with a sparse layout (i.e. a layout whose regions don't cover the whole chip), flashrom tried to verify against the wrong data and failed.
    a3db7ed5 Fix erasing of unaligned regions
    This never worked correctly from the beginning. We completely erased every block that touched an included layout region. Now, we restore surrounding data in case a block expands beyond the region.

# flashrom/1.0

New major user-visible features

    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


# flashrom/0.9.9

New major user-visible features

    Allow to link flashrom statically (with make CONFIG_STATIC=yes)
    Ease debugging of build problems with libraries
        Output way more debug information to build_details.txt
        Provide list of set make configuration variables that make builds fail
        Allow to easily disable groups of programmers depending on a library (make CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no)
    Ignore 0x00 as a flash chip manufacturer ID in the generic match to avoid ambiguous messages
    Various improvements for serprog-based programmers
    Support arbitrary UART baud rates on Windows

New programmers

    Enable the dediprog module by default, add support for Dediprog SF600 and the new communication protocol of the SF100 with newer firmware.
    WCH CH341A
    VIA VT8251
    Add support to update the firmware of Promise UltraATA controllers

New chips

    ESI ES25P40, ES25P80 and 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

Infrastructural improvements and fixes

    Add support for libftdi1 (previous libftdi support still in place for backward compatibility but will eventually be removed)
    Add infrastructure for libusb1 and use it for new programmers (existing code will be migrated from libusb0 continuously in the future)
    Many cross-platform and cross-architecture improvements:
        Fix compilation on OSX and Solaris-based systems
        Add support for GNU Hurd
        Add support for musl libc
        Use nanosleep() instead of usleep() where available (enables building with uclibc)
        Support compilation on Android (bionic libc)
        Partial architecture support for alpha hppa m68k sh s39
    Rigorously check integrity of I/O stream data (e.g. to notice full filesystems when writing flash data to a file)
    Add make parameters for easier disabling/enabling of various classes of programmers: CONFIG_NOTHING=yes CONFIG_EVERYTHING=yes CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no

# flashrom/0.9.8

New major user-visible features

    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).

New chips

    29GL series of chip families (EON EN29GL, ISSI (PMC) IS29GL, Macronix MX29GL (+MX68GL1G0F), Winbond W29GL)
    Atmel (now Adesto) AT45DB family + AT45CS1282, as well as AT25DL081 and AT25DL161.
    Atmel AT49LH004 and AT49LH00B4
    Eon EN25P family
    Eon EN29LV040 and EN29LV040A
    ESMT F25L32PA
    Fujitsu MBM29LV160BE/TE
    Macronix MX23L1654, MX23L3254, MX23L6454, MX23L12854 (the first supported mask ROMs)
    Macronix MX25L6495F
    Macronix MX25U12835F
    Macronix MX29F022(N)B and MX29F022(N)T
    Sanyo LE25FW106, LE25FW406A and LE25FU406B
    Spansion S25FL127S, S25FL128P, S25FL129P, S25FL132K and S25FL164K
    SST25LF020A, SST25WF080, SST25VF512A, SST25VF020 and SST25VF020B
    ST M50LPW080
    Winbond W25Q40.V

Infrastructural improvements and fixes

    Automatic unmapping and rounding of memory maps.
    Using an internal DMI decoder instead of relying on dmidecode.
    Addition of to retrieve various data from SCM systems.
    Removal of yet another bunch of exit() calls and other code that interferes with the creation of libflashrom.
    First huge step to refactor Intel Chipset Enables.
    Various cross-platform improvements (e.g. a more unified operating system and CPU architecture detection).
    By setting CONFIG_EVERYTHING=yes at compile time all modules that are disabled by default will be compiled in.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 26 10:24:12 2016 UTC (7 years, 1 month ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.8: +8 -11 lines
Diff to previous 1.8 (colored)


Revision 1.8 / (download) - annotate - [select for diffs], Wed Feb 26 10:31:40 2014 UTC (9 years, 1 month ago) by wiedi
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.7: +7 -2 lines
Diff to previous 1.7 (colored)

Adjust path to pci.h in the same way as on netbsd and link network libs on SunOS

Revision 1.7 / (download) - annotate - [select for diffs], Mon Dec 9 18:54:24 2013 UTC (9 years, 3 months ago) by jakllsch
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Update flashrom to 0.9.7.

changes since 0.9.6:

==New major user-visible features==
* Warn if all blocks were skipped while writing.
* Fix evil twins of Macronix MX25L1605, MX25L3205, MX25L6405.
* Exit if there are unused programmer parameters.
=== Related to programmers ===
* internal:
** AMD Geode on OpenBSD
** Add safe support for the integrated micro controller (IMC) in AMD chipsets.
** Add full support for VX800/VX820, VX855/VX875 and VX900 (both SPI and LPC).
** Various new untested board enables (please don't run away without testing our work).
* serprog
** Add support for setting the SPI frequency.
** Add opcode to control the programmer's output drivers.
** Enable serprog on Windows.
* buspirate_spi
** Improvements to support different firmware versions safely.
** Support the new fast SPI mode present in Bus Pirate firmware v5.5 or newer.
** Add user interface to activate the Bus Pirate pull-up resistors.
* ftdi_spi
** Allow to select FTDI device by serial number.
** Add support for all 4 possible channels.
** Add support for FT232H.
* pony_spi: Add support for AJAWe.
* Add support for Realtek RTL8169.
* Add Altera USB-Blaster SPI programmer.
* dediprog:
** Add a "device" parameter to support multiple devices.
** Adds a programmer parameter 'spispeed'.

===New or refined chips===
* AMIC A25L(Q) series
* Atmel AT26DF041
* Atmel AT49(H)F010, AT49F080 and AT49F080T
* Atmel AT25F series (AT25F512, AT25F512A, AT25F512B, AT25F1024, AT25F1024A, AT25F2048, AT25F4096)
* Eon EN25F64
* Eon EN25S series
* More Eon EN25QH chips
* More GigaDevice GD25* devices
* Intel S33 series (QB25FxxxS33x8)
* Macronix MX25U1635E, MX25U3235E/F and MX25U6435E/F
* Micron (Numonyx) N25Q series
* Micron (ST) M45PE series
* Micron (ST) M25PX80
* Nantronics N25 series
* PMC Pm25LV and Pm25LD series
* Sanyo LE25FW series
* Spansion S25FL2 and S25FL...S series
* SST SST25WF512, SST25WF010, SST25WF020 and SST25WF040
* Winbond W39F010/W39L010/W39L020

changes since 0.9.5:

==User interface changes==
* The -p/--programmer parameter is now mandatory for all operations that access the programmer/chip.
*: Previously there was a default programmer selected at build time. This was convenient for most users, but created a danger for others that increased with the number of platforms and programmers supported, namely that they get used to a default programmer that later changes when they use another binary. It is very easy to brick a mainboard in case you do not notice you are writing its firmware instead of a device attached to an external programmer. The disadvantage is of course that many users have now to add '''-p internal''' to the command line when they want to do ''the obvious'' and flash their mainboards.
* It is now possible to let flashrom create log files directly (by using the new -o/--output option).
* flashrom now checks for duplicate -i/--image arguments (which are used together with layout files).

==New major user-visible features==
* Programmer support:
** new driver ''ponyprog'' for hardware similar to SI Prog
** native SPI AAI write support to the Dediprog SF100 driver
* Support for new chips:
** Atmel AT49F040
** Eon EN25QH32
** Eon EN29LV640B
** GigaDevice GD25QXX
** Numonyx N25Q064
** PMC Pm39LV512

==Infrastructural improvements and fixes==
* The dummy programmer got support for SFDP and now has a dedicated status register.
* Various minor refactorings of SPI-related code.
* The code generating the list of supported hardware for the wiki has been improved.
* Many exit() calls have been replaced by proper error handling.
* I/O permissions are now released automatically on shutdown.
* Preliminary work on Winbond W836xx and ITE IT8707F/IT8710F detection.

= Minor versions =
flashrom 0.9.6 had a small bug regarding the version string, which has been fixed in

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 23 19:51:02 2012 UTC (10 years, 5 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.5: +1 -3 lines
Diff to previous 1.5 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 8 22:47:05 2012 UTC (11 years ago) by jakllsch
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Update flashrom to

changes since

- fixes to (linux) spidev programmer
- SFDP bug fixes
- fixes for W83627 and IT87 SPI programmers

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 26 16:33:12 2012 UTC (11 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

update flashrom to

since 0.9.4:

4 new recognized flash chips
4 new chipsets including:
 AMD Hudson
 Intel Tunnelcreek
 RDC R6030
68 additional verified mainboards
3 new FT2232-based programmers
1 new Rayer-compatible programmer
new Linux SPI subsystem (spidev) programmer
SFDP (Serial Flash Discoverable Parameters) support
initial Intel Hardware Sequencing support
detection of Intel chipset locks
SPI support for serprog
dediprog speedup
chip voltage range listing
3 levels of -V verbosity
--mainboard replaced with -p internal:mainboard

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 29 13:35:42 2011 UTC (11 years, 8 months ago) by jakllsch
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Update flashrom to 0.9.4.

==New major user-visible features==
* Support for new programmers:
** OpenMoko Neo1973/Neo FreeRunner debug board version 2 or 3, FTDI FT2232-based (r1231)
** Olimex ARM-USB-TINY, ARM-USB-TINY-H, ARM-USB-OCD, and ARM-USB-OCD-H, FTDI FT2232-based (r1331)
** Open Graphics Project development card, OGD1 (r1241)
** Angelbird Wings PCIe SSD/88SX7042 (r1258)
** ITE IT85xx embedded controllers (r1262)
** Intel NIC with parallel flash (r1297)
* Dozens of added flash chips, chipsets, mainboards.
* Improved user interface.
* Reliability fixes for buggy hardware, buggy third party software and corner case spec conformance.
* Improved Dediprog SF100 support.
* Update port of flashrom package to Mac OS X using DirectHW.
* Improved support for protection status printing and chip unlocking.
* Fix and improve libpayload platform support.
* Add support for more than one Super I/O or EC per machine.
* Always read the flash chip before writing, for improved error checking and faster programming.
* Enable write support on NVIDIA MCP6x/MCP7x.
* Added SPI flash emulation capability to the dummy programmer.

==Infrastructural improvements and fixes==
* Shutdown function registration
* Improved error messages
* Correctness fixes
* Various workarounds for broken hardware
* Code cleanups

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 8 19:33:18 2011 UTC (12 years, 1 month ago) by jakllsch
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.1: +3 -5 lines
Diff to previous 1.1 (colored)

Update sysutils/flashrom to the 0.9.3 release.

Revision / (download) - annotate - [select for diffs] (vendor branch), Sat Oct 23 15:56:19 2010 UTC (12 years, 5 months ago) by jakllsch
Branch: TNF
CVS Tags: pkgsrc-base, pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

import flashrom 0.9.3 prerelease

Flashrom is a utility which can be used to detect, read, and write BIOS chips.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 23 15:56:19 2010 UTC (12 years, 5 months ago) by jakllsch
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>