- 13 May, 2009 4 commits
-
-
Carl-Daniel Hailfinger authored
Downgrade the chips from 256-byte writes to 1-byte writes. This fixes writing to them on ICH/VIA SPI masters. Corresponding to flashrom svn r504. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
FENG Yu Ning <fengyuning1984@gmail.com>
-
Mateusz Murawski authored
Thanks to Mateusz for testing and reporting! Corresponding to flashrom svn r503. Signed-off-by:
Mateusz Murawski <matowy@tlen.pl> Acked-by:
Peter Stuge <peter@stuge.se>
-
Mateusz Murawski authored
Tested with 3COM 3C905C: EtherLink 10/100 PCI (TX) http://www.coreboot.org/pipermail/coreboot/2009-May/048163.html Corresponding to flashrom svn r502. Signed-off-by:
Mateusz Murawski <matowy@tlen.pl> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
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:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Mateusz Murawski <matowy@tlen.pl> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 12 May, 2009 1 commit
-
-
Uwe Hermann authored
The write_39sf020() and write_49f002() functions are identical except for whitespace differences, so drop one of them. Corresponding to flashrom svn r497. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 09 May, 2009 1 commit
-
-
Carl-Daniel Hailfinger authored
Change the flashchips entry for SST SST25VF080B to 1-byte writing. Tested-by: Ali Nadalizadeh. Corresponding to flashrom svn r486. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 08 May, 2009 1 commit
-
-
Carl-Daniel Hailfinger authored
Flashrom assumes that the flash chip contents are available via mmap if no read function is defined. This special case is handled in lots of places all over the code. Remove the special case and use the read_memmapped function. Not only does this allow us to fix a read bug in flashrom I recently uncovered on ICH SPI, it also allows us to add support for Paraflasher to flashrom. Corresponding to flashrom svn r473. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 05 May, 2009 1 commit
-
-
Peter Stuge authored
As reported by A. Spamlover. Thanks! Corresponding to flashrom svn r461. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 04 May, 2009 1 commit
-
-
Peter Stuge authored
Per report from from Henning Fleddermann. Thanks! Corresponding to flashrom svn r458. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 29 Apr, 2009 1 commit
-
-
Peter Stuge authored
Per report from Aldrik Dunbar. Thanks! Corresponding to flashrom svn r446. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 23 Apr, 2009 1 commit
-
-
Stephan Guilloux authored
Corresponding to flashrom svn r441 and coreboot v2 svn r4200. Signed-off-by:
Stephan Guilloux <stephan.guilloux@free.fr> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 22 Apr, 2009 1 commit
-
-
Carl-Daniel Hailfinger authored
That is incorrect. A bit of confusion comes from how the #defines are named. We call them TEST_BAD_*, but the message printed by flashrom says: "This flash part has status NOT WORKING for operations:" Something that is unimplemented is definitely not working. Neither of the chip entries mentioned above has erase or write functions implemented, so erase and write are not working. Since their size is unknown, we can't read them in. That means read is not working as well. Probing is a different matter. If a chip-specific probe function had matched, we wouldn't have to handle the chip with the "unknown xy SPI chip" fallback. I'm tempted to call that "not working" as well, but I'm open to discussion on this point. Corresponding to flashrom svn r439 and coreboot v2 svn r4177. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 21 Apr, 2009 2 commits
-
-
Stephan Guilloux authored
Corresponding to flashrom svn r437 and coreboot v2 svn r4150. Signed-off-by:
Stephan Guilloux <stephan.guilloux@free.fr> Acked-by:
Peter Stuge <peter@stuge.se>
-
Stephan Guilloux authored
Corresponding to flashrom svn r436 and coreboot v2 svn r4149. Signed-off-by:
Stephan Guilloux <stephan.guilloux@free.fr> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 20 Apr, 2009 1 commit
-
-
Stephan Guilloux authored
Corresponding to flashrom svn r435 and coreboot v2 svn r4146. Signed-off-by:
Stephan Guilloux <stephan.guilloux@free.fr> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 19 Apr, 2009 2 commits
-
-
Stephan Guilloux authored
Corresponding to flashrom svn r432 and coreboot v2 svn r4139. Signed-off-by:
Stephan Guilloux <stephan.guilloux@free.fr> Acked-by:
Peter Stuge <peter@stuge.se>
-
Stephan Guilloux authored
Corresponding to flashrom svn r431 and coreboot v2 svn r4138. Signed-off-by:
Stephan Guilloux <stephan.guilloux@free.fr> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 19 Mar, 2009 1 commit
-
-
Carl-Daniel Hailfinger authored
Move the Atmel AT45 comments about block and page sizes from the end of the struct to the individual struct members to improve readability. Corresponding to flashrom svn r422 and coreboot v2 svn r4020. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 25 Feb, 2009 1 commit
-
-
Zheng Bao authored
Corresponding to flashrom svn r417 and coreboot v2 svn r3958. Signed-off-by:
Zheng Bao <zheng.bao@amd.com> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 22 Feb, 2009 1 commit
-
-
Peter Stuge authored
Report by Holger Mickler. Thanks! Corresponding to flashrom svn r416 and coreboot v2 svn r3956. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 26 Jan, 2009 3 commits
-
-
Peter Stuge authored
T/NT TEST_OK_ PROBE READ ERASE WRITE Test report from Julia. Thanks! Corresponding to flashrom svn r409 and coreboot v2 svn r3917. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Julia Longtin <juri@solarnetone.org>
-
Peter Stuge authored
Corresponding to flashrom svn r408 and coreboot v2 svn r3916. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
Peter Stuge authored
SST AAI is Auto Address Increment writing, a streamed write to the flash chip where the first write command sets a starting address and following commands simply append data. Unfortunately not supported by Winbond SPI masters. From July 2008. Corresponding to flashrom svn r407 and coreboot v2 svn r3913. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 25 Jan, 2009 1 commit
-
-
Peter Stuge authored
Corresponding to flashrom svn r391 and coreboot v2 svn r3896. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 24 Jan, 2009 2 commits
-
-
Peter Stuge authored
Report by Jody McIntyre. Thanks! Corresponding to flashrom svn r388 and coreboot v2 svn r3893. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
Peter Stuge authored
Report by Scaldov M.V. Thanks! Corresponding to flashrom svn r387 and coreboot v2 svn r3892. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 08 Jan, 2009 2 commits
-
-
Carl-Daniel Hailfinger authored
AT25DF021 AT25DF041A AT25DF081 AT25DF161 AT25DF321 AT25DF321A AT25DF641 AT25F512B AT25FS010 AT25FS040 AT26DF081A AT26DF161 AT26DF161A AT26DF321 AT26F004 Straight from the data sheets, untested because I lack the hardware. Corresponding to flashrom svn r376 and coreboot v2 svn r3853. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Peter Stuge <peter@stuge.se>
-
Stephan Guilloux authored
The explicit initialization makes sure any future struct flashchip reordering is not needed. (Except for the case where we need arrays of some of the struct members.) Corresponding to flashrom svn r374 and coreboot v2 svn r3851. Signed-off-by:
Stephan Guilloux <mailto:stephan.guilloux@free.fr> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 07 Jan, 2009 1 commit
-
-
Sven Schnelle authored
Corresponding to flashrom svn r373 and coreboot v2 svn r3850. Signed-off-by:
Sven Schnelle <svens@stackframe.org> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 10 Dec, 2008 1 commit
-
-
Carl-Daniel Hailfinger authored
MX29LV040C probe and read support tested by khetzal on IRC. Corresponding to flashrom svn r366 and coreboot v2 svn r3809. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 08 Dec, 2008 2 commits
-
-
Carl-Daniel Hailfinger authored
Corresponding to flashrom svn r365 and coreboot v2 svn r3806. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
FENG yu ning authored
Corresponding to flashrom svn r363 and coreboot v2 svn r3804. Signed-off-by:
FENG yu ning <fengyuning1984@gmail.com> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
- 28 Nov, 2008 1 commit
-
-
Jason Wang authored
This is the first chip which uses the infrastructure for alternative erase commands, namely spi_chip_erase_60_c7(). Corresponding to flashrom svn r350 and coreboot v2 svn r3776. Signed-off-by:
Jason Wang <Qingpei.Wang@amd.com> Reviewed-by:
Joe Bao <zheng.bao@amd.com> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 24 Nov, 2008 1 commit
-
-
Tero O Peippola authored
Tested on gigabyte m57sli. File util/flashrom/flash.h already had correct ID for that part. Corresponding to flashrom svn r347 and coreboot v2 svn r3769. Signed-off-by:
Tero O Peippola <xeropp@gmail.com> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 18 Nov, 2008 1 commit
-
-
Carl-Daniel Hailfinger authored
AT25DF021 AT25DF041A AT25DF081 AT25DF161 AT25DF321A AT25DF641 AT25F512B AT25FS010 AT25FS040 AT26DF041 AT26DF081A AT26DF161 AT26DF161A AT26DF321 AT26F004 I double-checked the data sheets and am confident this will work. Corresponding to flashrom svn r344 and coreboot v2 svn r3756. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
- 17 Nov, 2008 1 commit
-
-
Mart Raudsepp authored
Tested fully on a ThinCan DBE61A Corresponding to flashrom svn r343 and coreboot v2 svn r3755. Signed-off-by:
Mart Raudsepp <mart.raudsepp@artecdesign.ee> Acked-by:
Mart Raudsepp <mart.raudsepp@artecdesign.ee>
-
- 15 Nov, 2008 1 commit
-
-
Carl-Daniel Hailfinger authored
The AT45 series SPI chips are DataFlash EEPROMs which means they have odd (non-power-of-two) sector sizes, but some of the DataFlash chips can be configured or ordered with power-of-two sector sizes. Add probe support for the following Atmel SPI chips: AT25DF021 AT25DF041A AT25DF081 AT25DF161 AT25DF321A AT25DF641 AT25F512B AT25FS010 AT25FS040 AT26DF041 AT26DF081A AT26DF161 AT26DF161A AT26DF321 AT26F004 AT45CS1282 AT45DB011D AT45DB021D AT45DB041D AT45DB081D AT45DB161D AT45DB321C AT45DB321D AT45DB642D Add an explanation why the following chips can't be probed: AT45BR3214B AT45D011 AT45D021A AT45D041A AT45D081A AT45D161 AT45DB011 AT45DB011B AT45DB021A AT45DB021B AT45DB041A AT45DB081A AT45DB161 AT45DB161B AT45DB321 AT45DB321B AT45DB642 Add the ID, but no probing function for this chip: AT25F512A Corresponding to flashrom svn r342 and coreboot v2 svn r3754. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Tested-by:
Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by:
Andriy Gapon <avg@icyb.net.ua> Acked-by:
Myles Watson <mylesgw@gmail.com>
-
- 08 Nov, 2008 1 commit
-
-
Peter Stuge authored
Per report from Mario Rogen. Thanks! Corresponding to flashrom svn r341 and coreboot v2 svn r3736. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 05 Nov, 2008 1 commit
-
-
Carl-Daniel Hailfinger authored
This has been confirmed by Stéphan Guilloux. Corresponding to flashrom svn r340 and coreboot v2 svn r3731. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 04 Nov, 2008 1 commit
-
-
Carl-Daniel Hailfinger authored
Replace age-old TODO comments with real explanations. Fixed chips: Fujitsu MBM29F400TC (ID definition) Macronix MX29F002T (chip name) New chips: Fujitsu MBM29F004BC Fujitsu MBM29F004TC Fujitsu MBM29F400BC Macronix MX25L512 Macronix MX25L1005 Macronix MX25L2005 Macronix MX25L6405 Macronix MX29F002B Straight from the data sheets, compile tested only. Corresponding to flashrom svn r339 and coreboot v2 svn r3730. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-