Hi Daniel, Ayden,
On 25.04.23 19:03, Daniel RozsnyĆ³ wrote:
I have an Epyc 2nd gen (Rome) system and I am getting this error:
...
Enabling flash write... FCH device found but SMBus revision 0x61 does not match known values.
there's a good chance that the flashrom-stable fork (list in CC) works for your systems. The source code is available via Git
$ git clone -b v1.1 https://review.coreboot.org/flashrom-stable.git
or as a tarball:
https://download.flashrom.org/flashrom-stable/releases/flashrom-stable-v1.1....
Daniel, I've never looked into ebuilds, I suppose it could be easily adapted, though.
If you want to build it manually, check [1] for prerequisites.
I suggest that you make a backup first and try to confirm its consistency before any write attempt. With some luck, there are some markers visible in a hexdump. At *20000 you may see "aa 55 aa 55". And probably in the very last line some pattern with 90* e9. The latter is legacy, though, and may not be there.
This is from one of my AM4 boards: $ hexdump -C /tmp/dump | grep -E '0000 aa 55 aa 55|fff0 (90 )+.*e9' 00020000 aa 55 aa 55 00 00 00 00 00 00 00 00 00 10 02 ff |.U.U............| 00fffff0 90 90 e9 03 e9 00 00 00 fc 00 00 00 00 00 d0 ff |................|
Cheers, Nico