1. 16 Jan, 2016 1 commit
  2. 14 Jan, 2016 2 commits
  3. 07 Jan, 2016 3 commits
  4. 25 Dec, 2015 1 commit
  5. 01 Mar, 2015 2 commits
  6. 11 Feb, 2015 1 commit
  7. 10 Feb, 2015 1 commit
  8. 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
  9. 26 Jan, 2015 2 commits
  10. 25 Jan, 2015 1 commit
  11. 19 Jan, 2015 1 commit
  12. 10 Jan, 2015 5 commits
  13. 20 Dec, 2014 1 commit
    • Alexandre Boeglin's avatar
      Add support for the MSTAR I2C ISP protocol · 80e64715
      Alexandre Boeglin authored
      Basically, among other chips, MSTAR manufactures SoCs that equip TV sets
      and computer screens, and it seems that all of their products use the
      same in-system programming protocol. Basically, they use the DDC channel
      of VGA or DVI connectors, which is actually an I2C bus, to encapsulate
      SPI frames (the flash chip is connected to the SoC through an SPI bus).
      
      I wrote this patch since the screen I bought had a software bug, and the
      manufacturer only released a new firmware binary, but no tool or
      instructions on flashing it.
      
      More details can be found here:
      http://boeglin.org/blog/index.php?entry=Flashing-a-BenQ-Z-series-for-free(dom)
      
      
      
      I only read code from Linux kernel archives published by Acer to figure
      out the protocol (for a touchscreen controller and an NFC chip, both by
      MSTAR, that share the same ISP protocol), so I don't think there are
      any legal problems with it.
      
      Compilation is currently disabled by default in the Makefile.
      If in doubt, additional Makefile bugs were added by Stefan.
      
      Corresponding to flashrom svn r1860.
      Signed-off-by: default avatarAlexandre Boeglin <alex@boeglin.org>
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      80e64715
  14. 08 Aug, 2014 2 commits
  15. 03 Aug, 2014 1 commit
  16. 28 Jul, 2014 1 commit
  17. 12 Jun, 2014 1 commit
  18. 02 Jun, 2014 1 commit
  19. 01 Jun, 2014 3 commits
  20. 12 Sep, 2013 3 commits
  21. 11 Sep, 2013 2 commits
    • 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
    • Stefan Tauner's avatar
      DOS refinements · 449abe28
      Stefan Tauner authored
      
      This allows to use the DOS library trees stored in a user-specified directory.
      
      I have mirrored the needed patches, sources and binaries (the latter
      are properly licensed to allow that) in the flashrom wiki, so use those
      URLs instead of the original sources.
      
      Corresponding to flashrom svn r1734.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      449abe28
  22. 29 Aug, 2013 2 commits
    • Joerg Mayer's avatar
      Automatically add version and date to the manpage · a93d9dc5
      Joerg Mayer authored
      
      To avoid funny effects of ever changing files tracked by the VCS this patch
      moves the manpage data to flashrom.8.tmpl and generates the actual
      manpage with a new makefile target if needed.
      
      Corresponding to flashrom svn r1728.
      Signed-off-by: default avatarJoerg Mayer <jmayer@loplof.de>
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      a93d9dc5
    • Stefan Tauner's avatar
      Improve getrevision.sh · ec7a35f7
      Stefan Tauner authored
      
       - remove bashism.
       - simplify some git-related code.
       - improved parameter and error handling.
       - additional -d/--date action which is similar to the timestamp action.
       - support for an optional path parameter.
       - there is only one sane time format.
       - and only one sane date format too.
       - use UTC dates and times only.
       - vastly improve git_url() to print the correct remote url and
         "nearest" branch.
       - remove username from repository URLs.
       - add "-dirty" to local revisions if there are uncommitted changes.
       - indicate in local revisions how many git-only commits were done
         since branching from upstream svn.
       - fix svn_revision() fallback to svn info and remove git-svn.
       - print leading r in script instead of hardcode it in the makefile;
         no more "0.9.7-runknown".
       - make retrieving the upstream revision work even in cloned git-svn
         repositories.
       - more abstractions and helper functions.
       - less fragmentation of actual functionality.
      
      Corresponding to flashrom svn r1727.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      ec7a35f7