1. 10 Jan, 2015 2 commits
    • Stefan Tauner's avatar
      Unify target OS and CPU architecture checks · b0eee9b8
      Stefan Tauner authored
      
      We do CPU architecture checks once for the makefile in arch.h and
      once for HW access abstraction in hwaccess.c. This patch unifies
      related files so that they can share the checks to improve
      maintainability and reduce the chance of inconsistencies.
      Furthermore, it refines some of the definitions, which
       - adds "support" for AARCH64 and PPC64,
       - adds big-endian handling on arm as well as LE handling on PPC64,
       - fixes compilation of internal.c on AARCH64 and PPC64.
      
      Additionally, this patch continues to unify all OS checks in
      flashrom by adding a new helper macro IS_WINDOWS.
      
      The old header file for architecture checking is renamed to platform.h
      to reflect its broader scope and all new macros are add in there.
      
      Corresponding to flashrom svn r1864.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      b0eee9b8
    • Stefan Tauner's avatar
      Refine revision handling · d5ff8455
      Stefan Tauner authored
      
      Up to now, when compiling flashrom outside a VCS it would print two
      warnings that are not very clear to the user. This patch adds a new
      auxilary function to getrevision.sh and uses it in the makefile to print a
      single and more meaningful message to the user while hiding the
      warnings from getrevision.sh.
      
      Corresponding to flashrom svn r1862.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      d5ff8455
  2. 20 Aug, 2014 3 commits
  3. 03 May, 2014 1 commit
    • Stefan Tauner's avatar
      Add a bunch of new/tested stuff and various small changes 20 · c2eec2c9
      Stefan Tauner authored
      Tested mainboards:
      OK:
       - abit BX6 2.0
         Reported by Stefan Tauner
       - Acer EM61SM/EM61PM (used in Acer Aspire T180)
         Reported by Benjamin Bellec
       - ADLINK Express-HR
         Reported by Obermair Thomas
       - ASUS M3N-H/HDMI
         Reported by Franc Serres
       - Attro G5G100-P
         Reported by Christoph Grenz
       - ASRock 960GM-GS3 FX
         Reported by Fuley Istvan
       - Elitegroup P6BAP-A+ (V2.2)
         Reported by Arnaldo Pirrone
       - Elitegroup GeForce7050M-M (V2.0)
         Reported by Leif Middelschulte
       - Fujitsu D3041-A1 (used in ESPRIMO P2560)
         Reported by Daggi Duck
       - GIGABYTE GA-8S648
         Reported by TeslaBIOS
       - GIGABYTE GA-970A-D3P (rev. 1.0)
         Reported by Jean-Francois Pirus
       - GIGABYTE GA-B85M-D3H
         Reported by Mladen Milinković
       - GIGABYTE GA-X79-UD3
         Reported by Jeff O'Neil
       - GIGABYTE GA-X79-UP4 (rev. 1.0)
         Reported by George Spelvin
       - GIGABYTE GA-Z68MA-D2H-B3 (rev. 1.3)
         Reported by Vangelis Skarmoutsos
       - GIGABYTE GA-Z87-HD3
         Reported by virii5
       - ...
      c2eec2c9
  4. 27 Apr, 2014 1 commit
  5. 26 Apr, 2014 1 commit
  6. 12 Sep, 2013 1 commit
  7. 29 Aug, 2013 1 commit
    • 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.
      ...
      ec7a35f7
  8. 17 Aug, 2013 1 commit
  9. 14 Aug, 2013 1 commit
  10. 09 Mar, 2013 1 commit
  11. 15 Aug, 2012 1 commit
  12. 14 Aug, 2012 1 commit
  13. 13 Aug, 2012 1 commit
  14. 09 Aug, 2012 1 commit
    • Carl-Daniel Hailfinger's avatar
      Portability fixes and cleanups · 60d9bd26
      Carl-Daniel Hailfinger authored
      
      Move Mac OS X IOKit/DirectHW availability checks in the Makefile from
      compiler check to pciutils check.
      
      Print the compiler error messages for feature detection.
      
      Add DOS libpci in the Makefile includes only if a PCI-based programmer
      was requested.
      
      Restrict mmap usage in ich_descriptors_tool to Unix style systems.
      
      Build ich_descriptors_tool with the correct .exe extension on
      DOS/Windows.
      
      Build ich_descriptors_tool by default on x86. (Patch by Stefan Tauner)
      
      Print the Windows version instead of "unknown machine" on Windows.
      
      Don't #define our own __DARWIN__, use the standard OS X detection
      method.
      
      Update the README.
      
      Add more generated files to svn:ignore
      
      Corresponding to flashrom svn r1567.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      60d9bd26
  15. 24 Dec, 2011 1 commit
    • Stefan Tauner's avatar
      Add ich_descriptor_tool to decode all flash descriptors stored in a flash dump file · b3850964
      Stefan Tauner authored
      This patch adds an external utility that shares most of the existing descriptor
      decoding source code. Additionally to what is available via FDOC/FDOD this
      allows to access:
       - the softstraps which are used to configure the chipset by flash content
         without the need for BIOS routines. on ICH8 it is possible to read those
         with FDOC/FDOC too, but this was removed in later chipsets.
       - the ME VSCC (Vendor Specific Component Capabilities) table. simply put,
         this is an SPI chip database used to figure out the flash's capabilities.
       - the MAC address stored in the GbE image.
      
      Intel thinks this information should be confidential for ICH9 and up, but
      references some tidbits in their public documentation.
      This patch includes the human-readable information for ICH8, Ibex Peak
      (5 series) and Cougar Point (6 series); the latter two were obtained from
      leaked "SPI Flash Programming Guides" found by google. Data regarding ICH9
      and...
      b3850964
  16. 20 Oct, 2011 1 commit
  17. 14 Oct, 2011 1 commit
  18. 17 Jun, 2011 1 commit
  19. 19 May, 2011 1 commit
  20. 02 Nov, 2010 2 commits
  21. 29 Oct, 2010 2 commits
  22. 27 Jul, 2010 1 commit
    • Uwe Hermann's avatar
      Add a udev rules file for flashrom · 695fb5d0
      Uwe Hermann authored
      
      This allows USB-based external programmers to be used by non-root users
      (which are in the 'plugdev' group). The file is to be installed by the
      distros into the proper place (not sure if this is distro-specific). On
      Debian the file will end up in /etc/udev/rules.d/z60_flashrom.rules.
      
      On some systems the 'plugdev' group might have to adapted to whatever
      the respective distro uses.
      
      The following devices are listed so far:
      
       - Amontec JTAGkey(2)
       - Buspirate
       - Dediprog SF100
       - DLP Design DLP-USB1232H
       - FTDI FT4232H Mini-Module
      
      Corresponding to flashrom svn r1110.
      Signed-off-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      695fb5d0