Nick: mikeabkk E-mail: mikeamycoder@gmail.com Board: MX25L6406E M2I-I2G Contents: mike@mike-Z87X-UD3H ~/aorus_rescue $ sudo flashrom -p ch341a_spi -c MX25L6406E/MX25L6408E -w aorusx9.bios flashrom v0.9.9-rc1-r1942 on Linux 4.8.0-53-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Calibrating delay loop... OK. Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on ch341a_spi. Reading old flash chip contents... done. Erasing and writing flash chip... FAILED at 0x00001000! Expected=0xff, Found=0x00, failed byte count from 0x00001000-0x00001fff: 0x18b ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x00000010! Expected=0xff, Found=0x5a, failed byte count from 0x00000000-0x0000ffff: 0xe224 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x00000000! Expected=0xff, Found=0xf7, failed byte count from 0x00000000-0x0000ffff: 0xe226 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x007fffff: 0x511e62 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x007fffff: 0x511e64 ERASE FAILED! 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. Please report this on IRC at chat.freenode.net (channel #flashrom) or mail flashrom@flashrom.org, thanks! mike@mike-Z87X-UD3H ~/aorus_rescue $ sudo flashrom -p ch341a_spi -c MX25L6406E/MX25L6408E -r aorusx9.bios.check [sudo] password for mike: flashrom v0.9.9-rc1-r1942 on Linux 4.8.0-53-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Calibrating delay loop... OK. Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on ch341a_spi. Reading flash... done. mike@mike-Z87X-UD3H ~/aorus_rescue $ ./coreboot/util/ifdtool/ifdtool -d aorusx9.bios.check File aorusx9.bios.check is 8388608 bytes ICH Revision: 100 series Sunrise Point FLMAP0: 0x00040003 NR: 0 FRBA: 0x40 NC: 1 FCBA: 0x30 FLMAP1: 0x58100208 ISL: 0x58 FPSBA: 0x100 NM: 2 FMBA: 0x80 FLMAP2: 0x00310330 PSL: 0x3103 FMSBA: 0x300 FLUMAP1: 0x000006df Intel ME VSCC Table Length (VTL): 6 Intel ME VSCC Table Base Address (VTBA): 0x000df0 ME VSCC table: JID0: 0x001840ef SPI Componend Vendor ID: 0xef SPI Componend Device ID 0: 0x40 SPI Componend Device ID 1: 0x18 VSCC0: 0x20252025 Lower Erase Opcode: 0x20 Lower Write Enable on Write Status: 0x50 Lower Write Status Required: No Lower Write Granularity: 64 bytes Lower Block / Sector Erase Size: 4KB Upper Erase Opcode: 0x20 Upper Write Enable on Write Status: 0x50 Upper Write Status Required: No Upper Write Granularity: 64 bytes Upper Block / Sector Erase Size: 4KB JID1: 0x0018471f SPI Componend Vendor ID: 0x1f SPI Componend Device ID 0: 0x47 SPI Componend Device ID 1: 0x18 VSCC1: 0x20152015 Lower Erase Opcode: 0x20 Lower Write Enable on Write Status: 0x06 Lower Write Status Required: No Lower Write Granularity: 64 bytes Lower Block / Sector Erase Size: 4KB Upper Erase Opcode: 0x20 Upper Write Enable on Write Status: 0x06 Upper Write Status Required: No Upper Write Granularity: 64 bytes Upper Block / Sector Erase Size: 4KB JID2: 0x001820c2 SPI Componend Vendor ID: 0xc2 SPI Componend Device ID 0: 0x20 SPI Componend Device ID 1: 0x18 VSCC2: 0x20452045 Lower Erase Opcode: 0x20 Lower Write Enable on Write Status: 0x50 Lower Write Status Required: No Lower Write Granularity: 64 bytes Lower Block / Sector Erase Size: 4KB Upper Erase Opcode: 0x20 Upper Write Enable on Write Status: 0x50 Upper Write Status Required: No Upper Write Granularity: 64 bytes Upper Block / Sector Erase Size: 4KB OEM Section: 00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Found Region Section FLREG0: 0x00000000 Flash Region 0 (Flash Descriptor): 00000000 - 00000fff FLREG1: 0x07ff0200 Flash Region 1 (BIOS): 00200000 - 007fffff FLREG2: 0x01ff0001 Flash Region 2 (Intel ME): 00001000 - 001fffff FLREG3: 0x00007fff Flash Region 3 (GbE): 07fff000 - 00000fff (unused) FLREG4: 0x00007fff Flash Region 4 (Platform Data): 07fff000 - 00000fff (unused) FLREG5: 0x00007fff Flash Region 5 (Reserved): 07fff000 - 00000fff (unused) FLREG6: 0x00007fff Flash Region 6 (Reserved): 07fff000 - 00000fff (unused) FLREG7: 0x00007fff Flash Region 7 (Reserved): 07fff000 - 00000fff (unused) FLREG8: 0x00007fff Flash Region 8 (EC): 07fff000 - 00000fff (unused) Found Component Section FLCOMP 0x325c00f4 Dual Output Fast Read Support: not supported Read ID/Read Status Clock Frequency: 17MHz Write/Erase Clock Frequency: 48MHz Fast Read Clock Frequency: 48MHz Fast Read Support: supported Read Clock Frequency: 17MHz Component 2 Density: UNUSED Component 1 Density: 8MB FLILL 0xad604221 Invalid Instruction 3: 0xad Invalid Instruction 2: 0x60 Invalid Instruction 1: 0x42 Invalid Instruction 0: 0x21 FLPB 0xc7c4b9b7 Flash Partition Boundary Address: 0x9b7000 Found PCH Strap Section PCHSTRP0: 0x00800000 PCHSTRP1: 0x00000100 PCHSTRP2: 0x00000000 PCHSTRP3: 0x00000000 PCHSTRP4: 0x00000000 PCHSTRP5: 0x00010000 PCHSTRP6: 0x00000100 PCHSTRP7: 0x00000000 PCHSTRP8: 0x00000000 PCHSTRP9: 0x00000000 PCHSTRP10: 0x00030000 PCHSTRP11: 0x00000100 PCHSTRP12: 0x00000000 PCHSTRP13: 0x00000000 PCHSTRP14: 0x00000000 PCHSTRP15: 0x00010000 PCHSTRP16: 0x00000100 PCHSTRP17: 0x00000000 HAP bit is not set Found Master Section FLMSTR1: 0xffffff00 (Host CPU/BIOS) EC Region Write Access: enabled Platform Data Region Write Access: enabled GbE Region Write Access: enabled Intel ME Region Write Access: enabled Host CPU/BIOS Region Write Access: enabled Flash Descriptor Write Access: enabled EC Region Read Access: enabled Platform Data Region Read Access: enabled GbE Region Read Access: enabled Intel ME Region Read Access: enabled Host CPU/BIOS Region Read Access: enabled Flash Descriptor Read Access: enabled FLMSTR2: 0xffffff00 (Intel ME) EC Region Write Access: enabled Platform Data Region Write Access: enabled GbE Region Write Access: enabled Intel ME Region Write Access: enabled Host CPU/BIOS Region Write Access: enabled Flash Descriptor Write Access: enabled EC Region Read Access: enabled Platform Data Region Read Access: enabled GbE Region Read Access: enabled Intel ME Region Read Access: enabled Host CPU/BIOS Region Read Access: enabled Flash Descriptor Read Access: enabled FLMSTR3: 0xffffff00 (GbE) EC Region Write Access: enabled Platform Data Region Write Access: enabled GbE Region Write Access: enabled Intel ME Region Write Access: enabled Host CPU/BIOS Region Write Access: enabled Flash Descriptor Write Access: enabled EC Region Read Access: enabled Platform Data Region Read Access: enabled GbE Region Read Access: enabled Intel ME Region Read Access: enabled Host CPU/BIOS Region Read Access: enabled Flash Descriptor Read Access: enabled FLMSTR5: 0xffffff00 (EC) EC Region Write Access: enabled Platform Data Region Write Access: enabled GbE Region Write Access: enabled Intel ME Region Write Access: enabled Host CPU/BIOS Region Write Access: enabled Flash Descriptor Write Access: enabled EC Region Read Access: enabled Platform Data Region Read Access: enabled GbE Region Read Access: enabled Intel ME Region Read Access: enabled Host CPU/BIOS Region Read Access: enabled Flash Descriptor Read Access: enabled Found Processor Strap Section ????: 0x00001000 ????: 0x00118002 ????: 0x00000295 ????: 0xffffffff ????: 0xffffffff ????: 0xffffffff ????: 0xffffffff ????: 0xffffffff mike@mike-Z87X-UD3H ~/aorus_rescue $ ./coreboot/util/ifdtool/ifdtool -f aorusx9.bios.check.layout aorusx9.bios.check File aorusx9.bios.check is 8388608 bytes Wrote layout to aorusx9.bios.check.layout mike@mike-Z87X-UD3H ~/aorus_rescue $ cat backuprom.layout 00000000:00000fff fd 00200000:007fffff bios 00001000:001fffff me mike@mike-Z87X-UD3H ~/aorus_rescue $ cat aorusx9.bios.check.layout 00000000:00000fff fd 00200000:007fffff bios 00001000:001fffff me mike@mike-Z87X-UD3H ~/aorus_rescue $ sudo flashrom -p ch341a_spi -c MX25L6406E/MX25L6408E -w aorusx9.bios [sudo] password for mike: flashrom v0.9.9-rc1-r1942 on Linux 4.8.0-53-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Calibrating delay loop... OK. Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on ch341a_spi. Reading old flash chip contents... done. Erasing and writing flash chip... FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x00000fff: 0x1d1 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x0000ffff: 0xe228 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x0000ffff: 0xe228 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x007fffff: 0x511e64 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x007fffff: 0x511e64 ERASE FAILED! 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. Please check the connections (especially those to write protection pins) between the programmer and the flash chip. If you think the error is caused by flashrom please report this on IRC at chat.freenode.net (channel #flashrom) or mail flashrom@flashrom.org, thanks! mike@mike-Z87X-UD3H ~/aorus_rescue $ sudo flashrom -p ch341a_spi -c MX25L6406E/MX25L6408E -r aorusx9.bios.check2 [sudo] password for mike: flashrom v0.9.9-rc1-r1942 on Linux 4.8.0-53-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Calibrating delay loop... OK. Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on ch341a_spi. Reading flash... done. mike@mike-Z87X-UD3H ~/aorus_rescue $ md5sum aorusx9.bios.check* 3199adf12dc17585592a74ecf93038c5 aorusx9.bios.check 3199adf12dc17585592a74ecf93038c5 aorusx9.bios.check2 d57e68f42ba4f0f9e492409e92e17cc0 aorusx9.bios.check.layout mike@mike-Z87X-UD3H ~/aorus_rescue $ sudo flashrom -l backuprom.layout -i bios -w X9S10.B0E -p ch341a_spi -c MX25L6406E/MX25L6408E flashrom v0.9.9-rc1-r1942 on Linux 4.8.0-53-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Using region: "bios". Calibrating delay loop... OK. Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on ch341a_spi. Reading old flash chip contents... done. Erasing and writing flash chip... Warning: Chip content is identical to the requested image. Erase/write done. mike@mike-Z87X-UD3H ~/aorus_rescue $ sudo flashrom -l backuprom.layout -i fd -w aorusx9.bios -p ch341a_spi -c MX25L6406E/MX25L6408E flashrom v0.9.9-rc1-r1942 on Linux 4.8.0-53-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Using region: "fd". Calibrating delay loop... OK. Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on ch341a_spi. Reading old flash chip contents... done. Erasing and writing flash chip... FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x00000fff: 0x1d1 ERASE FAILED! Reading current flash chip contents... ^C mike@mike-Z87X-UD3H ~/aorus_rescue $ sudo flashrom -l backuprom.layout -i me -w aorusx9.bios -p ch341a_spi -c MX25L6406E/MX25L6408E flashrom v0.9.9-rc1-r1942 on Linux 4.8.0-53-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Using region: "me". Calibrating delay loop... OK. cb_in: error: LIBUSB_TRANSFER_OVERFLOW ch341a_spi_spi_send_command: Failed to read 4 bytes No EEPROM/flash device found. Note: flashrom can never write if the flash chip isn't found automatically. mike@mike-Z87X-UD3H ~/aorus_rescue $ sudo flashrom -l backuprom.layout -i me -w aorusx9.bios -p ch341a_spi -c MX25L6406E/MX25L6408E flashrom v0.9.9-rc1-r1942 on Linux 4.8.0-53-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Using region: "me". Calibrating delay loop... OK. cb_in: error: LIBUSB_TRANSFER_OVERFLOW ch341a_spi_spi_send_command: Failed to read 4 bytes No EEPROM/flash device found. Note: flashrom can never write if the flash chip isn't found automatically. mike@mike-Z87X-UD3H ~/aorus_rescue $ sudo flashrom -l backuprom.layout -i bios -w X9S10.B0E -p ch341a_spi -c MX25L6406E/MX25L6408E flashrom v0.9.9-rc1-r1942 on Linux 4.8.0-53-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Using region: "bios". Calibrating delay loop... OK. Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on ch341a_spi. Reading old flash chip contents... done. Erasing and writing flash chip... Warning: Chip content is identical to the requested image. Erase/write done. mike@mike-Z87X-UD3H ~/aorus_rescue $ sudo flashrom -l backuprom.layout -i me -w aorusx9.bios -p ch341a_spi -c MX25L6406E/MX25L6408E flashrom v0.9.9-rc1-r1942 on Linux 4.8.0-53-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Using region: "me". Calibrating delay loop... OK. Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on ch341a_spi. Reading old flash chip contents... done. Erasing and writing flash chip... FAILED at 0x00001000! Expected=0xff, Found=0x00, failed byte count from 0x00001000-0x00001fff: 0x18b ERASE FAILED! Reading current flash chip contents... ^C