summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a board-enable for the MSI MS-6787 (P4MAM-V/P4MAM-L)Sergey A Lichack2010-09-072-0/+3
| | | | | | | | | | Marked as untested for now, as there was no response from the user. Corresponding to flashrom svn r1155. Signed-off-by: Sergey A Lichack <shadowpilot34@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add board-enable for the GIGABYTE GA-K8N51GMF-9Joshua Roys2010-09-072-0/+11
| | | | | | | | | | | | | | | Interestingly enough, this board's enable looked more like enable_flash_nvidia_nforce2 than enable_flash_ck804; it whacked 0x92, not 0x88. But according to the lspci, 0x92 is already 0. Tested successfully on hardware: http://www.flashrom.org/pipermail/flashrom/2010-August/004568.html http://www.flashrom.org/pipermail/flashrom/2010-September/004575.html Corresponding to flashrom svn r1154. Signed-off-by: Joshua Roys <roysjosh@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Updates to the board and chips status tablesUwe Hermann2010-09-053-44/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mark the following boards as tested: - Tyan S2933 (Thunder n3600S) (reported by Pendic Peter <nigma@bluewin.ch>) http://www.flashrom.org/pipermail/flashrom/2010-August/004375.html - MSI MS-7642 (890GXM-G65) (reported by Alan McMahon <pam@aldersgate.co.uk>) http://www.flashrom.org/pipermail/flashrom/2010-August/004393.html - Shuttle X50/X50(B) (reported by Ed Driesen <ed@omts.be>) http://www.flashrom.org/pipermail/flashrom/2010-August/004472.html (the "B" variant is just black instead of white, no hardware differences as far as I can see) - ASUS M2NPV-VM (reported by Antti Palosaari <crope@iki.fi>) http://www.flashrom.org/pipermail/flashrom/2010-August/004476.html - ZOTAC ZBOX HD-ID11 (reported by s. ewgen <sewgen@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-August/004512.html - ASRock A330GC (reported by Daniel Flinkmann <DFlinkmann@gmx.de>) http://www.flashrom.org/pipermail/flashrom/2010-August/004517.html - Congatec conga-X852 (reported by Mario Rogen <Mario.Rogen@sie.at>) http://www.coreboot.org/pipermail/coreboot/2008-November/041433.html - IEI PICOe-9452 (reported by Mario Rogen <Mario.Rogen@sie.at>) http://www.coreboot.org/pipermail/coreboot/2008-November/041433.html - Lex CV700A (reported by Mario Rogen <Mario.Rogen@sie.at>) http://www.coreboot.org/pipermail/coreboot/2008-November/041433.html - Portwell PEB-4700VLA (reported by Mario Rogen <Mario.Rogen@sie.at>) http://www.coreboot.org/pipermail/coreboot/2008-November/041433.html Mark the following chips as tested: - SST SST39SF040 (reported by Mattias Mattsson <vitplister@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-August/004414.html - Eon EN25F80 (reported by Ed Driesen <ed@omts.be>) http://www.flashrom.org/pipermail/flashrom/2010-August/004472.html - SyncMOS/MoselVitelic {F,S,V}29C51002T (reported by Mattias Mattsson <vitplister@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-August/004475.html - PMC Pm29F002T (reported by Tadas S <mrtadis@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-September/004583.html Also: - Fix a few whitespace issues and cosmetics while I'm at it. - Add the board name (in addition to the Sxxxx number) to all Tyan boards. Corresponding to flashrom svn r1153. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Various status updatesCarl-Daniel Hailfinger2010-09-043-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Success report for Atmel AT26DF081A from Oliver Schnatz <oliver.schnatz@mysys.de> http://www.flashrom.org/pipermail/flashrom/2009-October/000760.html. Success report for Winbond W25Q32 from David Hendricks <dhendrix@google.com> http://www.flashrom.org/pipermail/flashrom/2010-April/002891.html Success report for SST SST39VF512 from Alec Wright <alecjw@member.fsf.org> http://www.flashrom.org/pipermail/flashrom/2010-August/004549.html http://www.flashrom.org/pipermail/flashrom/2010-August/004548.html Success report for Silicon Image SiI 3512 and AMD Am29LV040B from Michael Manulis <michael@manulis.com> http://www.flashrom.org/pipermail/flashrom/2010-July/003944.html Annotate listing with reporter/owner name for boards marked broken, flag boards for which no reports exist. - Abit IS-10 - ASRock K7VT4A+ - ASUS MEW-AM - ASUS MEW-VM - ASUS P3B-F - ASUS P5BV-M - Biostar M6TBA - Boser HS-6637 - DFI 855GME-MGF - FIC VA-502 - MSI MS-6178 - MSI MS-7260 - Soyo SY-5VD - Sun Fire x4150 - Sun Fire x4200 - Sun Fire x4540 - Sun Fire x4600 Remove comments which are no longer appropriate: - ASRock K8S8X Corresponding to flashrom svn r1152. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add Intel Gigabit NIC SPI flashing supportIdwer Vollering2010-09-038-4/+263
| | | | | | | | | | | | | | | | | | | | Tested on a 82541PI (0x8086, 0x107c) using 32-bit hardware. The last line in nicintel_request_spibus() could be changed so that FL_BUSY is used instead. Shortened sample log: [...] Found "Intel 82541PI Gigabit Ethernet Controller" (8086:107c, BDF 01:03.0). Found chip "ST M25P10.RES" (128 KB, SPI) at physical address 0xfffe0000. Multiple flash chips were detected: M25P05.RES M25P10.RES Please specify which chip to use with the -c <chipname> option. [...] Corresponding to flashrom svn r1151. Signed-off-by: Idwer Vollering <vidwer@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add FEATURE_WRSR_WREN to all Macronix SPI flash chipsDavid Hendricks2010-09-031-0/+11
| | | | | | | | | | Add FEATURE_WRSR_WREN to feature_bits for all Macronix SPI flash chips to indicate that spi_write_status_register() needs WREN instead of EWSR. Corresponding to flashrom svn r1150. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add FEATURE_WRSR_WREN to all AMIC SPI flash chipsDavid Hendricks2010-09-031-0/+8
| | | | | | | | | | Add FEATURE_WRSR_WREN to feature_bits for some AMIC SPI flash chips to indicate that spi_write_status_register() needs WREN instead of EWSR. Corresponding to flashrom svn r1149. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add FEATURE_WRSR_WREN to all Eon SPI flash chipsDavid Hendricks2010-09-031-0/+8
| | | | | | | | | | Add FEATURE_WRSR_WREN to feature_bits for many Eon SPI flash chips to indicate that spi_write_status_register() needs WREN instead of EWSR. Corresponding to flashrom svn r1148. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add FEATURE_WRSR_WREN to all Winbond SPI flash chipsDavid Hendricks2010-09-031-0/+11
| | | | | | | | | | Add FEATURE_WRSR_WREN to feature_bits for all Winbond SPI flash chips to indicate that spi_write_status_register() needs WREN instead of EWSR. Corresponding to flashrom svn r1147. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add board enable for Asus P2B-NMattias Mattsson2010-09-012-0/+11
| | | | | | | | | | | | Many thanks to Michael Karcher for reverse engineering this. lspci/superio output: http://www.flashrom.org/pipermail/flashrom/2010-August/004475.html Corresponding to flashrom svn r1146. Signed-off-by: Mattias Mattsson <vitplister@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Add paranoid checks to sb600spi driverCarl-Daniel Hailfinger2010-08-182-7/+75
| | | | | | | | | | | | | | | | | | | | | Add paranoid checks for correct values in essential registers in the SB600/SB700/... SPI driver. If something else changes the values we wrote, we will see severe read/write corruption. sb600spi will now abort the access and return an error if it detects this sort of corruption. Note: This corruption can be caused by a few different events: - IPMI/BMC/IMC accesses flash - Other software accesses flash The nature of flash access (read/write/ID/...) is irrelevant. Each such access will cause corruption for all other accesses happening at the same time. Thanks to Matthias Kretz for testing this patch. Corresponding to flashrom svn r1145. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Matthias Kretz <kretz@kde.org>
* SST49FL040B: add unlockingJoshua Roys2010-08-161-2/+3
| | | | | | | | | | | | | | The datasheet says there's a set of registers in the 4Mbit before the flash memory. The block locking registers are aligned on 64K boundaries, plus 2. Write/erase sucessful on a system it failed before: http://www.flashrom.org/pipermail/flashrom/2010-August/004432.html Corresponding to flashrom svn r1144. Signed-off-by: Joshua Roys <roysjosh@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Add board enable for Abit VA6Mattias Mattsson2010-08-152-0/+3
| | | | | | | | | | lspci/superiotool: http://www.coreboot.org/pipermail/flashrom/2010-August/004440.html Corresponding to flashrom svn r1143. Signed-off-by: Mattias Mattsson <vitplister@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Check availability of GPO lines on Intel PIIX4Mattias Mattsson2010-08-151-30/+43
| | | | | | | | | | | | | | | | | | | | | | | | This patch changes the intel_piix4_gpo_set() function to always check the GENCFG and XBCS registers for the availability of the requested GPO line before raising/lowering it and fails otherwise. It makes no attempt to bypass the values in these configuration registers. The old flashrom code did consider it safe to reprogram (multiplexed) GPO:s 22-26 without checking the value of the controlling register (GENCFG). I do not really know why. I have tested this patch on an Asus P2B-N (needs GPO18 low) and MSI MS-6163 Pro (needs GPO14 high). The information for these registers are from the Intel "82371AB PCI-TO-ISA / IDE XCELERATOR (PIIX4)" datasheet available here: http://www.intel.com/design/intarch/datashts/29056201.pdf Corresponding to flashrom svn r1142. Signed-off-by: Mattias Mattsson <vitplister@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Various board status updates and fixesUwe Hermann2010-08-152-14/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - There are number of boards that have board-enables in board-enable.c but have no corresponding entry in print.c (with or without URL doesn't matter) and thus appear neither in the "flashrom -L" list of boards nor in the wiki output. Fix this by adding entries for them in print.c. - abit AN-M2 - abit KN8 Ultra - ASUS A8Jm (laptop) - ASUS A8N (might need changing to "A8N-SLI Deluxe", see http://www.coreboot.org/pipermail/flashrom/2009-November/000878.html) - ASUS A8N-LA (Nagami-GL8E) - ASUS P4B533-E - ASUS P4S800-MX - HP ProLiant DL165 G6 - IBASE MB899 - Intel SE440BX-2 (marked as non-working for now though, due to http://www.coreboot.org/pipermail/flashrom/2010-July/003952.html) - MSI MS-6577 (Xenon) - MSI MS-7207 (K8NGM2-L) - Fix / amend a few board names: - Add "ProLiant" name to the "DL145 G3" (and the new "DL165 G6"), we use such "series" names for various other boards (e.g. "Vectra" etc) and it also helps users googling for those names. - HP "Vectra VL400 PC" should be "Vectra VL400" really, I'm pretty sure the "PC" is not part of the board name but simply stands for "personal computer". Same for "Vectra VL420 SFF PC". - Change "ASUS A8JM" to "ASUS A8Jm" as per vendor website. - Add comments for boards which may be listed with incorrect names, I sent out clarification requests to the list, URLs listed as comment. - Add "Xenon" HP name to the "MSI MS-6577" OEM board. - Fix typo in "MS-7207 (K8N GM2-L)", should be "MS-7207 (K8NGM2-L)" as per vendor website. Corresponding to flashrom svn r1141. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Mark the board-enable for ASUS A8N-LA (HP OEM "Nagami-GL8E") as testedSean Nelson2010-08-151-2/+2
| | | | | | | | | | | | | | Change the DMI string to only match this exact board (DMI "NAGAMI2L") as only this one is tested. Similar HP OEM boards might also work using this board-enable but that's not sure and not tested. Two of those boards have DMI strings "NAGAMI" and "NAGAMI2". Corresponding to flashrom svn r1140. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Board enable for MSI MS-7061 (KM4AM-V)Mattias Mattsson2010-08-152-0/+3
| | | | | | | | | | | | lspci/superiotool: http://www.coreboot.org/pipermail/flashrom/2010-August/004414.html (URL added by Michael Karcher) Corresponding to flashrom svn r1139. Signed-off-by: Mattias Mattsson <vitplister@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Board enable for GA-8PE667 Ultra 2Michael Karcher2010-08-132-0/+3
| | | | | | | | | | | | | | I had to use the USB controller in the board enable because all other subsystem IDs are having vendor: Gigabyte but mostly copy the Intel product IDs. lspci/superiotool: http://www.coreboot.org/pipermail/flashrom/2010-August/004420.html Corresponding to flashrom svn r1138. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Thomas Kalka <thomas.kalka@googlemail.com>
* Add support for Intel 5 Series / 3400 Series chipsetsHelge Wagner2010-08-112-1/+17
| | | | | | | | | | | (At least) for the QM57 which i have tested an additional patch was needed as some reserved bits in the "Software Sequencing Flash Control Register" (SSFC) needs to be programmed to 1 in the QM57. Corresponding to flashrom svn r1137. Signed-off-by: Helge Wagner <helge.wagner@ge.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Add dmidecode quirk workaroundMichael Karcher2010-08-081-8/+17
| | | | | | | | | | | | Dmidecode emits a warning message about unsupported SMBIOS versions to stdout before the information asked for when using "-s". I consider this behaviour broken, but we still need to workaround it as e.g. Fedora currently distributes an dmidecode with this behaviour. Corresponding to flashrom svn r1136. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Fix typo (s/Bit/Bits/) to clarify code commentDavid Borg2010-08-081-4/+4
| | | | | | | | Corresponding to flashrom svn r1135. Signed-off-by: David Borg <borg.db@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Various cosmetic and coding-style fixesUwe Hermann2010-08-087-268/+306
| | | | | | | | | | | | | | | | | | | | | - Fix incorrect whitespace, indentation, and coding style in some places. - Drop '/**' Doxygen comments, we don't use Doxygen. Even if we would use it, the comments are useless as we don't have any Doxygen markup in there. - Use consistent vendor name spelling as per current website (NVIDIA, abit, GIGABYTE). - Use consistent / common format for "Suited for:" lines in board_enable.c. - Add some missing 'void's in functions taking no arguments. - Add missing fullstops in sentences, remove them from non-sentences (lists). Corresponding to flashrom svn r1134. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add a board-enable for the ASRock 775i65GJoshua Roys2010-08-082-0/+3
| | | | | | | | | | | This was successfully tested by 'kai2343' on IRC. Thanks to Michael Karcher for finding the board enable. Corresponding to flashrom svn r1133. Signed-off-by: Joshua Roys <roysjosh@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Mark the following boards/chips as testedUwe Hermann2010-08-083-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Boards: - ASUS M4A785TD-M EVO (reported by Mattias Mattsson <vitplister@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-August/004283.html - ASUS M2N32-SLI Deluxe (reported by Mattias Mattsson <vitplister@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-August/004287.html - ASUS P2E-M (reported by Mattias Mattsson <vitplister@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-July/004261.html - ASUS M2N-SLI Deluxe (reported by Kasper M. Nielsen <kasper.nielsen85@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-May/003015.html - iBASE MB899 (reported by Bernhard M. Wiedemann <bernhard@lsmod.de>) http://www.flashrom.org/pipermail/flashrom/2010-April/002953.html Board-enable is now marked as tested. - ASRock 939A785GMH/128M (reported by Lennart Sauerbeck <lists@lennart.sauerbeck.org>) http://www.flashrom.org/pipermail/flashrom/2010-August/004340.html Corresponding to flashrom svn r1132. Chips: - ST M50FLW080A (reported by Mattias Mattsson <vitplister@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-August/004287.html - Winbond W29EE011 (reported by Mattias Mattsson <vitplister@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-July/004261.html - SST SST49LF040 (reported by Mattias Mattsson <vitplister@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-August/004296.html Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Board enable for MSI MS-6577Joshua Roys2010-08-071-0/+12
| | | | | | | | | | | | Thanks to "Putlinuxonit" <putlinuxonit@gmail.com> for reporting and testing. lspci/superiotool: http://www.coreboot.org/pipermail/flashrom/2010-August/004309.html Corresponding to flashrom svn r1131. Signed-off-by: Joshua Roys <roysjosh@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Board enable for Asus P4S800-MXDavid Borg2010-08-021-1/+4
| | | | | | | | | | lspci/superiotool: http://www.coreboot.org/pipermail/flashrom/2010-July/004172.html Corresponding to flashrom svn r1130. Signed-off-by: David Borg <borg.db@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Further chip and board status updatesUwe Hermann2010-08-013-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mark the following boards as supported: - Foxconn A6VMX (reported by Alec Wright <alecjw@member.fsf.org>) http://www.flashrom.org/pipermail/flashrom/2010-July/004186.html - GIGABYTE GA-8IRML (reported by Putlinuxonit <putlinuxonit@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-July/004175.html Marking the board-enable as tested now. - MSI MS-7253 (K9VGM-V) (reported by Alex <cerebro.alexiel@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003411.html - Soyo SY-6BA+ III (reported by Andrew Morgan <ziltro@ziltro.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003409.html - GIGABYTE GA-770TA-UD3 (reported by Hering <boerni@pakke.de>) http://www.flashrom.org/pipermail/flashrom/2010-May/003267.html - Shuttle AV11V30 (reported by "Néstor a.k.a. DarkMan" <master_darkman@hotmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-May/003260.html - Tyan S3992 (reported by Alessandro Gervaso <gervaso@appliedgenomics.org>) http://www.flashrom.org/pipermail/flashrom/2010-May/003129.html - GIGABYTE GA-MA785GMT-UD2H (reported by Dominick Layfield <dom.layfield@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-May/003061.html Mark the following chips as tested: - ST M25P10-A (reported by Joshua Blanton <jblanton@rldrake.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003451.html - ST M50FLW080A (reported by Vincent Pelletier <plr.vincent@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003410.html Marked PROBE and READ as tested. - SST SST39SF020A (reported by Andrew Morgan <ziltro@ziltro.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003409.html - AMD Am29F010A/B (reported by Andrew Morgan <ziltro@ziltro.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003335.html - SST SST39VF010 (reported by Tim Small <tim@buttersideup.com>) http://www.flashrom.org/pipermail/flashrom/2010-May/003310.html Corresponding to flashrom svn r1129. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add support for SIS661 (SIS963)David Borg2010-07-311-0/+1
| | | | | | | | | Tested on Asus P4S800-MX. Corresponding to flashrom svn r1128. Signed-off-by: David Borg <borg.db@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Mark the following boards as supportedDaniel Lenski2010-07-301-0/+2
| | | | | | | | | | | - Elitegroup RS485M-M - Biostar TA780G M2+ Corresponding to flashrom svn r1127. Signed-off-by: Daniel Lenski <dlenski@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Mark the following chips/boards/PCI-cards as OKUwe Hermann2010-07-293-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chips: - Winbond W25x80 (reported by Michael Cole <michaelcole@michaelcole.com>) http://www.flashrom.org/pipermail/flashrom/2010-July/004176.html - Winbond W25Q80 (reported by Jonathan A. Kollasch <jakllsch@kollasch.net>) http://www.flashrom.org/pipermail/flashrom/2010-July/003847.html - SST SST25VF080B (reported by Mattias Mattsson <vitplister@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-July/003807.html Also reported by Daniel Flinkmann <dflinkmann@gmx.de>) http://www.flashrom.org/pipermail/flashrom/2010-June/003659.html - Winbond W25x16 (reported by Michael Dunphy <mdunphy@uwaterloo.ca>) http://www.flashrom.org/pipermail/flashrom/2010-June/003631.html - Atmel AT25DF321 (reported by Ramakrishna Kvv <Ramakrishna.Koduri@emerson.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003529.html - Winbond W25x40 (reported by Prakash J Kokkatt <pjkonweb@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003502.html - Winbond W49V002A (reported by David <dung@aon.at>) http://www.flashrom.org/pipermail/flashrom/2010-June/003375.html - Macronix MX25L8005 (reported by Peter Lemenkov <lemenkov@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003373.html Also reported by Alec Wright <alecjw@member.fsf.org>. http://www.flashrom.org/pipermail/flashrom/2010-July/004186.html http://www.flashrom.org/pipermail/flashrom/2010-July/004159.html Also reported by Jörg Fischer <turboj@gmx.de>. http://www.flashrom.org/pipermail/flashrom/2010-July/004080.html Also reported by Kevin Malec <kevin.010@gmail.com>. http://www.flashrom.org/pipermail/flashrom/2010-June/003698.html Heck, also reported by myself (tested on hardware, never sent mail). - SST SST49LF002A/B (reported by Udu Ogah <putlinuxonit@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-July/004184.html - SST SST49LF160C (reported by Ed Swierk <eswierk@aristanetworks.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003634.html Mark the following boards as supported: - ASUS M3A76-CM (reported by Kevin Malec <kevin.010@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003698.html Mark the following PCI cards as supported: - "Silicon Image SiI 3124 PCI-X SATA Ctrl" (1095:3124) Reported by Max Kalashnikov <mmt@maxkalashnikov.com> http://www.flashrom.org/pipermail/flashrom/2010-July/004007.html Corresponding to flashrom svn r1126. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Mark GIGABYTE GA-MA74GM-S2H (rev 3.0) as supportedPeter Lemenkov2010-07-291-0/+1
| | | | | | | Corresponding to flashrom svn r1125. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add definitions for the following chipsMattias Mattsson2010-07-292-30/+327
| | | | | | | | | | | | | | | | | | | | Mosel Vitelic Corporation: V29C51000B, V29C51000T, V29C51400B, V29C51400T, V29LC51000, V29LC51001, V29LC51002 SyncMOS / Mosel Vitelic Corporation: {F,S,V}29C51001B, {F,S,V}29C51001T, {F,S,V}29C51002B, {F,S,V}29C51002T, {F,S,V}29C51004B, {F,S,V}29C51004T, {V,S}29C31004B, {V,S}29C31004T Modify earlier definitions of S29C31004T/S29C51001T/S29C51002T/S29C51004T to change name and correct page size. Corresponding to flashrom svn r1124. Signed-off-by: Mattias Mattsson <vitplister@gmail.com> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* ft2232_spi: Cosmetic fixesUwe Hermann2010-07-291-38/+34
| | | | | | | | | | Various whitespace- and cosmetic fixes. Also, Use %04x:%04x for printing the USB IDs (which are 4 hex digits long), not %02x:%02x. Corresponding to flashrom svn r1123. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Mark the following boards as tested OKUwe Hermann2010-07-291-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - ASUS M4A79T Deluxe (reported by Michael Cole <michaelcole@michaelcole.com>) http://www.flashrom.org/pipermail/flashrom/2010-July/004176.html - Tyan S2915 (Thunder n6650W) (reported by Axel Bergerhoff <axelbergerhoff@compuserve.com>) http://www.flashrom.org/pipermail/flashrom/2010-July/004140.html - ASRock ALiveNF6G-DVI (reported by Sven Lankes <sven@lank.es>) http://www.flashrom.org/pipermail/flashrom/2010-July/003951.html - ASUS M4A87TD/USB3 (reported by Jonathan A. Kollasch <jakllsch@kollasch.net>) http://www.flashrom.org/pipermail/flashrom/2010-July/003847.html - Fujitsu-Siemens ESPRIMO P5915 (reported by Mattias Mattsson <vitplister@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-July/003807.html - ASUS P6T SE (reported by Michael Dunphy <mdunphy@uwaterloo.ca>) http://www.flashrom.org/pipermail/flashrom/2010-June/003631.html Also reported by Sinisa Dukanovic <sinisa@dukanovic.com>. http://www.flashrom.org/pipermail/flashrom/2010-January/001799.html - Emerson ATCA-7360 (reported by Ramakrishna Kvv <Ramakrishna.Koduri@emerson.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003529.html - ASUS P5GC-MX/1333 (reported by Prakash J Kokkatt <pjkonweb@gmail.com>) http://www.flashrom.org/pipermail/flashrom/2010-June/003502.html - Elitegroup P6IWP-Fe (reported by Anders Jenbo <anders@jenbo.dk>) http://www.flashrom.org/pipermail/flashrom/2010-June/003419.html - Biostar M7NCD Pro (reported by David <dung@aon.at>) http://www.flashrom.org/pipermail/flashrom/2010-June/003375.html Mark the "HP Compaq nx9005" laptop as non-supported for now. Reported by Anders <mail@jagtogfiskerimagasinet.dk>. http://www.flashrom.org/pipermail/flashrom/2010-May/003321.html Fix "Samsung Polaris 32" URL entry from "" to NULL, otherwise the wiki output is broken. Also do some minor whitespace fixing in print.c. Corresponding to flashrom svn r1122. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Fix bug introduced in AAI code rewrite (r1052)Carl-Daniel Hailfinger2010-07-291-5/+5
| | | | | | | | | | | | The AAI code rewrite in r1052 introduced a bug: The writelen of AAI continuation is 3 bytes, but the code incorrectly had 6 bytes there. This causes all AAI writes (except the first two bytes of a chip) to fail. Thanks to den_m for reporting the bug and for testing the fix. Corresponding to flashrom svn r1121. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Speed up Bus Pirate by exploiting the FTDI FIFOCarl-Daniel Hailfinger2010-07-291-20/+22
| | | | | | | | | | | | | | | | | If we violate the raw SPI communication protocol requirements of the Bus Pirate (namely, waiting for the completion of one command before sending the next one), we can reduce the number of round trips by a factor of 3. The FT2232 chip present in the Bus Pirate has a big enough buffer (at least 128 bytes IIRC) to avoid overflows in the tiny buffer of the Bus Pirate PIC. Thanks to Daniel Flinkmann for sponsoring development of this patch. Corresponding to flashrom svn r1120. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Tested-by: Daniel Flinkmann <DFlinkmann@gmx.de> Acked-by: Daniel Flinkmann <dflinkmann@gmx.de>
* Add support for the Amontec JTAGkey2Jörg Fischer2010-07-294-23/+106
| | | | | | | | | | | | | | | | | | | | | | Add support for the Amontec JTAGkey2, see http://www.amontec.com/jtagkey2.shtml http://www.amontec.com/jtagkey.shtml. This FTDI 2232H variant has an additional output enable, which will be set to its "on" (L) when CS is pulled low. But it lacks a power supply and you need an external 3.3V source. The attached patch adds "jtagkey" as "type" parameter for ft2232_spi. It should work with all JTAGkeys (JTAGkey, JTAGkey-tiny and JTAGkey2) but I only have a JTAGkey2 here for testing. Add all FT2232H/FT4232H based programmers to the list printed with flashrom -L Corresponding to flashrom svn r1119. Signed-off-by: Jörg Fischer <turboj@gmx.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add support for various AMIC A25L* chipsDan Lenski2010-07-292-0/+252
| | | | | | | | | | Add support for AMIC A25L512, A25L010, A25L020, A25L040, A25L080, A25L016, A25L032 AMIC A25LQ032 (quad-rate read). Corresponding to flashrom svn r1118. Signed-off-by: Dan Lenski <dlenski@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Compile gfxnvidia by default, but disallow write/eraseCarl-Daniel Hailfinger2010-07-292-2/+5
| | | | | | | Corresponding to flashrom svn r1117. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Allow compilation on architectures without direct hardware access primitivesCarl-Daniel Hailfinger2010-07-291-0/+2
| | | | | | | | | | | Allow compilation on all architectures even if direct hardware access primitives are missing, if all you need is userspace access to the serial port (serprog, buspirate) or no access at all (dummy). Corresponding to flashrom svn r1116. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add detailed status register printing and unlocking for all ATMEL AT25* chipsCarl-Daniel Hailfinger2010-07-297-29/+442
| | | | | | | | | | | | | | Add support for Atmel AT25DF081A and AT25DQ161. Some chips require EWSR before WRSR, others require WREN before WRSR, and some support both variants. Add feature_bits to select the correct SPI command, and default to EWSR. Corresponding to flashrom svn r1115. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Tested-by: Steven Rosario Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* CosmeticsCarl-Daniel Hailfinger2010-07-281-480/+480
| | | | | | | | | | Fix alphabetic sort order for manufacturers in flashchips.c. Rename a few EON chips to Eon. Corresponding to flashrom svn r1114. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add Nvidia nForce MCP61/MCP65/MCP67/MCP78S/MCP73/MCP79 SPI flashing supportCarl-Daniel Hailfinger2010-07-285-147/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Huge thanks go to Michael Karcher for reverse engineering the interface and to Johannes Sjölund for testing the first iterations of my patch on his hardware until it worked. Thanks to the following testers of the patch: * MCP61, 10de:03e0, LPC OK, ECS Geforce6100SM-M, Andrew Cleveland * MCP61, 10de:03e0, LPC OK, Biostar NF520-A2 NF61D-A2, Vitaliy Buchynskyy * MCP65, 10de:0441, SPI OK, MSI MS-7369 K9N Neo-F v2, Kjell Braden * MCP65, 10de:0441, SPI OK, MSI MS-7369, Wolfgang Schnitker * MCP65, 10de:0441, SPI OK, MSI MS-7369, Johannes Sjölund * MCP65, 10de:0441, SPI OK, MSI MS-7369, Melchior Franz * MCP78S, 10de:075c, SPI OK, Asus M3N78 PRO, Brad Rogers * MCP78S, 10de:075c, SPI OK, Asus M3N78-VM, Marcel Partap * MCP78S, 10de:075c, SPI OK, Asus M4N78 PRO, Kimmo Vuorinen * MCP78S, 10de:075c, SPI OK, Asus M4N78 PRO, Vikram Ambrose * MCP79, 10de:0aad, SPI OK, Acer Aspire R3600, Andrew Morgan * MCP79, 10de:0aae, LPC ??, Lenovo Ideapad S12 laptop, Christian Schmitt * MCP79, 10de:0aae, SPI OK, Apple iMac9,1 Mac-F2218EA9, David "dledson" flashrom will refuse to write/erase for safety reasons if MCP6x/MCP7x SPI is detected. Corresponding to flashrom svn r1113. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Split off programmer.h from flash.hCarl-Daniel Hailfinger2010-07-2735-527/+593
| | | | | | | | | | | | | | | | | | | | | Programmer specific functions are of absolutely no interest to any file except those dealing with programmer specific actions (special SPI commands and the generic core). The new header structure is as follows (and yes, improvements are possible): flashchips.h flash chip IDs chipdrivers.h chip-specific read/write/... functions flash.h common header for all stuff that doesn't fit elsewhere hwaccess.h hardware access functions programmer.h programmer specific functions coreboot_tables.h header from coreboot, internal programmer only spi.h SPI command definitions Corresponding to flashrom svn r1112. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Convert MMIO accesses of non-internal PCI-based programmers to be ↵Carl-Daniel Hailfinger2010-07-275-16/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | endian-agnostic Convert all PCI-based external programmers to use special little-endian accessors for all MMIO regions of PCI devices. This patch does _not_ touch the internal programmer (which is PCI-based as well). Huge thanks go to Misha Manulis who worked with me to create a first version of this patch for the satasii programmer based on modification of generic code. Huge thanks also go to Segher Boessenkool for suggesting the pci_mmio_ prefix for the abstraction layer. NOTE to package maintainers: With this patch, compilation and usage of flashrom should be safe on x86, x86_64, MIPS (little and big endian) and PowerPC (big endian). The internal programmer is disabled on non-x86/x86_64 (but it compiles). The atahpt, nic3com, nicnatsemi, nicrealtek and rayer_spi can not be compiled on non-x86/x86_64 because port space I/O is not (yet) supported. Please compile with default settings on x86/x86_64 and with the following settings on all other architectures: make CONFIG_NIC3COM=no CONFIG_NICREALTEK=no CONFIG_NICNATSEMI=no CONFIG_RAYER_SPI=no Corresponding to flashrom svn r1111. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Misha Manulis <misha@manulis.com>
* Add a udev rules file for flashromUwe Hermann2010-07-271-0/+55
| | | | | | | | | | | | | | | | | | | | | | | 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: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Board enable for abit NF-M2 nViewMichael Karcher2010-07-242-0/+10
| | | | | | | | | | | | | | | | To be safe, the onboard video of the nView edition of this board has been included in the match. If other NF-M2 editions have the same board enable, the match should be broadened lspci/superiotool http://www.coreboot.org/pipermail/flashrom/2010-April/002909.html No success report, thus committed as untested. Corresponding to flashrom svn r1109. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Detect IP35 by the SMBus bridge instead of the SATA controllerMichael Karcher2010-07-241-1/+1
| | | | | | | | | | | | | | | | | The SATA controller matched in the board enable is not always present with that ID (that's the 2-port ICH9 SATA IDE controller), but (depending on board revision/edition or BIOS settings an ICH9 SATA RAID controller appears instead. This patches matches on the SMBus function in the south bridge instead of the SATA controller. Non-working board reported by: Gunter Keilholz <gunter.keilholz@googlemail.com> lspci/superiotool: http://www.coreboot.org/pipermail/flashrom/2010-June/003591.html Corresponding to flashrom svn r1108. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Board enable for Samsung Polaris 32Michael Karcher2010-07-242-0/+3
| | | | | | | | | | | lspci/superiotool: http://www.coreboot.org/pipermail/flashrom/2010-July/003889.html Corresponding to flashrom svn r1107. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Tested-by: Alex Loktionoff <oxy-loktionoff@mail.ru> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Board enable for GA-8IRMLMichael Karcher2010-07-242-0/+10
| | | | | | | | | | | | Non-working board reported by idlogin / Putlinuxonit <putlinuxonit@gmail.com> lspci/superiotool: http://www.coreboot.org/pipermail/flashrom/2010-May/003330.html No success report, so committed as untested. Corresponding to flashrom svn r1106. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
OpenPOWER on IntegriCloud