2013/3/22 sergey serg99666@mail.ru:
Hello. I am using your program "Flasrom". I have problem with changing of AwardBios on Coreboot. I think problem arises because "Flashrom" don't support this motherboard.
It's obvious that you need a board enable [1] to lift the write/erase protection, or a spare chip - it's recommended to have a spare chip when replacing $vendorbios with coreboot. Can you read the AwardBios to a file, upload the file to http://paste.flashrom.org/ and reply with the resulting URL?
From the product picture [2] can be deduced that the flash chip is socketed.
ebay link to an empty, spare, SST49LF008A: http://www.ebay.nl/itm/SST-49LF008A-33-4C-NHE-Blank-/271165788511?pt=UK_WSJL...
[1] http://flashrom.org/Board_Enable [2] http://www.tri-m.com/products/aaeon/gene5315.html
But when I load in flash chip data, which were previously saved (AwardBios), "Flashrom" has success. This problem have decision? Below result of works "Flashrom".
For coreboot.
k2000@k2000-desktop:~$ sudo flashrom -p internal:boardmismatch=force -w /home/k2000/coreboot/build/coreboot.rom [sudo] password for k2000: flashrom v0.9.6.1-r1564 on Linux 2.6.32-38-generic (i586) flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Found chipset "AMD CS5536". Enabling flash write... Error while opening /dev/cpu/0/msr: No such file or directory Did you run 'modprobe msr'?
Did you run 'modprobe msr'?
FAILED! WARNING: unexpected second chipset match: "AMD CS5536" ignoring, please report lspci and board URL to flashrom@flashrom.org with 'CHIPSET: your board name' in the subject line.
Run 'lspci -nnvvvxxx' (as root) and attach the output.
Found SST flash chip "SST49LF008A" (1024 kB, FWH) at physical address 0xfff00000. Note: If the following flash access fails, try -p internal:mainboard=<vendor>:<mainboard>. Reading old flash chip contents... done. Erasing and writing flash chip... ERASE FAILED at 0x000ed000! Expected=0xff, Read=0x00, failed byte count from 0x000ed000-0x000edfff: 0xeb1 ERASE FAILED! Reading current flash chip contents... done. ERASE FAILED at 0x000ed000! Expected=0xff, Read=0x00, failed byte count from 0x000e0000-0x000effff: 0x2686 ERASE FAILED! FAILED! Uh oh. Erase/write failed. Checking if anything changed. Your flash chip is in an unknown state. Get help on IRC at chat.freenode.net (channel #flashrom) or mail flashrom@flashrom.org with the subject "FAILED: <your board name>"!
DO NOT REBOOT OR POWEROFF! k2000@k2000-desktop:~$ k2000@k2000-desktop:~$ sudo flashrom -p internal:boardmismatch=force -w /home/k2000/coreboot/build/coreboot.rom [sudo] password for k2000: flashrom v0.9.6.1-r1564 on Linux 2.6.32-38-generic (i586) flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Found chipset "AMD CS5536". Enabling flash write... Error while opening /dev/cpu/0/msr: No such file or directory Did you run 'modprobe msr'? FAILED! WARNING: unexpected second chipset match: "AMD CS5536" ignoring, please report lspci and board URL to flashrom@flashrom.org with 'CHIPSET: your board name' in the subject line. Found SST flash chip "SST49LF008A" (1024 kB, FWH) at physical address 0xfff00000. Note: If the following flash access fails, try -p internal:mainboard=<vendor>:<mainboard>. Reading old flash chip contents... done. Erasing and writing flash chip... ERASE FAILED at 0x000ed000! Expected=0xff, Read=0x00, failed byte count from 0x000ed000-0x000edfff: 0xeb1 ERASE FAILED! Reading current flash chip contents... done. ERASE FAILED at 0x000ed000! Expected=0xff, Read=0x00, failed byte count from 0x000e0000-0x000effff: 0x2686 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. k2000@k2000-desktop:~$
For AwardBios.
k2000@k2000-desktop:~$ sudo flashrom -p internal:boardmismath=force -w /home/k2000/m1 flashrom v0.9.6.1-r1564 on Linux 2.6.32-38-generic (i586) flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Found chipset "AMD CS5536". Enabling flash write... Error while opening /dev/cpu/0/msr: No such file or directory Did you run 'modprobe msr'? FAILED! WARNING: unexpected second chipset match: "AMD CS5536" ignoring, please report lspci and board URL to flashrom@flashrom.org with 'CHIPSET: your board name' in the subject line. Unhandled programmer parameters: boardmismath=force Found SST flash chip "SST49LF008A" (1024 kB, FWH) at physical address 0xfff00000. 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. k2000@k2000-desktop:~$
flashrom mailing list flashrom@flashrom.org http://www.flashrom.org/mailman/listinfo/flashrom