Bug #575
openLenovo Thinkpad w541 - read local not work with 1.5.0-devel
0%
Description
Hello,
with older Version of flashrom I could read with this command:
sudo flashrom -p internal:laptop=force_I_want_a_brick -r bios_save.rom
but with: Version1.5.0-devel
got this Message:
flashrom 1.5.0-devel (git:v1.4.0-49-gb6b0eba3) on Linux 6.1.0-30-amd64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Error: Unknown programmer "internal:laptop=force_I_want_a_brick". Valid choices are:
dummy, raiden_debug_spi, serprog, buspirate_spi, dediprog, developerbox,
rayer_spi, pony_spi, linux_mtd, linux_spi, pickit2_spi, ch341a_spi, ch347_spi,
digilent_spi, stlinkv3_spi, dirtyjtag_spi.
Please run "flashrom --help" for usage info
How is the right way to do it now ?
$ sudo flashrom -p dummy -r bios_save.rom
flashrom 1.5.0-devel (git:v1.4.0-49-gb6b0eba3) on Linux 6.1.0-30-amd64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.
Updated by Anastasia Klimchuk about 1 month ago
- Status changed from New to In Progress
- Assignee set to Anastasia Klimchuk
Hello dennis, it says "unknown programmer", so internal programmer was not enabled at build time.
Could be that a library is missing, I think internal group needs libpci https://github.com/flashrom/flashrom/blob/main/meson.build#L162
Can you check the logs from building flashrom? or you can post logs here.
when you build, in the beginning meson prints information about environment, and about each library relevant to flashrom, whether library found or not.