我开始学闪光灯了。从这里下载"flashrom.tar.gz“https://review.coreboot.org/cgit/flashrom.git/snapshot/flashrom-p1.0.tar.gz。无法理解如何安装此软件包。任何帮助都将不胜感激。
发布于 2018-06-07 21:02:52
您应该使用以下方法安装构建必需的和依赖项:
sudo apt-get install build-essential libpci-dev libusb-dev libusb-1.0-0-dev \
libftdi-dev linux-headers-generic然后下载、解压缩和编译应用程序:
cd ~/Downloads
wget https://review.coreboot.org/cgit/flashrom.git/snapshot/flashrom-p1.0.tar.gz
tar -xf flashrom-p1.0.tar.gz
cd flashrom-p1.0/
make编译后,您将在当前目录中找到flashrom可执行文件,它将产生以下输出:
$./flashrom
flashrom on Linux 4.15.0-20-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Please select a programmer with the --programmer parameter.
Previously this was not necessary because there was a default set.
To choose the mainboard of this computer use 'internal'. Valid choices are:
internal, dummy, nic3com, nicrealtek, gfxnvidia, drkaiser, satasii, atavia,
it8212, ft2232_spi, serprog, buspirate_spi, dediprog, rayer_spi, pony_spi,
nicintel, nicintel_spi, nicintel_eeprom, ogp_spi, satamv, linux_spi,
usbblaster_spi, pickit2_spi, ch341a_spi.https://askubuntu.com/questions/1044359
复制相似问题