Flashing 09/14/2024 upgrade to Stout (Thinkpad X131e) fails

FYI, looks like flashing Stout is broken (unless I’m doing something wrong). I’m booting with Debian 12.x live with iomem=relaxed and running the firmware upgrade script (curl -LO mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh) on Stout. This has worked well for me in the past. The relevant part of the log has:

Updating flash chip contents… erase_write: region (00000000…0x7fffff) is writable, erasing range (0x200000…0x7fffff).
Invalid OPCODE 0x06, will not execute.
spi_write_cmd failed during command execution at address 0x558000
Erase/write done from 200000 to 7fffff
Write Failed!Uh oh. Erase/write failed.
Your flash chip is in an unknown state.

it’s a flashrom issue, I just rolled back the version of flashrom so exit the script and then run:

sudo rm /tmp/flashrom*

then re-run the script and it should download the older flashrom and use that, and flashing should succeed

That did it. Thank you for your excellent work!

1 Like