[flashrom] Flashrom W39V040B

Idwer Vollering vidwer at gmail.com
Fri Apr 1 14:51:31 CEST 2011


2011/4/1 kay <kay.diam at gmail.com>:
> The flashrom version from trunk did the trick ;)

Actually, it looks like support for your board was added eight monts
ago: http://flashrom.org/trac/flashrom/changeset/1133

>
> I have attached the log.
> Thanks for help!
> Have a nice day.
> 2011/4/1 Idwer Vollering <vidwer at gmail.com>
>>
>> Please keep flashrom at flashrom.org in the "To:"-field, or in cc. Thanks.
>>
>> 2011/4/1 kay <kay.diam at gmail.com>:
>> > Hi
>> >
>> > 2011/4/1 Idwer Vollering <vidwer at gmail.com>
>> >>
>> >> 2011/3/30 kay <kay.diam at gmail.com>:
>> >> > Hi!
>> >>
>> >> Hi.
>> >>
>> >> >
>> >> > I have tried to flash my BIOS without success. BIOS flash reading is
>> >> > ok,
>> >> > but
>> >> > writing does'nt work. Here is the commands output:
>> >> >
>> >> > $ flashrom -Vw 75i65G_3.30
>> >> > flashrom v0.9.2-r1028 on Linux 2.6.35-28-generic (x86_64), built with
>> >> > libpci
>> >>
>> >> Can you retry writing with the latest development code ?
>> >>
>> >> See http://www.flashrom.org/Downloads#Installation_from_source for
>> >> instructions.
>> >>
>> >
>> > The results are different, but at this time I got only warning:
>> > flashrom v0.9.3-r1205 on Linux 2.6.35-28-generic (x86_64), 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.
>> > No coreboot table found.
>> > Found chipset "Intel ICH5/ICH5R", enabling flash write... OK.
>> > This chipset supports the following protocols: FWH.
>> > Disabling flash write protection for board "ASRock 775i65G"... OK.
>> > No EEPROM/flash device found.
>>
>> Fooled you :) No really, this is strange because it found a flash
>> device earlier.
>>
>> Can you try the code from subversion ?
>> $ svn co svn://coreboot.org/flashrom/trunk flashrom
>> $ cd flashrom
>> $ make
>> $ sudo ./flashrom -Vw /path/to/75i65G_3.30
>>
>> > Note: flashrom can never write if the flash chip isn't found
>> > automatically.
>> >
>> >>
>> >> > 3.0.0, GCC 4.4.4, little endian
>> >> > flashrom is free software, get the source code at
>> >> > http://www.flashrom.org
>> >> >
>> >> > Calibrating delay loop... OS timer resolution is 1 usecs, 2071M loops
>> >> > per
>> >> > second, 10 myus = 9 us, 100 myus = 90 us, 1000 myus = 898 us, 10000
>> >> > myus
>> >> > =
>> >> > 8978 us, 4 myus = 3
>> >> > us, OK.
>> >> > Initializing internal programmer
>> >> > No coreboot table found.
>> >> > DMI string system-manufacturer: "To Be Filled By O.E.M."
>> >> > DMI string system-product-name: "To Be Filled By O.E.M."
>> >> > DMI string system-version: "To Be Filled By O.E.M."
>> >> > DMI string baseboard-manufacturer: " "
>> >> > DMI string baseboard-product-name: "775i65G."
>> >>
>> >> The board is an ASRock 775i65G, correct ?
>> >>
>> >
>> > Yep.
>> >
>> >>
>> >> > DMI string baseboard-version: " "
>> >> > DMI string chassis-type: "Desktop"
>> >> > Found chipset "Intel ICH5/ICH5R", enabling flash write... chipset PCI
>> >> > ID
>> >> > is
>> >> > 8086:24d0,
>> >> > BIOS Lock Enable: disabled, BIOS Write Enable: enabled, BIOS_CNTL is
>> >> > 0x1
>> >> > OK.
>> >> > This chipset supports the following protocols: Non-SPI.
>> >> >
>> >> > Found chip "Winbond W39V040B" (512 KB, LPC) at physical address
>> >> > 0xfff80000.
>> >> > Flash image seems to be a legacy BIOS. Disabling checks.
>> >> > Writing flash chip... Erasing flash chip... Looking at blockwise
>> >> > erase
>> >> > function 0... trying... 0x000000-0x00ffff, 0x010000-0x01ffff,
>> >> > Looking at blockwise erase function 1... trying... 0x000000-0x07ffff,
>> >> > Looking at blockwise erase function 2... not defined. Looking for
>> >> > another
>> >> > erase function.
>> >> > Looking at blockwise erase function 3... not defined. Looking for
>> >> > another
>> >> > erase function.
>> >> > Looking at blockwise erase function 4... not defined. Looking for
>> >> > another
>> >> > erase function.
>> >> >
>> >> > ERASE FAILED at 0x00013948! Expected=0xff, Read=0x44, failed byte
>> >> > count
>> >> > from
>> >> > 0x00010000-0x0001ffff: 0xc5f5
>> >> > ERASE FAILED!
>> >> > ERASE FAILED at 0x00013948! Expected=0xff, Read=0x44, failed byte
>> >> > count
>> >> > from
>> >> > 0x00000000-0x0007ffff: 0x5cf57
>> >> > 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 at flashrom.org!
>> >> >
>> >> >
>> >> > -------------------------------------------------------------------------------
>> >> > DO NOT REBOOT OR POWEROFF!
>> >>
>> >> Big fat warning but you have kept it cool :)
>> >>
>> >> >
>> >> > I have checked the BIOS content and compared with backup - they are
>> >> > identical, so I have reboot the PC without any problems.
>> >>
>> >> Okay, can you hit reply-to-all and attach the output of 'flashrom -V',
>> >> 'lspci -nnvvvxxx', 'superiotool -deV' (run all commands as root) ?
>> >
>> > I have attached them.
>> >
>> > Have a nice day and watch out for the tricks on April fools' day )
>
>




More information about the flashrom mailing list