weicheng@weicheng-Z3-Air-Series-GM5TGEO:~$ sudo flashrom -p raiden_debug_spi:target=AP -w stock-firmware-CROTA-20240723.rom --ifd -i bios flashrom unknown on Linux 6.8.0-39-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). Raiden target: 2 Raiden: Unexpected packet id = 1 Raiden: Read response failed protocol = 2 write count = 1 read count = 3 received bytes = 0 write attempt = 1 read attempt = 1 status = 0x11001 Raiden: Unexpected packet id = 1 Raiden: Read response failed protocol = 2 write count = 1 read count = 3 received bytes = 0 write attempt = 1 read attempt = 2 status = 0x11001 Raiden: Unexpected packet id = 1 Raiden: Read response failed protocol = 2 write count = 1 read count = 3 received bytes = 0 write attempt = 1 read attempt = 3 status = 0x11001 Raiden: Unexpected start packet id = 5 Raiden: Read response failed protocol = 2 write count = 1 read count = 4 received bytes = 3 write attempt = 1 read attempt = 1 status = 0x11001 Raiden: Unexpected start packet id = 5 Raiden: Read response failed protocol = 2 write count = 1 read count = 4 received bytes = 3 write attempt = 1 read attempt = 2 status = 0x11001 Raiden: Receive packet overflowed bytes_in_buffer = 4 max_read_length = 2 receive_index = 2 receive_size = 0 Raiden: Read response failed protocol = 2 write count = 1 read count = 2 received bytes = 0 write attempt = 1 read attempt = 1 status = 0x11003 Raiden: Receive packet overflowed bytes_in_buffer = 4 max_read_length = 2 receive_index = 2 receive_size = 0 Raiden: Read response failed protocol = 2 write count = 1 read count = 2 received bytes = 0 write attempt = 1 read attempt = 2 status = 0x11003 Raiden: Unexpected start packet id = 5 Raiden: Read response failed protocol = 2 write count = 1 read count = 3 received bytes = 2 write attempt = 1 read attempt = 1 status = 0x11001 Raiden: Receive packet overflowed bytes_in_buffer = 3 max_read_length = 2 receive_index = 2 receive_size = 0 Raiden: Read response failed protocol = 2 write count = 4 read count = 2 received bytes = 0 write attempt = 1 read attempt = 1 status = 0x11003 Raiden: Unexpected start packet id = 5 Raiden: Read response failed protocol = 2 write count = 1 read count = 3 received bytes = 2 write attempt = 1 read attempt = 1 status = 0x11001 Found Winbond flash chip "W25Q256JV_M" (32768 kB, SPI) on raiden_debug_spi. === This flash part has status UNTESTED for operations: WP The test status of this chip may have been updated in the latest development version of flashrom. If you are running the latest development version, please email a report to flashrom@flashrom.org if any of the above operations work correctly for you with this flash chip. Please include the flashrom log file for all operations you tested (see the man page for details), and mention which mainboard or programmer you tested in the subject line. Thanks for your help! Reading ich descriptor... done. Peculiar flash descriptor, assuming 100 series compatibility.
The flash descriptor looks like a Skylake/Sunrise Point descriptor. However, the read frequency isn't set to 17MHz (the only valid value). Please report this message, the output of `ich_descriptors_tool` for your descriptor and the output of `lspci -nn` to flashrom@flashrom.org
Using region: "bios". Reading old flash chip contents... done. Erasing and writing flash chip... FAILED at 0x01c04000! Expected=0xff, Found=0x00, failed byte count from 0x01c04000-0x01c04fff: 0x1000 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x0051c000! Expected=0xff, Found=0x00, failed byte count from 0x0051c000-0x0051cfff: 0x1000 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x00510000! Expected=0xff, Found=0x00, failed byte count from 0x00510000-0x00517fff: 0x7788 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x00510000! Expected=0xff, Found=0x00, failed byte count from 0x00510000-0x0051ffff: 0xa758 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x00520000! Expected=0xff, Found=0x00, failed byte count from 0x00520000-0x0052ffff: 0x9f60 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Erase/write done. Verifying flash... FAILED at 0x00000110! Expected=0x1f, Found=0x0f, failed byte count from 0x00000000-0x01ffffff: 0x9f5a8d Your flash chip is in an unknown state. Please report this to the mailing list at flashrom@flashrom.org or on IRC (see https://www.flashrom.org/Contact for details), thanks!