Public bug reported: The Raspberry Pi flashrom package includes patches an SFDP bug, and for (otherwise unknown) Atmel chips. These are required to avoid leaving certain chips in a half-written state (these chips are now present on some of the flagship models).
Copying note from https://github.com/raspberrypi/rpi-eeprom#flashrom- spi-flash-chip-support : flashrom SPI flash-chip support Before performing an immediate update, rpi-eeprom-update probes the SPI flash via flashrom -p linux_spi:dev=<spidev> and aborts back to a staged update if the probe fails, or reports Unknown flash chip with an unpatched upstream flashrom 1.4 – 1.6. This guards against a class of upstream bugs in flashrom 1.4 – 1.6 where erase operations were issued incorrectly for chips that are recognised only via SFDP, which can leave the EEPROM in a partially-erased state. Raspberry Pi OS ships a patched downstream flashrom 1.4 with the SFDP erase bugs fixed. If you are running rpi-eeprom-update on another distribution, either use that patched build or a flashrom release new enough to contain the upstream fix; otherwise leave RPI_EEPROM_IMMEDIATE_UPDATE unset and rely on the staged update path. ** Affects: flashrom (Ubuntu) Importance: High Assignee: Dave Jones (waveform) Status: Triaged ** Changed in: flashrom (Ubuntu) Status: New => Triaged ** Changed in: flashrom (Ubuntu) Importance: Undecided => High ** Changed in: flashrom (Ubuntu) Assignee: (unassigned) => Dave Jones (waveform) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2160030 Title: Include patches from Raspberry Pi for Atmel flashchips To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flashrom/+bug/2160030/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
