EC protection, Librem 14

Yes, the switch does something, as it toggles the #WP (write protect) pin on the respective SPI flash chips. But in contrast to what one could assume that this would immediately write/erase protect the chip it only prevents pages of flash content to be non-software eraseable that have been previously marked as “write protected”. So this in the end means that the software writing to the flash chips needs to support setting this write protect flag. And right now neither the EC flashing tool does support this nor does flashrom for the main BIOS - and we simply have not had teh time to implement and/or push this forward yet. But the hardware is there to support it. If someone wants to have a look at it, it’s all open source, we would gladly accept patches!

Cheers
nicole

3 Likes