mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* batch1 * batch2 * batch3 * batch4 * Update matchpathcon.md * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
24 lines
665 B
Markdown
24 lines
665 B
Markdown
# flashrom
|
|
|
|
> Read, write, verify and erase flash chips.
|
|
> More information: <https://manned.org/flashrom>.
|
|
|
|
- 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}}`
|