merge / skulls

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

Issue flashing bottom ship #218

Closed TheWanderer1983 closed 2 years ago

TheWanderer1983 commented 2 years ago

sudo ./external_install_bottom.sh -m -k backup.bin Skulls

Please select the hardware you use: 1) Raspberry Pi 2) CH341A 3) Exit Please select the hardware flasher: 1 Ok. Run this on a Rasperry Pi. trying to detect the chip... chip not detected. flashrom on Linux 5.10.63-v7+ (armv7l) flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Found Macronix flash chip "MX25L3206E/MX25L3208E" (4096 kB, SPI) on linux_spi. No operations were specified. chip not detected. Please find it manually and rerun with the -c parameter.

Manually using -c and specifying MX25L3206E/MX25L3208E works.

TheWanderer1983 commented 2 years ago

This was interesting to me and worth a comment. I was following the wire diagram on the website but I'm using a pi 3b+. The layout is different and the CS is on GPIO 8 not 24. When I had it on 24 it was incorrectly detecting the EC as MX25L3206E/MX25L3208E and with 4MB in size. After swaping CS to GPIO 8 it was correctly detecting it as Winbond w25q64fv and 8MB is size.