1. 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" (64 KB) at physical address 0xffff0000.
      Flash image seems to be a legacy BIOS. Disabling checks.
      Programming page: 1023 at address: 0x0000ffc0
      Verifying flash... VERIFIED.
      
      $ ./flashrom -p nic3com -r 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" (64 KB) at physical address 0xffff0000.
      Reading flash... done.
      
      I have tested this on actual hardware (see PCI IDs above) and all
      operations worked fine.
      
      Support for other 3COM cards will follow (I added some more which should
      be supportable by this code, but they're untested so far), as well as
      support for NICs from other vendors.
      
      The patch also adds support for the Atmel AT49BV512 which is soldered
      onto the 3COM NIC I used for testing.
      
      Corresponding to flashrom svn r499.
      Signed-off-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      Acked-by: default avatarMateusz Murawski <matowy@tlen.pl>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      b4dcb718
  2. 11 May, 2009 3 commits
  3. 09 May, 2009 4 commits
  4. 08 May, 2009 3 commits
  5. 07 May, 2009 1 commit
  6. 04 May, 2009 1 commit
  7. 01 May, 2009 2 commits
  8. 28 Apr, 2009 1 commit
  9. 24 Apr, 2009 1 commit
  10. 09 Feb, 2009 1 commit
    • Peter Stuge's avatar
      Fix broken flash chip base address logic · 816139e0
      Peter Stuge authored
      
      Elan SC520 requries us to deal with flash chip base addresses at locations
      other than top of 4GB. The logic for that was incorrectly triggered also when
      a board had more than one flash chip. This patch will honor flashbase only when
      probing for the first flash chip on the board, and look at top of 4GB for later
      chips.
      
      Corresponding to flashrom svn r415 and coreboot v2 svn r3932.
      Signed-off-by: default avatarPeter Stuge <peter@stuge.se>
      Acked-by: default avatarMyles Watson <mylesgw@gmail.com>
      816139e0
  11. 28 Jan, 2009 1 commit
  12. 26 Jan, 2009 2 commits
  13. 25 Jan, 2009 1 commit
  14. 23 Jan, 2009 1 commit
  15. 22 Jan, 2009 1 commit
  16. 13 Jan, 2009 1 commit
  17. 12 Jan, 2009 1 commit
  18. 06 Dec, 2008 1 commit
  19. 05 Dec, 2008 2 commits
  20. 03 Dec, 2008 3 commits
  21. 28 Nov, 2008 2 commits
  22. 18 Oct, 2008 1 commit
  23. 10 Oct, 2008 1 commit
  24. 03 Sep, 2008 1 commit
    • Peter Stuge's avatar
      Only find "unknown .. SPI chip" if no other chip was found · 483b8f0c
      Peter Stuge authored
      
      This removes the false positive matches we've been seeing, and also removes
      the true positive match in case there is more than one flash chip and the 2nd
      or 3rd are unknown - but I think that case is uncommon enough to warrant the
      improvement in the common case. Use flashrom -frc forced read if you have the
      uncommon case, and/or please add the flash chip to the flashchips array.
      
      Corresponding to flashrom svn r313 and coreboot v2 svn r3562.
      Signed-off-by: default avatarPeter Stuge <peter@stuge.se>
      Acked-by: default avatarStefan Reinauer <stepan@coresystems.de>
      483b8f0c
  25. 12 Aug, 2008 1 commit
  26. 02 Aug, 2008 1 commit
  27. 02 Jul, 2008 1 commit