1. 13 Mar, 2016 2 commits
    • Stefan Tauner's avatar
      Add a bunch of new/tested stuff and various small changes 25 · 0be072cb
      Stefan Tauner authored
      
      Tested mainboards:
      OK:
       - ASRock Fatal1ty 970 Performance and P4i65G
         Reported by anonymous email message ID:
         932677687262b1300eaf14260999d9262c31@guerrillamail.com
         The latter actually had a tested board enable already.
      
      Flash chips:
       - Eon EN25Q128 to PREW (+PREW)
         Reported by Adrian Graham
       - GigaDevice GD25VQ41B to PREW (+PREW)
         Reported by David Hendricks
       - Winbond W39V040FB to PREW (+EW)
         Reported by fjed on IRC
      
      Miscellaneous:
       - Change PCI IDs of "MS-6577 (Xenon)" board enable.
         The previous IDs contained the on-board display adapter which is
         disabled when a dedicated graphics card is installed.
       - Add a note to the README how to overcome the clang warning if only a
         single programmer is enabled.
       - Fix some typo and manpage problems found by lintian
       - r1920 introduced some explicit calls to pkg-config instead of $(PKG_CONFIG).
         This patch corrects that.
       - Make MS-7094 (K8T Neo2-F V2.0) board enable less contestable.
         Previous PCI IDs were board-specific but ot the other of devices
         that could be disabled by the firmware or that vary among
         hardware revions. There are no good alternatives available.
         However, since we always have a DMI decoder available now, we can
         use non-board-specific devices without taking risks. Thanks to
         Uwe Hermann for reporting and testing.
       - Some other small changes to clean up whitespace and fix some warnings
         from Debian's lintian.
      
      Corresponding to flashrom svn r1951.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      0be072cb
    • Stefan Tauner's avatar
      Fix compilation on SunOS · fc3ecc2a
      Stefan Tauner authored
      
      This came up when I was testing if building on SunOS still works
      on the buildbot's instance of OmniOS r151014 which is based on illumos.
      
      The fix is
       - to link against libnsl
       - a small C type fix in ich_descriptor_tool
      
      Corresponding to flashrom svn r1950.
      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>
      fc3ecc2a
  2. 28 Feb, 2016 1 commit
  3. 26 Feb, 2016 1 commit
  4. 25 Feb, 2016 1 commit
  5. 21 Feb, 2016 2 commits
  6. 20 Feb, 2016 3 commits
  7. 19 Feb, 2016 1 commit
  8. 18 Feb, 2016 1 commit
  9. 17 Feb, 2016 1 commit
  10. 31 Jan, 2016 2 commits
  11. 24 Jan, 2016 1 commit
  12. 23 Jan, 2016 2 commits
    • Simon Glass's avatar
      dediprog: support new communication protocol, cleanup and enable by default · ae61651b
      Simon Glass authored
      
      The new protocol changes some commands, so adjust the code to support
      these. Use helper functions to reduce duplication in libusb calls. Testing
      with real hardware showed that the maximum read size via the control
      endpoint is about 16 bytes although specification does not mention that.
      
      Dediprog SF600 is not supported yet.
      
      Based on the following chromiumos changes:
      Change-Id: Ibd1e27d9e8273ba879b9b5d95675b99596255c89
      Change-Id: Ifc33e7b1eed5b0cb80f83458fa24741a577fa46a
      Additionally, some ideas from Alex for cleaner code were incorporated as well.
      
      Tested on an SF100 V4 with both firmware generations PREWing a M25PX80
      and AT45DB041D (the latter is using dediprog_spi_send_command() instead
      of optimized functions which make it a good test vehicle).
      
      Corresponding to flashrom svn r1918.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarDavid Hendricks <dhendrix@chromium.org>
      Signed-off-by: default avatarAlexandru Gagniuc <mr.nuke.me@gmail.com>
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      ae61651b
    • 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
  13. 16 Jan, 2016 1 commit
  14. 14 Jan, 2016 2 commits
  15. 07 Jan, 2016 3 commits
  16. 25 Dec, 2015 1 commit
  17. 01 Mar, 2015 2 commits
  18. 11 Feb, 2015 1 commit
  19. 10 Feb, 2015 1 commit
  20. 08 Feb, 2015 3 commits
    • Justin Chevrier's avatar
      Add support for the Microchip PICkit2 as an SPI programmer · 66e554bc
      Justin Chevrier authored
      This patch was inspired by the code in AVRDude (open source Atmel AVR
      programmer) to support the PICkit2 written by Doug Brown [1]. The
      Dediprog code in flashrom was used as the template for this code with
      some reference to the ft2232 code as well.
      
      [1] - https://github.com/steve-m/avrdude/blob/master/pickit2.c
      
      
      
      Corresponding to flashrom svn r1881.
      Signed-off-by: default avatarJustin Chevrier <jchevrier@gmail.com>
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      66e554bc
    • Stefan Tauner's avatar
      Refine version check of libpci function pci_get_dev · 56734503
      Stefan Tauner authored
      
      The way more elegant check for the header fails unfortunately on CentOS 4.9
      because PCI_LIB_VERSION is not defined at all although the domain parameter
      is present. This patch jumps through the hoops via an additional check in the
      Makefile to determine if the function accepts 5 parameters (new version) or
      not (old version).
      
      Corresponding to flashrom svn r1880.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      56734503
    • Stefan Tauner's avatar
      Add a bunch of new/tested stuff and various small changes 22 · 5c316f95
      Stefan Tauner authored
      
      Tested mainboards:
      OK:
       - AOpen UK79G-1394 (used in EZ18 barebones)
         Reported by Lawrence Gough
       - ASUS M4N78 SE
         Reported by Dima Veselov
       - ASUS P5LD2-VM
         Mark board enable as tested (reported by Dima Veselov)
       - GIGABYTE GA-970A-UD3P (rev. 2.0)
         Reported by trucmar on IRC
       - GIGABYTE GA-990FXA-UD3 (rev. 4.0)
         Reported by ROKO__ on IRC
       - GIGABYTE GA-H77-DS3H (rev. 1.1)
         Reported by Evgeniy Edigarev
       - GIGABYTE GA-P55-USB3 (rev. 2.0)
         Reported by Måns Thörnqvist
       - MSI MS-7817 (H81M-E33)
         Reported by Igor Kolker
      
      Chipsets:
       - Marked Intel Bay Trail (0x0f1c) as tested OK
         Reported by Antonio Ospite
       - Refine Intel IDs
          * Add IDs for Braswell
          * Add IDs for 9 Series PCHs (e.g. H97, Z97)
          * Rename Wellsburg devices slightly
      
      Flash chips:
       - Atmel AT25DF041A to PREW (+PREW)
         Reported by Tai-hwa Liang
       - Atmel AT26DF161 to PREW (+EW)
         Reported by Steve Shenton
       - Atmel AT45DB011D to PREW (+PREW)
         Reported by The Raven
       - Atmel AT45DB642D to PREW (+PREW)
         Reported by Mahesh Mokal
       - Eon EN25F32 to PREW (+PREW)
         Reported by Arman Khodabande
       - Eon EN25F40 to PREW (+REW)
         Reported by Jerrad Pierce
       - Eon EN25QH16 to PREW (+EW)
         Reported by Ben Johnson
       - GigaDevice GD25Q20(B) to PREW (+PREW)
         Reported by Gilles Aurejac
       - Macronix MX25U6435E/F to PR (+PR)
         Reported by Matt Taggart
       - PMC Pm25LV512(A) to PREW (+PREW)
         Reported by The Raven
       - SST SST39VF020 to PREW (+PREW)
         Reported by Urja Rannikko
       - Winbond W25Q40.V to PREW (+EW)
         Reported by Torben Nielsen
       - Add E variants of MX25Lx006 (MX25L2006E, MX25L4006E, MX25L8006E).
       - Add MX25L6465E variant.
       - There was never a MX25L12805 AFAICT.
       - Split MX25L12805 from models with the same ID but an additional 32 kB
         eraser: MX25L12835F/MX25L12845E/MX25L12865E.
       - Add a bunch of ST parallel NOR flash chip IDs.
      
      Miscellaneous:
       - Whitelist ThinkPad X200.
       - Constify master parameter of register_master().
       - Remove FEATURE_BYTEWRITES because it was never used at all.
       - Refine hwseq messages and make them less prominent.
       - Fix the yet unused PRIxCHIPADDR format string thingy.
       - Fix copy&paste error in spi_prettyprint_status_register_bp().
         Spotted by Pablo Cases.
       - Add an additional SMBus controller revision to identify another Yangtze
         model. Thanks to Dan Christensen for reporting this issue.
       - dediprog: add missing include for stdlib.h.
         This fixes (at least) building on FreeBSD and DragonflyBSD with gcc.
       - Remove references to struct pci_filter from programmer.h.
         It is only needed in internal.c where it has a complete type. Having
         it in programmer.h provokes a warning by some old versions of gcc.
       - Tiny other stuff.
      
      Corresponding to flashrom svn r1879.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      5c316f95
  21. 26 Jan, 2015 2 commits
  22. 25 Jan, 2015 1 commit
  23. 19 Jan, 2015 1 commit
  24. 10 Jan, 2015 4 commits