Thank you! I understand the commit but not how to proceed. What should i do with this .c file?
Kind regards



Le lun. 21 déc. 2020 02 h 30, Edward O'Callaghan <quasisec@google.com> a écrit :
Hi,

Please try the following
https://review.coreboot.org/c/flashrom/+/48779 and let me know if it
works for you?

Kind regards,
Edward.


On Mon, 21 Dec 2020 at 12:03, Lac Onis <laconis71@gmail.com> 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 https://flashrom.org
>
> 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 https://flashrom.org
>
> 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 flashrom@flashrom.org 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 https://flashrom.org/Laptops 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 -- flashrom@flashrom.org
> To unsubscribe send an email to flashrom-leave@flashrom.org