Hi!
flashrom-1.3.0_3 on FreeBSD 14.1 for pcengines APU1 seems to work with this command:
flashrom -w apu1_v4.17.0.3.rom -c MX25L1605 -p internal:boardmismatch=force
output: flashrom v1.3.0 on FreeBSD 14.1-RELEASE-p5 (amd64) flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 4, resolution: 70ns). coreboot table found at 0xdffdf000. Found chipset "AMD SB7x0/SB8x0/SB9x0". Enabling flash write... OK. Found Macronix flash chip "MX25L1605" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000. === This flash part has status UNTESTED for operations: 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. Thanks for your help! This coreboot image (PC Engines:apu1) does not appear to be correct for the detected mainboard (PC Engines:APU). Proceeding anyway because user forced us to. Reading old flash chip contents... done. Erasing and writing flash chip... FAILED at 0x00001000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x0000ffff: 0xe6f4 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Erase/write done. Verifying flash... VERIFIED.
But it needs a power-cycle 8-(