On Thu, 30 Jun 2016 00:53:28 +0000 "Ma, Peter" peter.ma@intel.com wrote:
https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/h...
[…]
Probing for AMIC A25L05PT, 64 kB: probe_spi_rdid_generic: id1 0x20, id2 0xba15
Hello Peter,
thanks for your report. The replies this chip sends makes me think that Altera acquired the IP from Micron because the ID is exactly what you would expect from an N25Q016??3E chip, that is a 3.3 V, 16 Mb flash chip. However, as far as I can tell there never was a public datasheet available for such a chip, only its 1.8 V variants (which are supported by flashrom). The IP theory also makes completely sense due to the bonds (no pun intended) between Intel and Micron as well as Intel and Altera ;)
The Altera datasheet disguises this by specifying the replies to the RDID identification opcode (Read Device Identification Operation) incompletely: they do not define the first and second byte of the reply. The first byte identifies the flash as ST (now Micron): 0x20.
I'll need to dig further to see if there are any clear distinctions between the "Altera" chips and the existing bigger 3.3 V ST models that are also specified in the Altera datasheet but for which I have original Micron datasheets to cross check. If nothing dramatically comes up I'll add the needed chip definition to flashrom. Have you tried what flashrom promises, i.e. that flashrom should fully work with the generic definitions replied by the chip (SFDP)?