1. 15 May, 2010 1 commit
  2. 28 Apr, 2010 1 commit
    • Carl-Daniel Hailfinger's avatar
      One of the problems is that --force had multiple meanings · 27023768
      Carl-Daniel Hailfinger authored
      
      - Force chip read by faking probe success.
      - Force chip access even if the chip is bigger than max decode size for
        the flash bus.
      - Force erase even if erase is known bad.
      - Force write even if write is known bad.
      - Force writing even if cbtable tells us that this is the wrong image
        for this board.
      
      This patch cleans up --force usage:
      - Remove any suggestions to use --force for probe/read from flashrom
        output.
      - Don't talk about "success" or "Found chip" if the chip is forced.
      - Add a new internal programmer parameter boardmismatch=force. This
        overrides any mismatch detection from cbtable/image comparisons.
      - Add a new internal programmer parameter laptop=force_I_want_a_brick.
      - Adjust the documentation for --force.
      - Clean up the man page a bit whereever it talks about --force or
        laptops.
      
      Additional changes in this patch:
      - Add warnings about laptops to the documentation.
      - Abort if a laptop is detected. Can be overridden with the programmer
      parameter mentioned above.
      - Add "Portable" to the list of DMI strings indicating laptops.
      - Check if a chip specified with -c is known to flashrom.
      - Programmer parameter reliability and consistency fixes.
      - More paranoid self-checks.
      - Improve documentation.
      
      Corresponding to flashrom svn r996.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
      27023768
  3. 25 Mar, 2010 2 commits
  4. 13 Mar, 2010 1 commit
  5. 12 Mar, 2010 1 commit
  6. 07 Mar, 2010 2 commits
  7. 21 Feb, 2010 1 commit
  8. 03 Jan, 2010 1 commit
  9. 24 Nov, 2009 1 commit
  10. 30 Sep, 2009 1 commit
    • Uwe Hermann's avatar
      Add initial support for flashing some NVIDIA graphics cards · 2bc98f6c
      Uwe Hermann authored
      
      The new option is '-p gfxnvidia', rest of the interface is as usual.
      
      I tested a successful identify and read on a "RIVA TNT2 Model 64/Model 64 Pro"
      card for now, erase and write did NOT work properly so far!
      
      Please do not attempt to write/erase cards yet, unless you can recover!
      
      In addition to the NVIDIA handling code it was required to call
      programmer_shutdown() in a lot more places, otherwise the graphics card
      will be disabled in the init function, but never enabled again as the
      shutdown function is not called.
      The shutdown handling may be changed to use atexit() later.
      
      Corresponding to flashrom svn r737.
      Signed-off-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      Acked-by: default avatarLuc Verhaegen <libv@skynet.be>
      2bc98f6c
  11. 02 Sep, 2009 1 commit
  12. 19 Aug, 2009 1 commit
  13. 18 Aug, 2009 2 commits
  14. 30 Jul, 2009 1 commit
  15. 11 Jul, 2009 2 commits
  16. 01 Jul, 2009 1 commit
  17. 28 Jun, 2009 1 commit
  18. 24 Jun, 2009 2 commits
  19. 19 Jun, 2009 2 commits
  20. 16 Jun, 2009 1 commit
  21. 12 Jun, 2009 1 commit
  22. 02 Jun, 2009 1 commit
  23. 01 Jun, 2009 1 commit
  24. 31 May, 2009 1 commit
  25. 22 May, 2009 1 commit
  26. 19 May, 2009 1 commit
  27. 17 May, 2009 1 commit
    • Uwe Hermann's avatar
      Various smaller flashrom improvements · eaefb48e
      Uwe Hermann authored
      
       - Document new 'satasii' programmer in -L output and manpage.
      
       - Drop PCI_IO_BASE_ADDRESS, pci.h has such #defines already.
      
       - Beautify flashrom output and make it more consistent.
       
       - Same for the 'make' output (reordered some $CC parameters).
         Build-tested on i386, shouldn't break any builds, I think.
      
       - Some variable renaming and other cosmetic fixes.
      
      Corresponding to flashrom svn r529.
      Signed-off-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      eaefb48e
  28. 14 May, 2009 1 commit
    • Uwe Hermann's avatar
      Make the nic3com code check how many supported NICs are found · 530cb2d4
      Uwe Hermann authored
      
      If we find multiple ones, abort with a message to the user, suggesting
      to use the
      
        flashrom -p nic3com=bb:dd.f
      
      syntax. If exactly one supported NIC is found, use it. If none is found,
      abort with an error.
      
      Print the bb:dd.f numbers for all supported NICs we find, so the user
      doesn't have to poke around in lspci output to find the desired bb:dd.f.
      
      Also, drop one pci_read_long() in favor of using the already existing
      base_addr[0] struct field.
      
      Drop the BAR in user messages, it's not really useful for us. Instead,
      explain the BDF syntax a bit more verbosely.
      
      While I'm at it, update the manpage some more to mention and fully
      document the external programmer support we have (or will have soon).
      
      The patch is tested on hardware:
      
      $ flashrom -p nic3com flashrom v0.9.0-r512 Found NIC "3COM 3C905C:
      EtherLink 10/100 PCI (TX)" (10b7:9200, BDF 05:04.0) Found NIC "3COM
      3C905C: EtherLink 10/100 PCI (TX)" (10b7:9200, BDF 05:03.0) Error:
      Multiple supported NICs found. Please use 'flashrom -p nic3com=bb:dd.f'
      to explicitly select the card with the given BDF (PCI bus, device,
      function).
      
      $ flashrom -p nic3com=05:04.0 flashrom v0.9.0-r512 Found NIC "3COM
      3C905C: EtherLink 10/100 PCI (TX)" (10b7:9200, BDF 05:04.0) Calibrating
      delay loop... OK. Found chip "Atmel AT49BV512" (64 KB) at physical
      address 0xffff0000. No operations were specified.
      
      Corresponding to flashrom svn r513.
      Signed-off-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      530cb2d4
  29. 13 May, 2009 1 commit
    • Uwe Hermann's avatar
      Add support for 3COM NICs as "external programmer" and Atmel AT49BV512 · b4dcb718
      Uwe Hermann authored
      This allows flashrom to identify, read, write, erase and verify flash chips
      on (some) 3COM network cards. The patch uses the external programmer
      infrastructure, the network card is basically treated as an external
      flash programmer.
      
      Usage:
      
      $ ./flashrom -p nic3com
      flashrom v0.9.0-r498
      Found NIC "3COM 3C905C: EtherLink 10/100 PCI (TX)" (10b7:9200), addr = 0xa400
      Calibrating delay loop... OK.
      Found chip "Atmel AT49BV512" (64 KB) at physical address 0xffff0000.
      No operations were specified.
      
      $ ./flashrom -p nic3com -E
      flashrom v0.9.0-r498
      Found NIC "3COM 3C905C: EtherLink 10/100 PCI (TX)" (10b7:9200), addr = 0xa400
      Calibrating delay loop... OK.
      Found chip "Atmel AT49BV512" (64 KB) at physical address 0xffff0000.
      Erasing flash chip... SUCCESS.
      
      $ ./flashrom -p nic3com -wv backup.bin
      flashrom v0.9.0-r498
      Found NIC "3COM 3C905C: EtherLink 10/100 PCI (TX)" (10b7:9200), addr = 0xa400
      Calibrating delay loop... OK.
      Found chip "Atmel AT49BV512" (...
      b4dcb718
  30. 09 May, 2009 2 commits
  31. 05 May, 2009 1 commit
  32. 01 May, 2009 2 commits