System Grab Bag

View all TLDR pages from Linux (or from all pages)

flashrom

Read, write, verify and erase flash chips. More information: https://manned.org/flashrom.
  • Probe the chip, ensuring the wiring is correct:
    flashrom --programmer {{programmer}}
  • Read flash and save it to a file:
    flashrom -p {{programmer}} --read {{path/to/file}}
  • Write a file to the flash:
    flashrom -p {{programmer}} --write {{path/to/file}}
  • Verify the flash against a file:
    flashrom -p {{programmer}} --verify {{path/to/file}}
  • Probe the chip using Raspberry Pi:
    flashrom -p {{linux_spi:dev=/dev/spidev0.0}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.