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.
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
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
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 laconis71@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 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
flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org
On Tue, 22 Dec 2020 at 08:40, Clay Daniels clay.daniels.jr@gmail.com wrote:
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.
Thanks Clay for helping to explain!
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
git fetch "https://review.coreboot.org/flashrom" refs/changes/79/48779/1 && git cherry-pick FETCH_HEAD
then proceed with the rest of Clay's instructions..
# 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 laconis71@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 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
flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org
Lac, Edward has fixed flashrom to accommodate your 0x51 spi, so no need to apply any patch. You can use either:
*git clone https://review.coreboot.org/flashrom.git https://review.coreboot.org/flashrom.git * or *git clone https://github.com/flashrom/flashrom.git https://github.com/flashrom/flashrom.git*
then navigate to the resulting flashrom directory, and do: *make* *make install* Then run flashrom: *flashrom -p internal* It should show your spi chip.
Best Regards, Clay 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 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
Thank you Clay for your help and Edward for the commit. Here is the result avec successful make and make install :
$ sudo flashrom -p internal flashrom v1.2-169-g10d71d9 on Linux 5.8.18-050818-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... ERROR: State of SpiAccessMacRomEn or SpiHostAccessRomEn prohibits full access. 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.
Le mer. 23 déc. 2020 à 21:24, Clay Daniels clay.daniels.jr@gmail.com a écrit :
Lac, Edward has fixed flashrom to accommodate your 0x51 spi, so no need to apply any patch. You can use either:
*git clone https://review.coreboot.org/flashrom.git https://review.coreboot.org/flashrom.git * or *git clone https://github.com/flashrom/flashrom.git https://github.com/flashrom/flashrom.git*
then navigate to the resulting flashrom directory, and do: *make* *make install* Then run flashrom: *flashrom -p internal* It should show your spi chip.
Best Regards, Clay 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 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