![]() ![]() Various kernel developers have been working on SPI OTP support for the mainline Linux kernel in recent years while finally the support made its way to Linux 5.13 via the MTD pull last week after being stuck under review the past year. The device uses the following pins: VCC: 3.3V. Which can be useful for development purposes. Such SPI memory devices are very inexpensive: I ordered a few breakout modules with Winbond W25Q128 (16 MByte) from AliExpress for 1.50 each. So if encountering a flash memory chip with an OTP region not yet locked, that interface can be used for erasing it. It turns out some flash memory chips support erasing the OTP region multiple times until becoming locked. While it's "one-time programmable", the code does introduce an ERASE ioctl interface for OTP too. The MTD subsystem has already supported OTP areas but not for SPI-NOR flash memory. In addition to adding the core infrastructure support for OTP to the MTD SPI-NOR code in Linux 5.13, the functionality is wired up for Winbond and similar flash memory chips. The OTP are memory regions intended to be programmed once and can be used for permanent secure identification, immutable properties, and similar purposes. ![]() Linux 5.13 adds the new MTD OTP functions for accessing SPI one-time programmable data. The Linux 5.13 kernel has initial support for dealing with SPI one-time programmable (OTP) flash memory regions.
0 Comments
Leave a Reply. |