Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-22 Thread Chris Lingard
Peter Stuge wrote: On Wed, Oct 17, 2007 at 08:47:41PM +0100, Chris Lingard wrote: I'll get in touch with the distributors here. Will get back when I know more. I have been trying to get my M57SLI Rev2.0 SPI running LinuxBios for a while, but could not get the chip Sorry, no news from me

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-22 Thread Harald Gutmann
Am Montag, 22. Oktober 2007 21:56:32 schrieb Chris Lingard: Peter Stuge wrote: On Wed, Oct 17, 2007 at 08:47:41PM +0100, Chris Lingard wrote: I'll get in touch with the distributors here. Will get back when I know more. I have been trying to get my M57SLI Rev2.0 SPI running LinuxBios

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-22 Thread Carl-Daniel Hailfinger
On 22.10.2007 22:31, Harald Gutmann wrote: Am Montag, 22. Oktober 2007 21:56:32 schrieb Chris Lingard: Also flashrom does not detect the BIOS chip, there is no code for this type. So how will flashrom be able to write to the BIOS? without a modification in the flashrom source code

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-22 Thread Chris Lingard
Harald Gutmann wrote: Am Montag, 22. Oktober 2007 21:56:32 schrieb Chris Lingard: without a modification in the flashrom source code it will not be possible to write to this chip. Is there an idiots guide to writing sst25lf040a.c, like modifying one of the other sst*.c files. I have a

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-19 Thread Carl-Daniel Hailfinger
On 18.10.2007 22:58, Carl-Daniel Hailfinger wrote: On 18.10.2007 17:13, Harald Gutmann wrote: Am Donnerstag, 18. Oktober 2007 17:05:30 schrieb Ward Vandewege: On Thu, Oct 18, 2007 at 04:59:36PM +0200, Harald Gutmann wrote: Am Donnerstag, 18. Oktober 2007 01:10:03

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-18 Thread Harald Gutmann
Am Donnerstag, 18. Oktober 2007 01:10:03 schrieb Peter Stuge: On Wed, Oct 17, 2007 at 08:47:41PM +0100, Chris Lingard wrote: I'll get in touch with the distributors here. Will get back when I know more. I have been trying to get my M57SLI Rev2.0 SPI running LinuxBios for a while, but

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-18 Thread Harald Gutmann
Am Donnerstag, 18. Oktober 2007 17:05:30 schrieb Ward Vandewege: On Thu, Oct 18, 2007 at 04:59:36PM +0200, Harald Gutmann wrote: Am Donnerstag, 18. Oktober 2007 01:10:03 schrieb Peter Stuge: On Wed, Oct 17, 2007 at 08:47:41PM +0100, Chris Lingard wrote: I'll get in touch with the

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-18 Thread Ward Vandewege
On Thu, Oct 18, 2007 at 04:59:36PM +0200, Harald Gutmann wrote: Am Donnerstag, 18. Oktober 2007 01:10:03 schrieb Peter Stuge: On Wed, Oct 17, 2007 at 08:47:41PM +0100, Chris Lingard wrote: I'll get in touch with the distributors here. Will get back when I know more. I have been

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-18 Thread Carl-Daniel Hailfinger
On 18.10.2007 17:13, Harald Gutmann wrote: Am Donnerstag, 18. Oktober 2007 17:05:30 schrieb Ward Vandewege: On Thu, Oct 18, 2007 at 04:59:36PM +0200, Harald Gutmann wrote: Am Donnerstag, 18. Oktober 2007 01:10:03 schrieb Peter Stuge: On Wed, Oct 17, 2007 at 08:47:41PM +0100,

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-17 Thread Peter Stuge
On Wed, Oct 17, 2007 at 08:47:41PM +0100, Chris Lingard wrote: I'll get in touch with the distributors here. Will get back when I know more. I have been trying to get my M57SLI Rev2.0 SPI running LinuxBios for a while, but could not get the chip Sorry, no news from me yet, I hardly have

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-15 Thread Peter Stuge
On Mon, Oct 15, 2007 at 02:57:00AM +0200, Stefan Reinauer wrote: i think some parts here could be done easyer with outb. This implementation of the MX25L4005 relies heavily on the chip being attached to an IT8716F SuperIO. I think we should create an abstraction layer (spi_command()?

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-15 Thread Harald Gutmann
Am Montag, 15. Oktober 2007 02:57:00 schrieb Stefan Reinauer: * Harald Gutmann [EMAIL PROTECTED] [071015 02:16]: +static void check_n_write_enable() { + uint8_t result[3] = {0, 0, 0}; + uint8_t command[5] = {0x06, 0, 0, 0, 0}; + // Send WREN (Write Enable) +

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-15 Thread Uwe Hermann
On Mon, Oct 15, 2007 at 02:57:00AM +0200, Stefan Reinauer wrote: * Harald Gutmann [EMAIL PROTECTED] [071015 02:16]: +static void check_n_write_enable() { + uint8_t result[3] = {0, 0, 0}; + uint8_t command[5] = {0x06, 0, 0, 0, 0}; + // Send WREN (Write Enable)

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-14 Thread Chris Lingard
Peter Stuge wrote: getting these chips is quite hard, here in europe, I have a couple of 8Mbit SST25VF080B sample chips that I can pass on. I can't sell them but if you pay for postage I'll send you one or two. They are in WSON package which is footprint compatible with SOIC but not

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-14 Thread Harald Gutmann
Am Sonntag, 14. Oktober 2007 03:45:10 schrieb Peter Stuge: I have a couple of 8Mbit SST25VF080B sample chips that I can pass on. I can't sell them but if you pay for postage I'll send you one or two. They are in WSON package which is footprint compatible with SOIC but not quite as easy to work

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-14 Thread Harald Gutmann
after a friend of mine (wolfgang illmeyer) implemented the code to write to the spi chip, i can finally give you the following output: % benchvice flashrom # ./flashrom -m gigabyte:m57sli -w

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-14 Thread Carl-Daniel Hailfinger
On 12.10.2007 20:40, Harald Gutmann wrote: i always read about SST25LF040A and MX25L4005A chips which are used for bios on that mainboard. my mainboard which is also revision 2.0 has a different bios chip, which a device from winbond called 25X40VSIG. here's the link to the datasheet of this

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-14 Thread Carl-Daniel Hailfinger
On 13.10.2007 15:59, Harald Gutmann wrote: just talking to myselv, but here are some more detailed informations including a backtrace of flashrom: i removed stripping and optimisation, but added the debug flag in makefile. benchvice flashrom # file flashrom flashrom: ELF 64-bit LSB

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-14 Thread Carl-Daniel Hailfinger
On 15.10.2007 00:41, Harald Gutmann wrote: after a friend of mine (wolfgang illmeyer) implemented the code to write to the spi chip, i can finally give you the following output: Great! % benchvice flashrom # ./flashrom

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-14 Thread Harald Gutmann
Am Montag, 15. Oktober 2007 01:06:00 schrieb Carl-Daniel Hailfinger: Great, thanks! The code I have also is not polished, so even if your code is ugly, it is better than no code. We can clean up that stuff together. yes, that's right! here it is. the patch is done with: [EMAIL PROTECTED]

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-14 Thread Carl-Daniel Hailfinger
On 15.10.2007 01:28, Harald Gutmann wrote: Am Montag, 15. Oktober 2007 01:06:00 schrieb Carl-Daniel Hailfinger: Great, thanks! The code I have also is not polished, so even if your code is ugly, it is better than no code. We can clean up that stuff together. yes, that's right!

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-14 Thread Harald Gutmann
Am Montag, 15. Oktober 2007 01:45:51 schrieb Carl-Daniel Hailfinger: Nice! it works, and that's the main thing! :) I'll review later this week, but from a first glance at the code it looks nice. some dirty hacks are in the code, but how i told it works. and now writing from a booted linuxbios!

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-14 Thread Stefan Reinauer
* Harald Gutmann [EMAIL PROTECTED] [071015 02:16]: +static void check_n_write_enable() { + uint8_t result[3] = {0, 0, 0}; + uint8_t command[5] = {0x06, 0, 0, 0, 0}; + // Send WREN (Write Enable) + it8716f_spi_command(it8716f_flashport, 1, 0, command, result); + uint8_t

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-13 Thread Harald Gutmann
just talking to myselv, but here are some more detailed informations including a backtrace of flashrom: i removed stripping and optimisation, but added the debug flag in makefile. benchvice flashrom # file flashrom flashrom: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-13 Thread Harald Gutmann
Am Samstag, 13. Oktober 2007 17:17:15 schrieb Peter Stuge: Excellent job! The soldering looks great - very impressive if this was the first time you soldered electronics. :) no, it wasn't the first time that i soldered, but i don't often solder. Also great to have confirmation that the

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-13 Thread Ward Vandewege
On Sat, Oct 13, 2007 at 05:39:51PM +0200, Harald Gutmann wrote: according to Uwe Hermann the write function in current svn version is a NULL function, and not implemented right now. Correct - Carl-Daniel did the SPI detection work, but we don't have read/write support yet. I have updated the

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-13 Thread Harald Gutmann
Am Samstag, 13. Oktober 2007 18:32:28 schrieb Ward Vandewege: I have updated the M57SLI build tutorial to indicate that the SOIC hardware hack has been confirmed. I really need to get the components so I can do it too on my board. thanks for adding it to the wiki, because i've no account right

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-13 Thread Peter Stuge
On Sat, Oct 13, 2007 at 07:30:29PM +0200, Harald Gutmann wrote: thanks for adding it to the wiki, because i've no account right now. I would've put my description on the wiki but haven't had time. If anyone wants to use my text or pictures please go ahead. getting these chips is quite hard,

[LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-12 Thread Harald Gutmann
hello! i'm new to the list and my first post will tell something about adding the second bios chip to that board. first of all some informations on my mainboard, because i haven't read this informations on the mailinglist until now. i always read about SST25LF040A and MX25L4005A chips which

Re: [LinuxBIOS] M57SLI Rev2.0 SPI - how to add the second bios chip (incl. pictures)

2007-10-12 Thread Harald Gutmann
trying to flash the new chip with flashrom fails right now, but i don't know why. here is the output from flashrom, when i try to flash the linuxbios.rom file: ./flashrom -V --mainboard gigabyte:m57sli -w /home/hg87/src/linuxbios/buildrom-devel/linuxbios.rom Calibrating delay loop... 291M loops