Lac, Edward has fixed flashrom to accommodate your 0x51 spi, so no need to apply any patch. You can use either:

git clone
git clone

then navigate to the resulting flashrom directory, and do:
make install
Then run flashrom:
flashrom -p internal
It should show your spi chip.

Best Regards,
BTW, my interest is because I have a similar AMD Zen Promontory chip (0x61) as your 0x51 chip. Welcome to the club!

On Sun, Dec 20, 2020 at 7:03 PM Lac Onis <> wrote:
From a Lenovo Ideapad 3 15are05, on Ubuntu 20.04
As suggested, I report the following log.

I'd be happy to have a suggestion on how to flash the Bios.
Thank you!

$ sudo flashrom -r DZCN19WW.original.ROM
flashrom v1.2 on Linux 5.4.0-58-generic (x86_64)
flashrom is free software, get the source code at

Please select a programmer with the --programmer parameter.
To choose the mainboard of this computer use 'internal'. Valid choices are:
internal, dummy, nic3com, nicrealtek, gfxnvidia, drkaiser, satasii, atavia,
it8212, ft2232_spi, serprog, buspirate_spi, dediprog, developerbox, rayer_spi,
pony_spi, nicintel, nicintel_spi, nicintel_eeprom, ogp_spi, satamv, linux_mtd,
linux_spi, usbblaster_spi, pickit2_spi, ch341a_spi, digilent_spi, stlinkv3_spi.

$ sudo flashrom --programmer internal flashrom v1.2 on Linux 5.4.0-58-generic (x86_64) flashrom is free software, get the source code at Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Found chipset "AMD FP4". Enabling flash write... FCH device found but SMBus revision 0x51 does not match known values. Please report this to and include this log and the output of lspci -nnvx, thanks!. Could not determine chipset generation.PROBLEMS, continuing anyway ======================================================================== You seem to be running flashrom on an unknown laptop. Some internal buses have been disabled for safety reasons. Laptops, notebooks and netbooks are difficult to support and we recommend to use the vendor flashing utility. The embedded controller (EC) in these machines often interacts badly with flashing. See the manpage and for details. If flash is shared with the EC, erase is guaranteed to brick your laptop and write may brick your laptop. Read and probe may irritate your EC and cause fan failure, backlight failure and sudden poweroff. You have been warned. ======================================================================== No EEPROM/flash device found. Note: flashrom can never write if the flash chip isn't found automatically.
flashrom mailing list --
To unsubscribe send an email to