Lac, you probably installed flashrom from a binary package. The fix Edward
gives is intended to go into a source file sb600spi.c and then compiled to
produce the executable binary on your Lenovo Ideapad 3.

Go to: https://www.flashrom.org/Downloads

You will need to make sure you install the required dependent apps &
libraries, then download the source. My suggestion is from GitHub thus:

# git clone https://github.com/flashrom/flashrom.git

When you have the source downloaded, navigate to the flashrom directory you
have made and edit sb600spi.c to include your rev=0x51 chip. It's just a
one line edit.

Then, while in the flashrom directory, do
# make
stuff happens
# make install

Then try running:
# flashrom -p internal

Hope this helps,
Clay

On Mon, Dec 21, 2020 at 1:29 AM Lac Onis <laconi...@gmail.com> wrote:

> 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 <quasi...@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 <laconi...@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-le...@flashrom.org
>>
> _______________________________________________
> flashrom mailing list -- flashrom@flashrom.org
> To unsubscribe send an email to flashrom-le...@flashrom.org
>
_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org

Reply via email to