On Tue, Aug 31, 2010 at 04:54:53PM +0200, laza74@arcor.de wrote:
I tested my mainboard with an installed Ubuntu Lucid, attached are the result of my test and also the designated outputs! I'm not shure, that the installed flashrom works perfect cause of a lot 'failed' messages - but an test write and verify was positiv. Have fun with it.
Hi, thanks for the logs. You flashrom version is veery old though, could you please retry with the latest version from svn (it's easy to build from source)? If so, please post the logs of the new version here and let us know if it worked.
Please post the following logs:
- ./flashrom -V -w foo.bin
- lspci -nnvvvxxx (as root)
- superiotool -deV
Thanks, Uwe.
[forwarding answer to the mailing list]
Hai Uwe,
here the result of an fresh compiled flashrom from svn:
flashrom flashrom v0.9.2-r1152 on Linux 2.6.32-24-generic (x86_64), built with libpci 3.0.0, GCC 4.4.3, little endian flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. No coreboot table found. Found ITE Super I/O, id 8718 Found chipset "AMD SB700/SB710/SB750", enabling flash write... OK. This chipset supports the following protocols: LPC,FWH,SPI. Found chip "SST SST25VF080B" (1024 KB, SPI) at physical address 0xfff00000. No operations were specified.
I got a problem (as root!) to write into the file foo.bin! In ./ sudo says: "sudo: ./flashrom: command not found"
This looks strange, you should compile flashrom from source, then run the "./flashrom" command in that source directory, that should work (and seems to have worked later according to your attached logs).
With your command flashrom -V -w foo.bin the error "foo.bin: No such file or directory" appears - so i tried with touch foo.bin to create it and fill it then with the --write option --> no success: "Error: Image size doesn't match"
Sorry, I should have been more clear. What I meant to say is that you try to write the BIOS image for your board to the BIOS chip.
./flashrom -V -w yourbiosimage.bin
Where you have to replace "yourbiosimage.bin" with the filename of your BIOS image (which you can get via flashrom from your chip or download from the website of your mainboard manufacturer).
Please note that this will overwrite your current BIOS chip contents, so do _not_ try it if you're unsure about what you're flashing or if you have no way to recover in case something goes wrong!
But i appended the three designated outputs.
Thanks! We'll have a look soon, at least the follwing warnings/errors do seem to no longer occur, but others may comment on this in more detail.
Disabling flash write protection for board "GIGABYTE GA-MA78GM-S2H"... Serial flash segment 0xfffe0000-0xffffffff disabled Serial flash segment 0x000e0000-0x000fffff disabled Serial flash segment 0xffee0000-0xffefffff disabled Serial flash segment 0xfff80000-0xfffeffff disabled LPC write to serial flash disabled Serial flash pin 29 Serial flash port 0x0000 FAILED!
Also, this board is mis-detected as "GA-MA78GM-S2H" (should be "GA-MA790GP-UD4H"), I think we had some discussions about this in the past, but I don't remember the outcome.
For more questions don't hesitate to ask.
Have a nice weekend LAZA
Uwe.