<div dir="ltr"><div><div><div>Good day! I applied your most recent KB9012 flashrom patch to the latest flashrom copy, and tried to compile it for testing with my KB9012 chip. However, I have encountered the following error:<br><br>flashchips.c:3209:19: error: 'FEATURE_ERASED_ZERO' undeclared here (not in a function)<br>   .feature_bits = FEATURE_ERASED_ZERO,<br>                   ^<br>make: *** [flashchips.o] Error 1<br><br></div>FEATURE_ERASED_ZERO is not declared anywhere, neither in latest flashrom revisions, nor in older flashrom revisions. Dont know why nobody noticed this problem before me...<br><br></div>Then, I thought it could be a good idea to replace this undeclared value with zero:<br>   .feature_bits = 0,<br><br></div>Flashrom compiled successfully after this change, but unfortunately it cannot properly detect KB9012 chip that is attached to Bus Pirate through KB9012 adapter. Important log part is attached below (interesting, why it has not printed RDID stuff while probing for ENE KB9012)<br><br>...<br>Probing for Atmel AT45DB642D, 8192 kB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0xff, id2 0xffff<br>Probing for ENE KB9012 (EDI), 128 kB: Probing for ESMT F25L008A, 1024 kB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0xff, id2 0xffff<br>Probing for ESMT F25L32PA, 4096 kB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0xff, id2 0xffff<br>...<br>Probing for Generic unknown SPI chip (REMS), 0 kB: probe_spi_rems: id1 0x7f, id2 0xff<br>Found Generic flash chip "unknown SPI chip (REMS)" (0 kB, SPI) on buspirate_spi.<br>Found Generic flash chip "unknown SPI chip (REMS)" (0 kB, SPI).<br>===<br>This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE<br>The test status of this chip may have been updated in the latest development<br>version of flashrom. If you are running the latest development version,<br>please email a report to <a href="mailto:flashrom@flashrom.org">flashrom@flashrom.org</a> if any of the above operations<br>work correctly for you with this flash chip. Please include the flashrom log<br>file for all operations you tested (see the man page for details), and mention<br>which mainboard or programmer you tested in the subject line.<br>Thanks for your help!<br>Read is not working on this chip. Continuing anyway.<br>flashrom has no read function for this flash chip.<br>Aborting.<br>Raw bitbang mode version 1<br>Bus Pirate shutdown completed.<br><br><br><br><br></div>