Skip to content
Snippets Groups Projects
  1. Jul 31, 2019
  2. Jun 23, 2019
  3. Aug 19, 2018
  4. Apr 24, 2018
  5. Jan 23, 2016
    • 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
  6. Dec 20, 2014
  7. Aug 30, 2014
    • Stefan Tauner's avatar
      Refine physical address mapping of flash chips · 4e32ec19
      Stefan Tauner authored
      
       - Create distinct functions for mapping and unmapping for flash chips.
       - Map only when needed: map before probing and unmap immediately
         after it. Map again when a single chip was probed successfully before
         taking any actual actions and clean up afterwards.
       - Map special function chip registers centrally together with flash space
         instead of within (some) probing methods after successful probes.
       - Save the used base addresses of the mappings in struct flashctx as well.
       - Do not try to (un)map the zero-sized chip definitions that are merely hacks.
         This also fixes the printing of wrong warnings for these chip definitions
         introduced in r1765.
      
      Corresponding to flashrom svn r1847.
      
      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>
      4e32ec19
  8. Aug 08, 2014
  9. Aug 03, 2014
  10. May 29, 2014
  11. May 02, 2014
  12. Jul 25, 2013
  13. Jul 13, 2013
  14. Oct 27, 2012
    • Stefan Tauner's avatar
      Do not read the flash chip twice in verification mode · 78ffbeaa
      Stefan Tauner authored
      
      Kyösti Mälkki noticed that we unnecessarily read the flash chip twice when
      called with --verify. The first one is the mandatory read before everything
      (to be able to detect the seriousness of errors), but the second one is not
      necessary because we can just use the former for the comparison.
      
      This introduces a small output change: previously we printed ERASE or
      VERIFY depending on the callee. This special case has been dropped
      because it is unnecessary to print it (and wrong for the verification
      function to need to know why it is verifying exactly).
      If an erase fails we mention that fact explicitly already, similar for verify.
      
      Corresponding to flashrom svn r1619.
      
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      78ffbeaa
  15. Aug 25, 2012
  16. Dec 18, 2011
  17. Dec 14, 2011
    • Carl-Daniel Hailfinger's avatar
      Use struct flashctx instead of struct flashchip for flash chip access · 63fd9026
      Carl-Daniel Hailfinger authored
      
      Struct flashchip is used only for the flashchips array and for
      operations which do not access hardware, e.g. printing a list of
      supported flash chips.
      
      struct flashctx (flash context) contains all data available in
      struct flashchip, but it also contains runtime information like
      mapping addresses. struct flashctx is expected to grow additional
      members over time, a prime candidate being programmer info.
      struct flashctx contains all of struct flashchip with identical
      member layout, but struct flashctx has additional members at the end.
      
      The separation between struct flashchip/flashctx shrinks the memory
      requirement of the big flashchips array and allows future extension
      of flashctx without having to worry about bloat.
      
      Corresponding to flashrom svn r1473.
      
      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>
      63fd9026
  18. Nov 23, 2011
  19. Sep 18, 2011
  20. Aug 16, 2011
  21. Jun 26, 2011
  22. Apr 15, 2011
    • Michael Karcher's avatar
      Remove delays in JEDEC erase sequence · 880e867a
      Michael Karcher authored
      
      It is extremely unlikely that a chip not requiring delays in probe does
      require them in erase. We observed unreliable erasing with a SST49LF004A
      with these delays, so remove them if the are not required.
      
      In review, I got the hint that "probe_jedec goes further by making that
      call conditional on nonzero delay". I decided to ignore that. For
      internal_delay, the small amount of clock cycles wasted for calling
      programmer_delay(0) is negligible compared to LPC cycle times. It might
      be an issue for 5 wasted bytes on the serial line in serprog. OTOH,
      flash erase is still slow compared to 6*5 bytes on a serial port at
      reasonable speed.
      
      Corresponding to flashrom svn r1288.
      
      Signed-off-by: default avatarMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      880e867a
  23. Oct 20, 2010
  24. Oct 13, 2010
  25. Oct 10, 2010
    • Carl-Daniel Hailfinger's avatar
      Simplify calls to inner write functions · 184b95f4
      Carl-Daniel Hailfinger authored
      
      No behavioural changes, just equivalence transformations.
      
      Corresponding to flashrom svn r1209.
      
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      184b95f4
    • Carl-Daniel Hailfinger's avatar
      Unify chip write functions · b30a5ed4
      Carl-Daniel Hailfinger authored
      
      The currently used write functions (wrappers) all use helpers which
      perform the actual write (inner functions).
      
      The signature of the write wrappers is: int write_chip(struct flashchip
      *flash, uint8_t * buf);
      
      The signature of the inner write functions varied a lot. This patch
      changes them to: int write_part(struct flashchip *flash, uint8_t *src,
      int start, int len);
      
      Did you know that flashrom has only 8 inner write functions for all
      flash chips? write_page_write_jedec_common write_sector_jedec_common
      write_sector_28sf040 spi_chip_write_256_new spi_chip_write_1_new
      spi_aai_write_new write_page_82802ab write_page_m29f400bt
      
      Export all inner write functions.
      
      Change the function signature of wait_82802ab to eliminate single-use
      variables.
      
      Remove an error message in write_page_m29f400bt which was printed for
      every byte written regardless of success.
      
      Add sharplhf00l04.c to the list of flash chip drivers in the Makefile.
      While the functions in there are unused, I suspect we will need them
      later, and by hooking the file up we ensure that compilation won't
      break.
      
      Corresponding to flashrom svn r1208.
      
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      b30a5ed4
  26. Oct 08, 2010
  27. Jul 03, 2010
  28. Mar 25, 2010
  29. Mar 24, 2010
  30. Feb 26, 2010
  31. Jan 28, 2010
    • Sean Nelson's avatar
      Complete the addition of Feature Bits for all Jedec based chips · 35727f76
      Sean Nelson authored
      
      Add FEATURE_SHORT_RESET, FEATURE_LONG_RESET, and FEATURE_EITHER_RESET
      rewrite jedec functions to use getaddrmask
      
      convert write_49f002 to write_jedec_1
      convert write_w39v040c to write_jedec_1
      convert probe_w39v040c to probe_jedec
      convert write_49lf040 to write_jedec_1
      convert write_pm29f002 to write_jedec
      convert write_29f040b to write_jedec_1
      convert probe_29f040b to probe_jedec
      convert erase_chip_29f040b to erase_chip_block_jedec
      convert erase_sector_29f040b to erase_sector_jedec
      convert write_m29f002b to write_jedec
      convert write_m29f002t to write_jedec
      convert *_29f002 to *_jedec
      
      decouple unused files from Makefile:
      am29f040b.c
      en29f002a.c
      m29f002.c
      mx29f002.c
      pm29f002.c
      sst49lf040.c
      w39v040c.c
      w49f002u.c
      
      Corresponding to flashrom svn r886.
      
      Signed-off-by: default avatarSean Nelson <audiohacked@gmail.com>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarAnders Juel Jensen <andersjjensen@gmail.com>
      35727f76
  32. Jan 09, 2010
  33. Jan 04, 2010
Loading