1. 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
  2. 28 Aug, 2013 1 commit
  3. 27 Aug, 2013 3 commits
  4. 25 Aug, 2013 2 commits
  5. 24 Aug, 2013 2 commits
  6. 23 Aug, 2013 2 commits
  7. 17 Aug, 2013 1 commit
  8. 14 Aug, 2013 3 commits
  9. 13 Aug, 2013 3 commits
  10. 12 Aug, 2013 1 commit
    • Stefan Tauner's avatar
      Fix verification operation · c4f44df5
      Stefan Tauner authored
      
      I broke this in r1702 where I enabled avoidance of the verification step if
      we did not modify anything in the erase/write step. The problem is that
      all_skipped is initialized to true and hence it would only ever verify if
      there have been changes noted in the erase/write step. This obviously
      breaks the verification operation (-v/--verify) because there we never
      enter the erase/write loop.
      
      The better alternative would be to enable (the implicit) verification
      in the write loop and not in cli_classic.c. This would require a bigger
      change due to the existance of dont_verify_it. Eventually this is the
      right thing to do but not so shortly before a release.
      
      Corresponding to flashrom svn r1707.
      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>
      c4f44df5
  11. 08 Aug, 2013 1 commit
  12. 30 Jul, 2013 1 commit
  13. 25 Jul, 2013 3 commits
  14. 17 Jul, 2013 2 commits
  15. 15 Jul, 2013 1 commit
    • Stefan Tauner's avatar
      Differentiate ultimate error messages depending on programmer used · 136388ff
      Stefan Tauner authored
      
      With every newly supported programmer the information regarding reboots
      on failures becomes more ridiculous. With this patch it is only shown when
      the internal programmer module was selected.
      
      Example outputs for external programmers:
      1) non-fatal:
      […]
      Reading current flash chip contents... done. FAILED at 0x00000000! Expected=0xff, Found=0x28, failed byte count from 0x00000000-0x0001ffff: 0x1fde7
      ERASE FAILED!
      FAILED!
      Uh oh. Erase/write failed. Checking if anything changed.
      Good. It seems nothing was changed.
      Writing to the flash chip apparently didn't do anything.
      Please check the connections (especially those to write protection pins) between
      the programmer and the flash chip. If you think the error is caused by flashrom
      please report this on IRC at chat.freenode.net (channel #flashrom) or
      mail flashrom@flashrom.org, thanks!
      
      2) fatal:
      […]
      Verifying flash... FAILED at 0x00000000! Expected=0x0f, Found=0xff, failed byte count from 0x00000000-0x0001ffff: 0x1fde6
      Your flash chip is in an unknown state.
      Please report this on IRC at chat.freenode.net (channel #flashrom) or
      mail flashrom@flashrom.org, thanks!
      
      Corresponding to flashrom svn r1699.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarDavid Hendricks <dhendrix@google.com>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      136388ff
  16. 13 Jul, 2013 4 commits
  17. 11 Jul, 2013 1 commit
    • Stefan Tauner's avatar
      print_wiki: Fixes, explanation re · 1c356bb6
      Stefan Tauner authored
      
      Flash chips, links to footnotes.
      
       - Escape mainboard notes in the wiki output with <nowiki> (this became
      necessary because MediaWiki started to convert <mark@zl2tod.net> to
      <mark>). - Add explanations at the top of the flash chip table in the
      wiki. - Add links to the footnotes of mainboards and laptops similarly
      to what MediaWiki does: link from the reference to the footnote and
      vice versa too. Also, check for truncations of the footnotes due to the
      limited buffer. - Fix a typo introduced in r1555.
      
      Corresponding to flashrom svn r1694.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      1c356bb6
  18. 28 Jun, 2013 7 commits