I'm running "Fedora Linux 41 (KDE Plasma)" with
AD0J0161 hoping to upgrade to
AD0J0191
Trying above to back-up BIOS I'm getting
Code:
root@fedora:/tmp# flashrom --programmer internal -c "Opaque flash chip" -r bios_flash_backup.bin
flashrom 1.4.0 on Linux 6.11.8-300.fc41.x86_64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Cannot open file stream for /dev/mtd0
No DMI table found.
Found chipset "Intel Alder Lake-N".
Enabling flash write... Error accessing SPIBAR, 0x1000 bytes at 0x0000000080600000
/dev/mem mmap failed: Operation not permitted
FAILED!
FATAL ERROR!
Error: Programmer initialization failed.
From
https://www.flashrom.org/user_docs/misc_notes.html
I updated
/etc/default/grub with
Code:
GRUB_CMDLINE_LINUX="iomem=relaxed rhgb quiet"
And applied change with
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
After reboot the backup works
Code:
root@fedora:/home/aender/Downloads/Z100-0dB-BIOS-20240308-AD0J0191# flashrom --programmer internal -c "Opaque flash chip" -r bios_flash_backup.bin
flashrom 1.4.0 on Linux 6.11.8-300.fc41.x86_64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Cannot open file stream for /dev/mtd0
No DMI table found.
Found chipset "Intel Alder Lake-N".
Enabling flash write... SPI Configuration is locked down.
FREG0: Flash Descriptor region (0x00000000-0x00000fff) is read-write.
FREG1: BIOS region (0x00500000-0x00ffffff) is read-write.
FREG2: Management Engine region (0x00001000-0x00411fff) is read-write.
Enabling hardware sequencing because some important opcode is locked.
OK.
Found XMC flash chip "XM25QH128C" (16384 kB, Programmer-specific) on internal.
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
You can also try to follow the instructions here:
https://www.flashrom.org/contrib_howtos/how_to_mark_chip_tested.html
Thanks for your help!
Reading flash... done.
But when trying to flash 181 or 191 I get
Code:
root@fedora:/home/aender/Downloads/Z100-0dB-BIOS-20240308-AD0J0191/Z100-0dB-BIOS-20240308-AD0J0181# flashrom --programmer internal -c "Opaque flash chip" -w AD0J0181.bin
flashrom 1.4.0 on Linux 6.11.8-300.fc41.x86_64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Cannot open file stream for /dev/mtd0
No DMI table found.
Found chipset "Intel Alder Lake-N".
Enabling flash write... SPI Configuration is locked down.
FREG0: Flash Descriptor region (0x00000000-0x00000fff) is read-write.
FREG1: BIOS region (0x00500000-0x00ffffff) is read-write.
FREG2: Management Engine region (0x00001000-0x00411fff) is read-write.
Enabling hardware sequencing because some important opcode is locked.
OK.
Found XMC flash chip "XM25QH128C" (16384 kB, Programmer-specific) on internal.
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
You can also try to follow the instructions here:
https://www.flashrom.org/contrib_howtos/how_to_mark_chip_tested.html
Thanks for your help!
Reading old flash chip contents... done.
Erase/write done from 0 to ffffff
Verifying flash... FAILED at 0x0050008f! Expected=0xf8, Found=0xf0, failed byte count from 0x00000000-0x00ffffff: 0x1
Your flash chip is in an unknown state.
Get help on IRC (see https://www.flashrom.org/Contact) or mail
flashrom@flashrom.org with the subject "FAILED: <your board name>"!-------------------------------------------------------------------------------
DO NOT REBOOT OR POWEROFF!
Recovery from backup works
Code:
root@fedora:/home/aender/Downloads/Z100-0dB-BIOS-20240308-AD0J0191# flashrom --programmer internal -c "Opaque flash chip" -w bios_flash_backup.bin
flashrom 1.4.0 on Linux 6.11.8-300.fc41.x86_64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Cannot open file stream for /dev/mtd0
No DMI table found.
Found chipset "Intel Alder Lake-N".
Enabling flash write... SPI Configuration is locked down.
FREG0: Flash Descriptor region (0x00000000-0x00000fff) is read-write.
FREG1: BIOS region (0x00500000-0x00ffffff) is read-write.
FREG2: Management Engine region (0x00001000-0x00411fff) is read-write.
Enabling hardware sequencing because some important opcode is locked.
OK.
Found XMC flash chip "XM25QH128C" (16384 kB, Programmer-specific) on internal.
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
You can also try to follow the instructions here:
https://www.flashrom.org/contrib_howtos/how_to_mark_chip_tested.html
Thanks for your help!
Reading old flash chip contents... done.
Erase/write done from 0 to ffffff
Verifying flash... VERIFIED.
Any idea why 181 or 191 won't flash
I downloaded the
Z100-0dB-BIOS-*
from
https://files.theminixforum.com/shared/bios/