Hi Guillermo,
it seems that your kernel does not permit access to the needed regions of /dev/mem. Can you build a custom kernel with `CONFIG_STRICT_DEVMEM=n` and `CONFIG_IO_STRICT_DEVMEM=n` and try again?
Debian has a good starting point in their documentation [0]
I hope you will be successfull with this modifications.
-- Thomas
[0] https://wiki.debian.org/BuildADebianKernelPackage
On Tue, 2023-02-28 at 16:06 -0300, Guillermo Reisch wrote:
Mother home page https://www.msi.com/Motherboard/H97-PC-Mate
SO: Debian SID (x86_64)
FlashROM version: guille@goku:~/Desktop/7850v59$ dpkg -l flashrom Deseado=desconocido(U)/Instalar/eliminaR/Purgar/retener(H)
Estado=No/Inst/ficheros-Conf/desempaqUetado/medio-conF/medio- inst(H)/espera-
disparo(W)/pendienTe-disparo
/ Err?=(ninguno)/requiere-Reinst (Estado,Err: mayúsc.=malo)
/ Nombre Versión Arquitectura Descripción
+++-==============-============-============-
ii flashrom 1.3.0-2 amd64 Identify, read, write, erase, and verify BIOS/ROM/flash chips
LOG:
guille@goku:~/Desktop/7850v59$ sudo flashrom -p internal -r backup.bin -V flashrom unknown on Linux 6.1.0-5-amd64 (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). flashrom was built with GCC 12.2.0, little endian Command line (5 args): flashrom -p internal -r backup.bin -V Initializing internal programmer /sys/class/mtd/mtd0 does not exist No coreboot table found. Using Internal DMI decoder. DMI string chassis-type: "Desktop" DMI string system-manufacturer: "MSI" DMI string system-product-name: "MS-7850" DMI string system-version: "1.0" DMI string baseboard-manufacturer: "MSI" DMI string baseboard-product-name: "H97 PC Mate(MS-7850)" DMI string baseboard-version: "1.0" Found chipset "Intel H97" with PCI ID 8086:8cc6. This chipset is marked as untested. If you are using an up-to-date version of flashrom *and* were (not) able to successfully update your firmware with it, then please email a report to flashrom@flashrom.org including a verbose (-V) log. Thank you! Enabling flash write... Root Complex Register Block address = 0xfed1c000 Error accessing ICH RCRB, 0x4000 bytes at 0x00000000fed1c000 /dev/mem mmap failed: Operation not permitted FAILED! FATAL ERROR! Error: Programmer initialization failed.
flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org