1. 02 May, 2017 1 commit
  2. 04 Dec, 2016 1 commit
    • Stefan Tauner's avatar
      Convert flashrom to git · f5dd7ce1
      Stefan Tauner authored
       - Drop support for Subversion in the getrevision script and Makefile.
       - Add .gitignore and .gitattributes file (the latter to limit exports).
       - Restore modification dates of the exported files from the SCM.
       - Stop exporting SCM log dumps to CHANGELOG. This makes no sense.
       - Remove djgpp-dos target (it is not different to other x-compilations).
       - Do not export the pre-"compiled" manpage. It can be generated like
         anything else from the code dump when we export the respective variable.
         The latter is added with this change.
       - Add some initial client-side git hooks
         * When committing check for obvious stuff you never want anyway:
           - white space errors
           - duplicate sign-offs
         * When pushing to the upstream repository check mandatory rules:
            - existing signoffs and acks in all new commits
            - no deletions or creation of branches
            - do not rewrite history of the precious branches, even if forced
       - Change version string of flashrom as follows.
         Previously, we included the last stable version according to a hard-
         coded string in the Makefile and appended the subversion revision number.
      
         With this patch the version string includes the last reachable git tag,
         number of commits since said tag in the upstream branches (if any),
         the name of said upstream branch, number of commits since that branch
         (if any), and the shortened git hash.
         In case there are uncommitted changes a "-dirty" indicator is also added.
         The case of unknown versions is explicitly handled in getrevision instead
         of simply appending "-unknown" to a hardcoded release number.
      
         The version information is either taken from an existing git remote
         pointing to an upstream repository (or a known mirror), or if that
         is not available - with the user's consent - a shadow copy is fetched
         from the upstream repo that is updated on every build (usually takes
         less than a second).
      
      In the following some examples of the version string changes are shown.
      Basically we print the distance to the last known upstream tag, which
      comprises any upstream commits since that tag as well as local commits on
      top of that. Additionally we handle upstream's stable and staging branches
      specially.
      
      Old output:
      flashrom v0.9.7-r1716 on Linux 3.8.0-6-generic (x86_64)
      
      New output variants:
      
      Build of the 0.9.99 release without any changes:
      flashrom v0.9.99-e4f6643 on Linux 3.13.0-76-generic (x86_64)
      
      5 commits since last tag in upstream's stable branch:
      flashrom v0.9.99-5-stable-e4f6643-dirty on Linux 3.13.0-76-generic (x86_64)
      
      3 commits since last tag in upstream's staging branch and
      4 local commits on top of that:
      flashrom v0.9.99-3-staging-4-e4f6643 on Linux 3.13.0-76-generic (x86_64)
      
      3 commits since last tag in upstream's staging branch and
      4 local commits on top of that, and some local uncommitted changes too:
      flashrom v0.9.99-3-staging-4-e4f6643-dirty on Linux 3.13.0-76-generic (x86_64)
      
      3 commits since the last tag in an unrelated upstream branch
      (e.g., a stable release *branch* such as 0.9.99.x) or local branch:
      flashrom v0.9.99-3-e4f6643 on Linux 3.13.0-76-generic (x86_64)
      
      No tags reachable from current commit (generic git fallback):
      flashrom d95935a version on Linux 3.13.0-76-generic (x86_64)
      
      Not in a repository:
      flashrom unknown version on Linux 3.13.0-76-generic (x86_64)
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      f5dd7ce1
  3. 13 Mar, 2016 5 commits
  4. 12 Mar, 2016 1 commit
  5. 06 Mar, 2016 2 commits
  6. 28 Feb, 2016 2 commits
  7. 26 Feb, 2016 1 commit
  8. 25 Feb, 2016 1 commit
  9. 22 Feb, 2016 2 commits
  10. 21 Feb, 2016 3 commits
  11. 20 Feb, 2016 5 commits
  12. 19 Feb, 2016 1 commit
  13. 18 Feb, 2016 4 commits
  14. 17 Feb, 2016 1 commit
  15. 14 Feb, 2016 1 commit
  16. 07 Feb, 2016 1 commit
  17. 01 Feb, 2016 1 commit
  18. 31 Jan, 2016 3 commits
  19. 24 Jan, 2016 1 commit
  20. 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
  21. 16 Jan, 2016 1 commit