merge / skulls

pre-built coreboot images and documentation on how to flash them for Thinkpad Laptops
GNU General Public License v3.0
677 stars 66 forks source link

x230 Error: Extra parameter found. #52

Closed DanitiKain closed 5 years ago

DanitiKain commented 5 years ago

sudo ./external_install_bottom.sh -m -k x230sbackup.bin Skulls for the X230

Please select the hardware you use: 1) Raspberry Pi 2) CH341A 3) Exit Please select the hardware flasher: 2 Ok. Connect a CH341A programmer trying to detect the chip... Detected . make: Entering directory '/home/littedipper/Downloads/skulls-x230-0.1.0/util/ifdtool' make: Leaving directory '/home/littedipper/Downloads/skulls-x230-0.1.0/util/ifdtool' Intel ME will be cleaned. The flash ROM will be unlocked. Start reading 2 times. Please be patient... flashrom v0.9.9-r1954 on Linux 4.19.0-1-amd64 (x86_64) flashrom is free software, get the source code at https://flashrom.org

Error: Extra parameter found. Please run "flashrom --help" for usage info.

DanitiKain commented 5 years ago

Note I have flashed a T440p with this same ch341a just moments ago as well.

merge commented 5 years ago

aha. thanks for this report! This is a bug in our scripts.

Would you post the output of flashrom -p ch341a_spi directly?

DanitiKain commented 5 years ago

flashrom -p ch341a_spi flashrom v0.9.9-r1954 on Linux 4.19.0-1-amd64 (x86_64) flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK. Found Macronix flash chip "MX25L6405" (8192 kB, SPI) on ch341a_spi. Found Macronix flash chip "MX25L6405D" (8192 kB, SPI) on ch341a_spi. Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on ch341a_spi. Found Macronix flash chip "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E" (8192 kB, SPI) on ch341a_spi. Multiple flash chip definitions match the detected chip(s): "MX25L6405", "MX25L6405D", "MX25L6406E/MX25L6408E", "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E" Please specify which chip definition to use with the -c option.