As requested, here is the verbose output from reading the flash on a D1 Mini 
ESP8266 board provided to me at CypherCon 9 as part of a CTF.

SFDP parameter table header 0/1:
 ID 0x00, version 1.7
 Length 64 B, Parameter Table Pointer 0x000030
Parsing JEDEC flash parameter table... 
 3-Byte only addressing.
 Status register is non-volatile and the standard does not allow vendors to 
tell us whether EWSR/WREN is needed for status register writes - assuming EWSR.
 Write chunk size is at least 64 B.
 Flash chip size is 4096 kB.
 Block eraser 0: 1024 x 4096 B with opcode 0x20
 Tried to add a duplicate block eraser: 1024 x 4096 B with opcode 0x20.
 Block eraser 1: 128 x 32768 B with opcode 0x52
 Block eraser 2: 64 x 65536 B with opcode 0xd8
done.
SFDP parameter table header 1/1:
 ID 0x5e, version 1.0
 Length 12 B, Parameter Table Pointer 0x000070
===
SFDP has autodetected a flash chip which is not natively supported by flashrom 
yet.
All standard operations (read, verify, erase and write) should work, but to 
support all possible features we need to add them manually.
You can help us by mailing us the output of the following command to 
[email protected]:
'flashrom -VV [plus the -p/--programmer parameter]'
Thanks for your help!
===
Added layout entry 00000000 - 003fffff named complete flash
Found Unknown flash chip "SFDP-capable chip" (4096 kB, SPI) on ch341a_spi.
Probing for AMIC unknown AMIC SPI chip, 0 kB: compare_id: id1 0x5e, id2 0x4016
Probing for Atmel unknown Atmel SPI chip, 0 kB: compare_id: id1 0x5e, id2 0x4016
Probing for Eon unknown Eon SPI chip, 0 kB: compare_id: id1 0x5e, id2 0x4016
Probing for Macronix unknown Macronix SPI chip, 0 kB: compare_id: id1 0x5e, id2 
0x4016
Probing for PMC unknown PMC SPI chip, 0 kB: compare_id: id1 0x5e, id2 0x4016
Probing for SST unknown SST SPI chip, 0 kB: compare_id: id1 0x5e, id2 0x4016
Probing for ST unknown ST SPI chip, 0 kB: compare_id: id1 0x5e, id2 0x4016
Probing for Sanyo unknown Sanyo SPI chip, 0 kB: compare_id: id1 0x5e, id2 0x4016
Probing for Winbond unknown Winbond (ex Nexcom) SPI chip, 0 kB: compare_id: id1 
0x5e, id2 0x4016
Probing for Generic unknown SPI chip (RDID), 0 kB: compare_id: id1 0x5e, id2 
0x4016
Probing for Generic unknown SPI chip (REMS), 0 kB: compare_id: id1 0x5e, id2 
0x15
Found Unknown flash chip "SFDP-capable chip" (4096 kB, 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 [email protected] 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.
You can also try to follow the instructions here:
https://www.flashrom.org/contrib_howtos/how_to_mark_chip_tested.html
Thanks for your help!
Block protection is disabled.
Reading flash... read_flash:  region (00000000..0x3fffff) is readable, reading 
range (00000000..0x3fffff).
done.
 
_______________________________________________
flashrom mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to