commands.sh

flashrom

linux

Read, write, verify, and erase flash chips.

More info →

Options (4)

-p, --programmerboolean

Probe the chip, ensuring the wiring is correct

Example: flashrom {{[-p|--programmer]}} {{programmer}}
-r, --readboolean

Read flash and save it to a file

Example: flashrom {{[-p|--programmer]}} {{programmer}} {{[-r|--read]}} {{path/to/file}}
-w, --writeboolean

Write a file to the flash

Example: flashrom {{[-p|--programmer]}} {{programmer}} {{[-w|--write]}} {{path/to/file}}
-v, --verifyboolean

Verify the flash against a file

Example: flashrom {{[-p|--programmer]}} {{programmer}} {{[-v|--verify]}} {{path/to/file}}

Examples (5)

Probe the chip, ensuring the wiring is correct

flashrom [-p|--programmer] programmer

Read flash and save it to a file

flashrom [-p|--programmer] programmer [-r|--read] path/to/file

Write a file to the flash

flashrom [-p|--programmer] programmer [-w|--write] path/to/file

Verify the flash against a file

flashrom [-p|--programmer] programmer [-v|--verify] path/to/file

Probe the chip using Raspberry Pi

flashrom [-p|--programmer] linux_spi:dev=/dev/spidev0.0
made by @shridhargupta | data from tldr-pages