Hi, I ran flashrom --programmer internal -w ./Q87MD2H.F8 -c "MX25L6405"
Output is:
root@px2:~# flashrom --programmer internal -w ./Q87MD2H.F8 -c "MX25L6405"
flashrom v1.2 on Linux 5.15.39-4-pve (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 Q87".
This chipset is marked as untested. If you are using an up-to-date version
of flashrom *and* were (not) able to successfully update your firmware with it,
then please email a report to flashrom@flashrom.org including a verbose (-V) log.
Thank you!
Enabling flash write... SPI Configuration is locked down.
OK.
Found Macronix flash chip "MX25L6405" (8192 kB, SPI) mapped at physical address 0x00000000ff800000.
Reading old flash chip contents... done.
Erasing and writing flash chip... FAILED at 0x00001000! Expected=0xff, Found=0x74, failed byte count from 0x00000000-0x0000ffff: 0x9d11
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
spi_write_cmd failed during command execution at address 0x0
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.
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.
Apparently at least some data has 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!
Anyway I can fix this?
Thanks