Skip to content

Instantly share code, notes, and snippets.

@cstratton
Created September 19, 2018 20:20
Show Gist options
  • Save cstratton/26a3225cf2f1732a3d89fb67faf9cbb7 to your computer and use it in GitHub Desktop.
Save cstratton/26a3225cf2f1732a3d89fb67faf9cbb7 to your computer and use it in GitHub Desktop.
Flashrom with low dependenices on beagle, pi, etc
git clone https://review.coreboot.org/cgit/flashrom.git
make CONFIG_SATAMV=0 CONFIG_LINUX_I2C=0 NOWARNERROR=yes CONFIG_LINUX_SPI=yes CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no
on a pi
flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=1000
on a beagle
flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment