Hi,
I am trying to use flashrom to write a BIOS and I'm getting the error below.
Using afuwin64.exe is possible to update the BIOS.
See the attachment to more information.
root@14_101_31_142:/tmp# /root/flashrom/flashrom -p internal -w
/tmp/new_bios.img
flashrom v1.2-27-ga25c13c on Linux 4.13.0-38-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found chipset "Intel Q75".
Enabling flash write... Warning: Setting Bios Control at 0xdc from 0x0a to
0x09 failed.
New value is 0x0a.
SPI Configuration is locked down.
OK.
Found Winbond flash chip "W25Q32.V" (4096 kB, SPI) mapped at physical
address 0x00000000ffc00000.
Reading old flash chip contents... done.
Erasing and writing flash chip... Transaction error!
spi_write_cmd failed during command execution at address 0x1a0000
Reading current flash chip contents... done. Looking for another erase
function.
spi_write_cmd failed during command execution at address 0x1a0000
Reading current flash chip contents... done. Looking for another erase
function.
spi_write_cmd failed during command execution at address 0x1a0000
Reading current flash chip contents... done. Looking for another erase
function.
spi_simple_write_cmd failed during command execution
Reading current flash chip contents... done. Looking for another erase
function.
spi_simple_write_cmd failed during command execution
Reading current flash chip contents... done. Looking for another erase
function.
Looking for another erase function.
Looking for another erase function.
No usable erase functions left.
FAILED!
Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents... done.
Good, 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 chat.freenode.net (channel #flashrom) or
mail flashrom(a)flashrom.org, thanks!
-------------------------------------------------------------------------------
You may now reboot or simply leave the machine running.
Thanks
--
Fabrício Ceolin
ulevel.com
Diretor Executivo
I have tested and got every operation working with the A25L080 and a
arduino uno programmer
attached is the log, but i copied the same rom 2x so thats why it says
their identical
If you need more info feel free to reply bacl
Dear sir
I am a hardware enthusiast try to modify my motherboard's bios, cause after mmtool modify the rom's se data been corrupted so I can't flash it by bios app or afwin or other tools that use to flashing official bios.
so I installed ubuntu 16.04 server version, and sudo apt-get install flashrom.
the motherboard I use is an X299 motherboard with winbond 25Q128JVSQ bios chip
now I am running flash -p internal it shows as follows:
jiang@ubuntu:~$ sudo flashrom -p internal
flashrom v0.9.9-rc1-r1942 on Linux 4.4.0-131-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
WARNING: No chipset found. Flash detection will most likely fail.
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.
guess it cant recognize the chip on my motherboard.
so in this condition, is there anyway to use flashrom writing my modified bios to mother board?
Thanks in advance!
Hi all,
Hope you are doing well. I am having some trouble flashing a W25Q64.V and
was hoping someone could help me. I am using a CH341a with a SOIC8 clip,
and was able to flash that chip beforehand successfully.
The motherboard is an MSI P67a-C43 B3, I am trying to flash to the 1.J
Version which can be downloaded here:
https://www.msi.com/Motherboard/support/p67ac43_b3
I have pasted my logs from running "flashrom --programmer ch341a_spi -w
E7673IMS.1J0 -V" here:
https://paste.flashrom.org/view.php?id=3305
Let me know if I can provide any more information.
Thank you,
Joao
This is the bios chip on ASUS ROG STRIX B450-F GAMING mainboard.
This should be the data sheet of this family of SPI flash chips.
https://www.gigadevice.com/flash-memory/gd25lb128d/
I tried to connect it to a raspberry pi-4 with SOIC test clip and 1,8v power supply and logic-level converter,
but flashrom v0.9.9-r1954 on Linux 4.19.105-v8-28 (aarch64)
only found:
flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=1000
"...
Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on linux_spi.
Probing for Generic unknown SPI chip (REMS), 0 kB: REMS returned 0xc0 0x01. probe_spi_rems: id1 0xc0, id2 0x1
Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI).
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
..."
I saw in newest version https://github.com/flashrom/flashrom/blob/master/flashchips.h
this chip is still not listed. So probably also not supported in newest development version.
regards
s.priehse
Hi,
I have a customer who attempted to flash a BIOS on one of our products using your software and got an error that I haven’t seen before.
[][root@box:/mnt/sda1]$ flashrom -w flash/apu3_v4.11.0.5.rom -p internal
flashrom v0.9.7-r1711-APU on Linux 3.8.13-tinycore (i686)
flashrom is free software, get the source code at http://www.flashrom.org<http://www.flashrom.org/>
Calibrating delay loop... delay loop is unreliable, trying to continue OK.
coreboot table found at 0xdffae000.
Found chipset "AMD FCH". Enabling flash write... FCH device found but SMBus rev.
Please report this to flashrom(a)flashrom.org and include this log and
the output of lspci -nnvx, thanks!.
OK.
FIFO pointer corruption! Pointer is 0, wanted 3
Something else is accessing the flash chip and causes random corruption.
Please stop all applications and drivers and IPMI which access the flash chip.
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
[][root@box:/mnt/sda1]$
The device she was updating was the APU3
https://pcengines.ch/apu3b4.htm
Let me know if there’s anything you can do to help, nothing was running on the board except for TinyCore that holds flashrom.
Thanks
Ben Kerr
Support Analyst
[cid:image001.png@01D612FE.22256EC0]<https://www.fastracktechnology.com.au/>
Level 19, Tower A, The Zenith
821 Pacific Highway
Chatswood
NSW
2067
T +61 2 8025 0500<tel:+61%202%208025%200500>
M +61 435 913 419<tel:+61%20435%20913%20419>
E bkerr(a)ftpl.com.au<mailto:bkerr@ftpl.com.au>
W www.fastracktechnology.com.au<http://www.fastracktechnology.com.au/>
[Click or Tap Link to Follow]<https://www.facebook.com/FastrackTechnology>
[Click or tap link to follow]<https://twitter.com/Fastracktech>
[Click or tap link to follow]<https://www.linkedin.com/company/fastrack-technology-pty-ltd/>
[Click or tap link to follow]<https://blog.fastracktechnology.com.au/insights>
I had success flashing an iPXE rom on the NIC mentioned above.
lspci output:
41:00.0 Ethernet controller [0200]: Intel Corporation 82599 10 Gigabit
Network Connection [8086:1557] (rev 01)
df@mobilex:~/nfs-home/Dokumente/iPXE/Intel Corporation 82599 10 Gigabit$
sudo flashrom -p nicintel_spi:pci=41:00.0 -w ipxe.rom
flashrom v0.9.9-r1954 on Linux 5.3.0-46-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
===
This PCI device is UNTESTED. Please report the 'flashrom -p xxxx' output
to flashrom(a)flashrom.org if it works for you. Please add the name of your
PCI device to the subject. Thank you for your help!
===
Found Winbond flash chip "W25X40" (512 kB, SPI) on nicintel_spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.
Greetings,
Dirk