linuxboot/initrd/bin/flashrom-x230.sh
Trammell Hudson 8589370708
Flash writing from userspace works (issue #17).
Reduce the size of flashrom by commenting out most flash chips,
boards and programmers.

Wrapper script to make it easier to rewrite the ROM on the x230
using the flashrom layout.

Keep the entire 12 MB ROM for flashing.
2017-03-30 17:12:22 -04:00

10 lines
130 B
Bash
Executable File

#!/bin/sh
flashrom \
--force \
--noverify \
--programmer internal \
--layout /etc/x230-layout.txt \
--image BIOS \
-w "$*"