Hello all,
I have just tried to flash my BIOS using the flashrom, and I have ran into the following situation:
lucifer@lucifer-desktop:~/Letöltések/flashrom-0.9.4$ sudo ./flashrom -w /tmp/sp35111/3.10 flashrom v0.9.4-r1395 on Linux 2.6.35-28-generic (i686), built with libpci 3.1.7, GCC 4.4.5, little endian flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Found chipset "NVIDIA MCP51". This chipset is marked as untested. If you are using an up-to-date version of flashrom please email a report to flashrom@flashrom.org including a verbose (-V) log. Thank you! Enabling flash write... OK. This chipset supports the following protocols: Non-SPI. Found PMC flash chip "Pm49FL004" (512 kB, LPC, FWH) at physical address 0xfff80000. Flash image seems to be a legacy BIOS. Disabling coreboot-related checks. Reading old flash chip contents... done. Erasing and writing flash chip... ERASE FAILED at 0x00000000! Expected=0xff, Read=0x23, failed byte count from 0x00000000-0x00000fff: 0xfec ERASE FAILED! Reading current flash chip contents... done. ERASE FAILED at 0x00000000! Expected=0xff, Read=0x23, failed byte count from 0x00000000-0x0000ffff: 0xfef9 ERASE FAILED! Reading current flash chip contents... done. ERASE FAILED at 0x00000000! Expected=0xff, Read=0x23, failed byte count from 0x00000000-0x0007ffff: 0x6494b ERASE FAILED! FAILED! Uh oh. Erase/write failed. Checking if anything changed. Good. It seems nothing was changed. Writing to the flash chip apparently didn't do anything. This means we have to add special support for your board, programmer or flash chip. Please report this on IRC at irc.freenode.net (channel #flashrom) or mail flashrom@flashrom.org! ------------------------------------------------------------------------------- You may now reboot or simply leave the machine running.
Flashrom info: lucifer@lucifer-desktop:~/Letöltések/flashrom-0.9.4$ sudo ./flashrom flashrom v0.9.4-r1395 on Linux 2.6.35-28-generic (i686), built with libpci 3.1.7, GCC 4.4.5, little endian flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Found chipset "NVIDIA MCP51". This chipset is marked as untested. If you are using an up-to-date version of flashrom please email a report to flashrom@flashrom.org including a verbose (-V) log. Thank you! Enabling flash write... OK. This chipset supports the following protocols: Non-SPI. Found PMC flash chip "Pm49FL004" (512 kB, LPC, FWH) at physical address 0xfff80000. No operations were specified.
I have tried the latest revision (1402) but it did not works too. Let me know if I should provide any additional information.
Regards, Miklós Márton
hello márton,
please send us the the output of 'flashrom -V', 'lspci -nnvvvxxx', 'superiotool -deV' (run all commands as root).
we need to add a board enable for your board (http://flashrom.org/Board_Enable). this can take a while.
info for others:
specs (mentioning a asus a8000 superio): http://h10025.www1.hp.com/ewfrf/wc/document?lc=de&dlc=de&cc=de&d...
bios update: ftp://ftp.hp.com/pub/softlib/software9/COL21400/pv-56162-1/sp35111.exe
On 08/04/2011 07:45 AM, Stefan Tauner wrote:
hello márton,
please send us the the output of 'flashrom -V', 'lspci -nnvvvxxx', 'superiotool -deV' (run all commands as root).
we need to add a board enable for your board (http://flashrom.org/Board_Enable). this can take a while.
info for others:
specs (mentioning a asus a8000 superio): http://h10025.www1.hp.com/ewfrf/wc/document?lc=de&dlc=de&cc=de&d...
bios update: ftp://ftp.hp.com/pub/softlib/software9/COL21400/pv-56162-1/sp35111.exe
Hello,
The board enable is to raise the nvidia mcp gpio 0. Also, this patch is (probably) needed: http://patchwork.coreboot.org/patch/2125/
Thanks,
Josh
hi again
can you please try the attached patch to write to your board (please do a backup with ./flashrom -r backup.bin first)? if it does not work please also apply http://patchwork.coreboot.org/patch/2125/raw/ and try again.
if you have any questions regarding the patching (or building) process please ask. you can also reach us on freenode's IRC in #flashrom.
PS: i have attached the log files márton has sent me for further reference too.
Hello,
I did not found how should I apply the pacth to a freshly checkouted svn trunk, so I have applied it manually in gedit, and the BIOS writing done successfully. Thank you very much for the support and help! You have done a great job with the flashrom!
Regards, Miklós
2011-08-05 15:05 keltezéssel, Stefan Tauner írta:
hi again
can you please try the attached patch to write to your board (please do a backup with ./flashrom -r backup.bin first)? if it does not work please also apply http://patchwork.coreboot.org/patch/2125/raw/ and try again.
if you have any questions regarding the patching (or building) process please ask. you can also reach us on freenode's IRC in #flashrom.
PS: i have attached the log files márton has sent me for further reference too.
On Fri, 05 Aug 2011 18:00:22 +0200 Márton Miklós martonmiklosqdev@gmail.com wrote:
Hello,
I did not found how should I apply the pacth to a freshly checkouted svn trunk, so I have applied it manually in gedit, and the BIOS writing done successfully. Thank you very much for the support and help! You have done a great job with the flashrom!
Hi Miklós
the usual way to apply patches is with the "patch" program: cd srcdir patch < patchfile.patch (the most often used parameter for patch is -p, see man page if you ever need it again please)
thanks for testing, i have committed the board enable in r1408.