Hello,
I received the following while trying to use flashrom to install an updated bios. I'm running Ubuntu 10.04. I have an ASUS M2NBP-VM CSM motherboard.
desktop2@Desktop2:~/Downloads$ sudo flashrom -w 1101.BIN flashrom v0.9.1-r946 No coreboot table found. Found ITE Super I/O, id 8716 Found chipset "NVIDIA MCP51", enabling flash write... OK. This chipset supports the following protocols: Non-SPI. Disabling flash write protection for board "ASUS M2NBP-VM CSM"... OK. Calibrating delay loop... OK. Found chip "SST SST49LF040B" (512 KB, LPC) at physical address 0xfff80000. === This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE Please email a report to flashrom@flashrom.org if any of the above operations work correctly for you with this flash part. Please include the flashrom output with the additional -V option for all operations you tested (-V, -rV, -wV, -EV), and mention which mainboard or programmer you tested. Thanks for your help! === Flash image seems to be a legacy BIOS. Disabling checks. Writing flash chip... Erasing flash chip... ERASE FAILED at 0x00000000! Expected=0xff, Read=0x21, failed byte count from 0x00000000-0x00000fff: 0xfef ERASE FAILED! ERASE FAILED at 0x00000000! Expected=0xff, Read=0x21, failed byte count from 0x00000000-0x0000ffff: 0xff16 ERASE FAILED! FAILED! ERASE FAILED! FAILED! Your flash chip is in an unknown state. Get help on IRC at irc.freenode.net (channel #flashrom) or mail flashrom@flashrom.org! ------------------------------------------------------------------------------- DO NOT REBOOT OR POWEROFF!
What should I do now?
Thanks! ~Dan
On Sun, 22 Apr 2012 13:59:00 -0600 Dan Kern Photo dankernphoto@gmail.com wrote:
Hello,
I received the following while trying to use flashrom to install an updated bios. I'm running Ubuntu 10.04. I have an ASUS M2NBP-VM CSM motherboard.
desktop2@Desktop2:~/Downloads$ sudo flashrom -w 1101.BIN flashrom v0.9.1-r946
[…]
What should I do now?
hello dan!
the most important thing is to not panic. dont reboot or shut down until you are sure everything is ok.
if you have a backup of the original contents of the chip (made with flashrom -r …), you can verify that nothing has changed (which is quite probable) with flashrom -v <backup.file>.
you are using a very old version of flashrom, so please get a newer version either by downloading the source and compiling it manually (see http://flashrom.org/Downloads) or by installing a package from https://launchpad.net/~flashrom-developers/+archive/flashrom-daily. your board should work out of the box with the current version.
if you still have problems it would be best if you would visit us on IRC so that we can interact faster with each other. there is a webchat available here: http://webchat.freenode.net/ we lurk in the chat room #flashrom.
Hi Stefan! Thanks for the fast reply! And the comforting words (although panic is for noobs, yes?) :-)
I updated flashrom as you suggested and ran it again. Thanks for that. I think it worked fine. Here's the output:
desktop2@Desktop2:~/Downloads$ sudo flashrom -w 1101.BIN flashrom v0.9.5.2-runknown on Linux 2.6.32-40-generic-pae (i686), 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. Found chipset "NVIDIA MCP51". Enabling flash write... OK. Disabling flash write protection for board "ASUS M2NBP-VM CSM"... OK. Found SST flash chip "SST49LF040B" (512 kB, LPC) 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/write done. Verifying flash... VERIFIED. desktop2@Desktop2:~/Downloads$
What say you, doctor? Thanks again.
~Dan
On Sun, 2012-04-22 at 23:03 +0200, Stefan Tauner wrote:
On Sun, 22 Apr 2012 13:59:00 -0600 Dan Kern Photo dankernphoto@gmail.com wrote:
Hello,
I received the following while trying to use flashrom to install an updated bios. I'm running Ubuntu 10.04. I have an ASUS M2NBP-VM CSM motherboard.
desktop2@Desktop2:~/Downloads$ sudo flashrom -w 1101.BIN flashrom v0.9.1-r946
[…]
What should I do now?
hello dan!
the most important thing is to not panic. dont reboot or shut down until you are sure everything is ok.
if you have a backup of the original contents of the chip (made with flashrom -r …), you can verify that nothing has changed (which is quite probable) with flashrom -v <backup.file>.
you are using a very old version of flashrom, so please get a newer version either by downloading the source and compiling it manually (see http://flashrom.org/Downloads) or by installing a package from https://launchpad.net/~flashrom-developers/+archive/flashrom-daily. your board should work out of the box with the current version.
if you still have problems it would be best if you would visit us on IRC so that we can interact faster with each other. there is a webchat available here: http://webchat.freenode.net/ we lurk in the chat room #flashrom.
On Sun, 22 Apr 2012 15:16:24 -0600 Dan Kern Photo dankernphoto@gmail.com wrote:
Hi Stefan! Thanks for the fast reply! And the comforting words (although panic is for noobs, yes?) :-)
well we regularly receive similar emails, followed later by some regretful confessions that they have rebooted nevertheless. so we really try to make that point clear. :)
I updated flashrom as you suggested and ran it again. Thanks for that. I think it worked fine. Here's the output:
desktop2@Desktop2:~/Downloads$ sudo flashrom -w 1101.BIN flashrom v0.9.5.2-runknown on Linux 2.6.32-40-generic-pae (i686), 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. Found chipset "NVIDIA MCP51". Enabling flash write... OK. Disabling flash write protection for board "ASUS M2NBP-VM CSM"... OK. Found SST flash chip "SST49LF040B" (512 kB, LPC) 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/write done. Verifying flash... VERIFIED. desktop2@Desktop2:~/Downloads$
What say you, doctor? Thanks again.
seems like everything is fine now. if flashrom says verified at the end it has read the contents of the flash after writing it and found it to be equal to the file supplied. so if 1101.BIN contained a valid firmware for that board, everything is fine and you can reboot whenever you want to.
Reboot successful. All is good, Stefan. Many thanks, ~Dan
On Sun, 2012-04-22 at 23:50 +0200, Stefan Tauner wrote:
On Sun, 22 Apr 2012 15:16:24 -0600 Dan Kern Photo dankernphoto@gmail.com wrote:
Hi Stefan! Thanks for the fast reply! And the comforting words (although panic is for noobs, yes?) :-)
well we regularly receive similar emails, followed later by some regretful confessions that they have rebooted nevertheless. so we really try to make that point clear. :)
I updated flashrom as you suggested and ran it again. Thanks for that. I think it worked fine. Here's the output:
desktop2@Desktop2:~/Downloads$ sudo flashrom -w 1101.BIN flashrom v0.9.5.2-runknown on Linux 2.6.32-40-generic-pae (i686), 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. Found chipset "NVIDIA MCP51". Enabling flash write... OK. Disabling flash write protection for board "ASUS M2NBP-VM CSM"... OK. Found SST flash chip "SST49LF040B" (512 kB, LPC) 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/write done. Verifying flash... VERIFIED. desktop2@Desktop2:~/Downloads$
What say you, doctor? Thanks again.
seems like everything is fine now. if flashrom says verified at the end it has read the contents of the flash after writing it and found it to be equal to the file supplied. so if 1101.BIN contained a valid firmware for that board, everything is fine and you can reboot whenever you want to.