Am 2022-07-21 11:39, schrieb Tudor.Ambarus@xxxxxxxxxxxxx:
cat /sys/devices/platform/soc/10060000.spi/rpc-if-spi/spi_master/spi1/spi1.0/spi-nor/jedec_id1f42181f4218 This result is not matching 1f4218->1f42181f4218here it looks like the ID is sent twice.
That is expected. We don't know how long the id is so SPI_NOR_MAX_ID_LEN bytes are read for now. Some flashes will send additional information, some don't and just repeat the pattern. It's up to the userspace to interpret that. -michael