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
[1] https://www.flashrom.org/Downloads
Hi folks,
after a little more (boring) testing, the v1.1 release is ready and
tagged. 281 commits went into this release. About 200 of them were
cherry-picks from the original master branch. After those, regular
development continued, mostly adding more programmer drivers.
# What changed
* The buildsystem integration was almost re-written. The Makefile
looks a lot cleaner now, and Meson is ready to be used on more
than just Linux.
* Two new programmer drivers were added:
`ch347_spi`, `linux_gpio_spi`
* The `dirtyjtag_spi` driver is DJTAG2 ready.
* The `internal` programmer has a new driver for AMD's SPI100
controller now. This was tested with different chipset confi-
gurations on Pinnacle Ridge, Raven Ridge, Matisse, Vermeer,
and Genoa(!) :)
* And the usual smaller refactorings and other changes.
# Download
The official tarball + signature live on flashrom.org now:
https://download.flashrom.org/flashrom-stable/releases/flashrom-stable-v1.1…https://download.flashrom.org/flashrom-stable/releases/flashrom-stable-v1.1…
And of course, there's the Git tag `v1.1`.
# What was tested recently:
* external SPI: ch347_spi, ft2232_spi, dirtyjtag_spi, buspirate_spi,
serprog (w/ stm32-vserprog, SPI flash), pickit2_spi,
jlink_spi, usbblaster_spi, ch341a_spi, linux_spi and
linux_gpio_spi
* internal: SPI on Intel ICH7, ICH9 (hw&sw sequencing), PCH7, and APL,
Parallel through VIA VT82C686 southbridge
Cheers,
Nico