Hello,
I am trying to get flashrom working on my HP EliteDesk 705 G1 (AMD 15h family APU) in preparation for modding NVMe support into its UEFI. I however cannot get flashrom to detect the flash chip, as seen when I try to probe for flash chips:
[nix-shell:~]# flashrom -p internal:laptop=this_is_not_a_laptop flashrom v1.3.0 on Linux 6.1.54 (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). No DMI table found. Found chipset "AMD FCH". Enabling flash write... Disabling write protection of flash addresses from 0xffff0000 to 0xffffffff failed. Disabling write protection of flash addresses from 0xffff0000 to 0xffffffff failed. Disabling write protection of flash addresses from 0xffff0000 to 0xffffffff failed. Disabling write protection of flash addresses from 0xffff0000 to 0xffffffff failed. ERROR: State of SpiAccessMacRomEn or SpiHostAccessRomEn prohibits full access. PROBLEMS, continuing anyway ======================================================================== You may be running flashrom on an unknown laptop. We could not detect this for sure because your vendor has not set up the SMBIOS tables correctly. Some internal buses have been disabled for safety reasons. You can enforce using all buses by adding -p internal:laptop=this_is_not_a_laptop to the command line, but please read the following warning if you are not sure.
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.
This error happens regardless of whether or not the FDO jumper on the motherboard is shorted. From what I see the AMD FCH should be supported by flashrom, so what else can I do to get this working?
Thanks, Duje