Re: [flashrom] [patch] EPoX EP-8NPA7I board enable

2010-10-16 Thread Uwe Hermann
On Sat, Oct 16, 2010 at 01:03:11AM +, Jonathan A. Kollasch wrote: EP-8NPA7I. OK, thanks. Attached, my superiotool is locally modified for dumping this one. What modifications were needed? Should they be merged into superiotool? # ./flashrom -V -w 8n7i6c25.bin flashrom v0.9.3-r1213

[flashrom] write on XFX 680i sli lt

2010-10-16 Thread hoshimaru
Hello, I successfully tested the write operation for SST SST49LF040B on an XFX 680i sli lt mainboard. flashrom output: flashrom v0.9.3-r1213 on Linux 2.6.35-ARCH (i686), built with libpci

[flashrom] [PATCH 5/5] ft2232_spi: flag OpenMoko DebugBoard as tested

2010-10-16 Thread Alex Badea
With the clock_5x and short read fixes, the board can successfully interact with an M25P16. Change status from NT to OK. Signed-off-by: Alex Badea vamposdecam...@gmail.com --- ft2232_spi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ft2232_spi.c b/ft2232_spi.c

[flashrom] [PATCH 3/5] ft2232_spi: allow CLOCK_X5 to be set at runtime

2010-10-16 Thread Alex Badea
Check at init-time whether the chip is a type 'H' (FT2232H or FT4232H). If not, omit the disable-divide-by-5 (0x8a) command which can confuse older chips. Signed-off-by: Alex Badea vamposdecam...@gmail.com --- ft2232_spi.c | 37 ++--- 1 files changed, 22

[flashrom] [PATCH 2/5] ft2232_spi: add support for the OpenMoko DebugBoard V2+

2010-10-16 Thread Alex Badea
Add support for the OpenMoko Neo1973/Neo FreeRunner debug board version 2 or 3 (vid:pid 1457:5118). The new type is called openmoko. Information about the debug board can be found at http://wiki.openmoko.org/wiki/Debug_Board_v3 Signed-off-by: Alex Badea vamposdecam...@gmail.com ---

[flashrom] [PATCH 4/5] ft2232_spi: retry short reads

2010-10-16 Thread Alex Badea
It's possible that ftdi_read_data() returns less data than requested. Catch this case and retry reading the rest of the buffer. Signed-off-by: Alex Badea vamposdecam...@gmail.com --- ft2232_spi.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git

[flashrom] [PATCH 1/5] ft2232_spi: don't hardcode USB VID

2010-10-16 Thread Alex Badea
ftdi_usb_open() is called with the constant FTDI_VID vendor ID. Fix it by using the programmer-type-dependent ft2232_vid variable, to allow programmers with other vendor IDs. Signed-off-by: Alex Badea vamposdecam...@gmail.com --- ft2232_spi.c |2 +- 1 files changed, 1 insertions(+), 1

[flashrom] [PATCH 0/5] ft2232_spi: OpenMoko DebugBoard support

2010-10-16 Thread Alex Badea
Hi, This patch series adds support for the OpenMoko DebugBoard V2+, which is based on the FT2232D. A few fixes were required to make it work. Any feedback is greatly appreciated, this is my first contribution to flashrom. Thanks. Alex Badea (5): ft2232_spi: don't hardcode USB VID

[flashrom] SPI modes for FT4232 chip

2010-10-16 Thread Stany MARCEL
Hello, I want to use the FT4232 or FT2232 (with libfti) as a SPI master. Thanks to you I have a good example of SPI code with libftdi and this device since you added it to your supported flasher. I still don't know how to change some behavior of this component : - Clock mode Mode 0: CPOL= 0

Re: [flashrom] [patch] EPoX EP-8NPA7I board enable

2010-10-16 Thread Jonathan A. Kollasch
On Sat, Oct 16, 2010 at 11:04:06AM +0200, Uwe Hermann wrote: On Sat, Oct 16, 2010 at 01:03:11AM +, Jonathan A. Kollasch wrote: Writing flash chip... writing sector at 0xfbf7e000 failed! FAILED! This looks like it actually didn't work. Did it work before? Maybe it's related to the

Re: [flashrom] [patch] EPoX EP-8NPA7I board enable

2010-10-16 Thread Jonathan A. Kollasch
On Sat, Oct 16, 2010 at 02:24:21PM +, Jonathan A. Kollasch wrote: On Sat, Oct 16, 2010 at 11:04:06AM +0200, Uwe Hermann wrote: On Sat, Oct 16, 2010 at 01:03:11AM +, Jonathan A. Kollasch wrote: Writing flash chip... writing sector at 0xfbf7e000 failed! FAILED! This looks like

[flashrom] [patch] make EPoX EP-8NPA7I board enable actually work

2010-10-16 Thread Jonathan A. Kollasch
The OEM BIOS on the EPoX EP-8PA7I clears byte 0x92 in the LPC bridge configuration space. Do the same for all CK804 chips, assuming this to be some sort of chipset-generic write-enable. Signed-off-by: Jonathan Kollasch jakll...@kollasch.net --- Index: chipset_enable.c

[flashrom] FOSDEM devroom request

2010-10-16 Thread Rudolf Marek
Hi all, I have written following to the devroom request. Thanks. Rudolf Hello, We would like to ask for common devroom for both collaborating projects - Coreboot and Flashrom. Coreboot is a Free Software project aimed at replacing the proprietary BIOS (firmware) you can find in most of

Re: [flashrom] [coreboot] FOSDEM devroom request

2010-10-16 Thread Rudolf Marek
Hello all, I also applied for main talk track. I think more people can do this. Thanks, Rudolf We would like to present a talk aimed to very close look to various stages of x86 hardware initialization. We start with hardware description of typical x86 system including flash storage. We

Re: [flashrom] [coreboot] FOSDEM devroom request

2010-10-16 Thread Carl-Daniel Hailfinger
Hi Rudolf, thank you very much for applying for a main track talk and a devroom. I hope we will get the chance to do both. On 16.10.2010 23:20, Rudolf Marek wrote: I have written following to the devroom request. [...] I also applied for main talk track. I will be there, and if we get the