Skip to content
Snippets Groups Projects
  1. Oct 04, 2019
  2. Jul 31, 2019
  3. Jun 23, 2019
  4. Jun 21, 2019
  5. Oct 23, 2018
  6. Jun 24, 2018
  7. Apr 24, 2018
  8. Mar 08, 2018
  9. Jan 23, 2016
    • Stefan Tauner's avatar
      Add a bunch of new/tested stuff and various small changes 24 · 23e10b87
      Stefan Tauner authored
      
      Tested mainboards:
      OK:
       - ASRock G31M-GS
         Reported by Александр Трубицын
       - ASRock G41M-VS3
         Reported by Александр Трубицын
       - ASRock N68C-S UCC
         Reported by Alexey Belyaev
       - ASRock AMCP7AION-HT (ION 330HT(-BD))
         Reported by Stefan Tauner
       - ASUS P5K SE
         Reported by Александр Трубицын
       - ASUS P5KPL-VM
         Reported by Marin Vlah
       - ASUS RAMPAGE III GENE
         Reported by stevessss on IRC
       - GIGABYTE GA-945GM-S2
         Reported by Александр Трубицын
       - GIGABYTE GA-945GCM-S2 (rev. 3.0)
         Reported by Александр Трубицын
       - GIGABYTE GA-965P-S3
         Reported by Александр Трубицын
       - GIGABYTE GA-EG43M-S2H
         Reported by Александр Трубицын
       - GIGABYTE GA-EP31-DS3L (rev. 1.0)
         Reported by Александр Трубицын
       - GIGABYTE GA-G33M-S2
         Reported by Александр Трубицын
       - GIGABYTE GA-G33M-S2L
         Reported by Александр Трубицын
       - GIGABYTE GA-H55M-S2
         Reported by Александр Трубицын
       - GIGABYTE GA-J1900N-D3V
         Reported by Marcos Truchado and Guillermo von Hünefeld
       - GIGABYTE GA-K8NS
         Reported  by nicolae788
       - GIGABYTE GA-M56S-S3
         Reported by Estevo Paz Freire
       - GIGABYTE GA-P31-DS3L
         Reported by Александр Трубицын
       - GIGABYTE GA-P31-S3G
         Reported by Александр Трубицын
       - MSI MS-7336
         Reported by Benjamin Bellec
       - MSI X79A-GD45 (8D) (MS-7760)"
         Reported by mortehu on IRC
       - Supermicro A1SAi-2550F
         Reported by Bernard Grymonpon
       - Supermicro X7DWT
         Reported by Steven Stremciuc
      
      Laptop:
       - ASUS U38N
         Reported by Ultra on IRC
       - Dell Latitude D630
         Reported by Márton Miklós
       - Fujitsu Amilo Xi 3650
         Reported by Elmar Stellnberger
       - Lenovo T400 (whitelisting only)
      
      Chipsets:
       - Mark 8086:1f38 (Intel Avoton/Rangeley) as tested
         Reported by Jeremy Porter and Bernard Grymonpon
       - Add Intel Sunrise Point IDs but no support yet.
      
      Flash chips:
       - Atmel AT45DB321D to PREW (+PREW)
         Reported by The Raven
       - Eon EN25QH32 to PREW (+PREW)
         Reported by Josua Mayer
       - Eon EN25QH64 to PREW (+EW)
         Reported by David s. Alessio
       - GigaDevice GD25LQ64(B) to PREW (+PREW)
         Reported by Greg Tippit
       - Intel 28F001BN/BX-T to PREW (+EW)
         Reported by Lu Xie
       - Micron M25P10-A to PREW (+W)
         Reported by the Raven
       - Micron M25PE40
         Reported by David Wood
       - Micron N25Q128..3E to PREW (+PREW)
         Reported by Miklós Márton
       - Macronix MX25L3273E to PREW (+PREW)
         Reported by Roklobsta on IRC
       - Macronix MX23L6454 to PR (+PR)
         Reported by Steven Honeyman
       - Macronix MX25U6435E/F to PREW (+PREW)
         Reported by Marcos Truchado and Guillermo von Hünefeld
       - PMC Pm25LQ032C to PREW (+EW)
         Reported by Dirk Knop
       - Spansion S25FL016A to PREW (+EW)
         Reported by Márton Miklós
       - Spansion S25FL128S......0 to PREW (+PREW)
         Reported by Jim Houston
       - Spansion S25FL204K to PR (+PR)
         Reported by Thomas Debrunner
       - SST SST49LF016C to PREW (+EW)
         Reported by Steven Stremciuc
       - SST SST39VF040 to PREW (+PREW)
         Reported by Xavier Bourgeois
       - SST SST49LF040B to PREW (+EW)
         Reported by Rikard Åhlund
       - ST M25P10-A to PREW (+W)
         Reported by Martijn Schiedon
       - Winbond W39V040FA to PREW (+EW)
         Reported by Евгений Черкашин
       - Winbond W39V080FA to PREW (+EW)
         Reported by protagonist0 on IRC
       - Winbond W25Q80.W to PREW (+PREW)
         Reported by Miklós Márton
       - Winbond W25X64 to PREW (+REW)
         Reported by Johannes Krampf and Manuel Dejonghe
       - Fix ID of AMIC A25LQ64
         Reported by Roman Titov
       - Fix page size of Spansion S25FL129P......1
         Copy and paste error from the 128S uniform 256kB variant, probably.
       - Add Micron/Numonyx phase-change memory IDs
      
      Miscellaneous:
       - Detect Android target OS.
         No changes are required to build flashrom (excluding programmers
         with NEED_PCI) on Android.
       - Update rayerspi (spipgm) URL
       - Fix max_data_write handling of at45db.
       - Minor refinement of the README
       - Mark board enable for the GA-K8NS variants as tested.
         Tested by "nicolae788" on a board with socket 754.
       - Mark "Multi-system" chassis as non-laptop case.
       - Remove W836xx log requests.
         We got enough (and no one is looking at them for the time being anyway).
       - serprog: improve invalid reply error message, contributed by Urja Rannikko.
       - Remove default include paths for MinGW.
       - Disable implicit rules in the Makefile because we don't need them and they
         just make the build (imperceptibly) slower.
       - Enable our own strnlen() implementation not only on DJGPP but also if
         HAVE_STRNLEN is not defined. This is needed to get older BSDs
         (e.g. NetBSD 6.0, FreeBSD < 8.0) to work.
       - Tiny other stuff.
      
      Corresponding to flashrom svn r1917.
      
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      23e10b87
  10. Jan 27, 2015
  11. Oct 19, 2014
  12. Sep 05, 2014
  13. Aug 06, 2014
    • Stefan Tauner's avatar
      Add a bunch of new/tested stuff and various small changes 21 · 6697f71a
      Stefan Tauner authored
      
      Tested mainboards:
      OK:
       - ASUS F2A85-M
         Reported by various corebooters
       - ASUS M2N-MX SE Plus
         Reported by Antonio
       - ASUS P5LD2
         Reported by François Revol
       - Lenovo ThinkPad T530
         Reported and partially authored by Edward O'Callaghan
       - MSI MS-7502 (Medion MD8833)
         Reported by naq on IRC
       - Shuttle AB61
         Reported by olofolleola4
       - ZOTAC IONITX-F-E
         Reported by Bernardo Kuri
      
      Flash chips:
       - Atmel AT45DB021D to PREW (+PREW)
         Reported by The Raven
       - Atmel AT25F4096 to PREW (+PREW)
         Reported by 공준혁
       - GigaDevice GD25Q16(B) to PREW (+PREW)
         Reported by luxflow@live.com using a GD25Q16BSIG
       - Catalyst CAT28F512
         Mark erase and write as known bad (not implemented)
      
      Miscellaneous:
       - Various spelling corrections by Daniele Forsi.
       - Added and refined a bunch of chips originally investigated by Carl-Daniel.
       - Marked the ARM-USB-OCD-H programmer as tested
         (reported by Ruud Schramp).
       - Tiny other stuff.
      
      Corresponding to flashrom svn r1839.
      
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      6697f71a
  14. Jul 13, 2014
    • Stefan Tauner's avatar
      Fix garbage handling in DMI strings · 9972d15e
      Stefan Tauner authored
      
      Previously we tried to replace garbage characters with <space> directly in
      the read-only memory-mapped SMBIOS area(!). This could never have
      worked for any DMI strings with garbage and results in a segfault on
      machines with such strings.
      
      Thanks to Brian Rak (Supermicro X10SLE-F) and John Pohlman (HP XW9400)
      for reporting this issue.
      
      With this patch the strings are duplicated within dmi_string() already,
      just before we sanitize them. Also, the limit variable used everywhere
      points to the first invalid byte address. Refine respective checks
      accordingly.
      
      Corresponding to flashrom svn r1824.
      
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      9972d15e
  15. Mar 05, 2014
  16. Oct 29, 2013
    • Stefan Tauner's avatar
      Ensure DMI strings used in dmi_compare() are not NULL · d1045d8b
      Stefan Tauner authored
      
      Previously the external DMI decoder did not allow this to happen because
      all possible pointers were initialized at startup by the output of
      'dmidecode -s ...' which has default values for all supported types.
      
      The now active internal DMI decoder does work differently: it scans the
      complete DMI table once and copies the available strings. Therefore, strings
      that are not set by the firmware are left at their default value of NULL.
      
      A segfault would arise if the following conditions are all true:
       - the firmware sets up a DMI/SMBIOS table which has at least a correct
         checksum, and
       - that table does *not* define at least one of the DMI strings we use
         for matching (as defined by dmi_strings[] in dmi.c), and
       - there exists a board enable whose PCI IDs are matched by the board,
         and which has a DMI string set that ends with a $ anchor, and
       - the user calls the internal programmer of flashrom without the
         optional mainboard parameter.
      
      This was first observed by Gelip on an abit BF6 using the coreboot port
      for the abit BE6-II V2.0.
      The segfault was reproduced by Idwer Vollering on an ASUS F2A85-M with
      the default DMI values of CONFIG_MAINBOARD_SMBIOS_MANUFACTURER etc.
      overwritten and a forged board enable matching his board.
      Idwer also verified that this patch fixes the problem, thanks a lot!
      
      Corresponding to flashrom svn r1763.
      
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      d1045d8b
  17. Sep 14, 2013
  18. Sep 11, 2013
    • Sean Nelson's avatar
      Add an internal DMI decoder · 4c6d3a4b
      Sean Nelson authored
      
      Previously we had to rely on dmidecode to decode the DMI/SMBIOS table.
      This patch integrates a DMI decoder into flashrom. The old behavior of calling
      dmidecode can be brought back by using CONFIG_INTERNAL_DMI=no.
      
      Significant portions of this patch were taken from dmidecode, hence add its
      authors to the copyright notice (dmidecode is also GPL2+). We do a few things
      differently though. First of all we do more bounds checking to prevent accessing
      unmapped memory. We do not support disovery via EFI (yet), but memory
      scanning only. We handle the chassis-type lock bit correctly which dmidecode
      did not for a long while.
      
      The API to the rest of flashrom remains stable, but the output changes slightly.
      To share as much code as possible (which actually is not much), i have added
      dmi_fill methods that get called in dmi_init. They are reponsible to fill the
      dmi_strings array and setting the is_laptop variable. After it is called, dmi_init
      prints all dmi_strings. Previously the strings were printed in the order they were
      discovered, followed by the chassis-type, which is now output earlier (in dmi_fill).
      
      Because DJGPP does not support strnlen a simple implementation was added
      for it.
      
      This is still only available on x86; actually it is not even compiled in for other
      architectures at all anymore.
      
      Corresponding to flashrom svn r1735.
      
      Signed-off-by: default avatarSean Nelson <audiohacked@gmail.com>
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Tested-by: default avatarMaciej Pijanka <maciej.pijanka@gmail.com>
      Tested-by: default avatarIdwer Vollering <vidwer@gmail.com>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      4c6d3a4b
  19. Jan 04, 2013
  20. Sep 23, 2012
  21. Aug 27, 2012
  22. Feb 17, 2012
  23. Sep 03, 2011
  24. Aug 15, 2011
  25. Jul 28, 2011
  26. Jul 26, 2011
    • Stefan Tauner's avatar
      Be more refined regarding DMI chassis types · a34d7190
      Stefan Tauner authored
      
      We had broken laptops in the past that were not detected as such because
      their DMI chassis-type was either undefined/out-of-spec, or set to
      'other' or 'unknown'.
      
      this patch tries to mitigate this problem as follows:
      - if the DMI chassis-type clearly identifies the system as
        laptop/notebook/mobile platform then nothing changes: the user gets
        the laptop warning without a hint to the force switch.
      - if the DMI chassis-type is not specific enough, we warn the user
        similarly, but tell them the switch.
      
      to reduce the number of false positives i have added a few new
      chassis types that we have encountered in the last months to the list.
      
      Corresponding to flashrom svn r1390.
      
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      a34d7190
  27. Jul 07, 2011
  28. Sep 26, 2010
  29. Aug 08, 2010
  30. Jul 27, 2010
    • Carl-Daniel Hailfinger's avatar
      Split off programmer.h from flash.h · 5b997c3e
      Carl-Daniel Hailfinger authored
      
      Programmer specific functions are of absolutely no interest to any file
      except those dealing with programmer specific actions (special SPI
      commands and the generic core).
      
      The new header structure is as follows (and yes, improvements are
      possible):
      flashchips.h  flash chip IDs
      chipdrivers.h  chip-specific read/write/... functions
      flash.h  common header for all stuff that doesn't fit elsewhere
      hwaccess.h hardware access functions
      programmer.h  programmer specific functions
      coreboot_tables.h  header from coreboot, internal programmer only
      spi.h SPI command definitions
      
      Corresponding to flashrom svn r1112.
      
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      5b997c3e
  31. Jul 03, 2010
  32. Jun 23, 2010
  33. May 07, 2010
  34. Apr 28, 2010
    • Carl-Daniel Hailfinger's avatar
      One of the problems is that --force had multiple meanings · 27023768
      Carl-Daniel Hailfinger authored
      
      - Force chip read by faking probe success.
      - Force chip access even if the chip is bigger than max decode size for
        the flash bus.
      - Force erase even if erase is known bad.
      - Force write even if write is known bad.
      - Force writing even if cbtable tells us that this is the wrong image
        for this board.
      
      This patch cleans up --force usage:
      - Remove any suggestions to use --force for probe/read from flashrom
        output.
      - Don't talk about "success" or "Found chip" if the chip is forced.
      - Add a new internal programmer parameter boardmismatch=force. This
        overrides any mismatch detection from cbtable/image comparisons.
      - Add a new internal programmer parameter laptop=force_I_want_a_brick.
      - Adjust the documentation for --force.
      - Clean up the man page a bit whereever it talks about --force or
        laptops.
      
      Additional changes in this patch:
      - Add warnings about laptops to the documentation.
      - Abort if a laptop is detected. Can be overridden with the programmer
      parameter mentioned above.
      - Add "Portable" to the list of DMI strings indicating laptops.
      - Check if a chip specified with -c is known to flashrom.
      - Programmer parameter reliability and consistency fixes.
      - More paranoid self-checks.
      - Improve documentation.
      
      Corresponding to flashrom svn r996.
      
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
      27023768
  35. Mar 24, 2010
  36. Mar 14, 2010
  37. Mar 13, 2010
  38. Feb 26, 2010
  39. Feb 24, 2010
Loading