Hi,
I've got a APU2.e PCB with a AT25SF641 for the serial flash (flash PN based on looking at the PCB).
Trying to run flashrom (via a Debian live usb stick...I'm having no issues with APU2 booting accessing serial console) as follows yields a lot of output, but nothing useful...is this expected with a AT25SF641? 

Other people commenting on the interweb with the APUs seem to be seeing Winbond (and no issues)
Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x00000000ff800000
Any thoughts are greatly appreciated
Jon
flashrom -w apu2_v4.17.0.2.rom -p internal:boardmismatch=force
flashrom v1.2 on Linux 5.10.0-20-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).
coreboot table found at 0xcfec5000.
Found chipset "AMD FCH".
Enabling flash write... OK.
Error accessing GD25Q256D, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip GD25Q256D at 0x00000000fe000000.
Error accessing IS25LP256, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip IS25LP256 at 0x00000000fe000000.
Error accessing IS25WP256, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip IS25WP256 at 0x00000000fe000000.
Error accessing MX25L25635F/MX25L25645G, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MX25L25635F/MX25L25645G at 0x00000000fe000000.
Error accessing MX25U25635F, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MX25U25635F at 0x00000000fe000000.
Error accessing MX25U51245G, 0x4000000 bytes at 0x00000000fc000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MX25U51245G at 0x00000000fc000000.
Error accessing MX66L51235F/MX25L51245G, 0x4000000 bytes at 0x00000000fc000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MX66L51235F/MX25L51245G at 0x00000000fc000000.
Error accessing N25Q00A..1G, 0x8000000 bytes at 0x00000000f8000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip N25Q00A..1G at 0x00000000f8000000.
Error accessing N25Q00A..3G, 0x8000000 bytes at 0x00000000f8000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip N25Q00A..3G at 0x00000000f8000000.
Error accessing N25Q256..1E, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip N25Q256..1E at 0x00000000fe000000.
Error accessing N25Q256..3E, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip N25Q256..3E at 0x00000000fe000000.
Error accessing N25Q512..1G, 0x4000000 bytes at 0x00000000fc000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip N25Q512..1G at 0x00000000fc000000.
Error accessing N25Q512..3G, 0x4000000 bytes at 0x00000000fc000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip N25Q512..3G at 0x00000000fc000000.
Error accessing MT25QL01G, 0x8000000 bytes at 0x00000000f8000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MT25QL01G at 0x00000000f8000000.
Error accessing MT25QU01G, 0x8000000 bytes at 0x00000000f8000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MT25QU01G at 0x00000000f8000000.
Error accessing MT25QL02G, 0x10000000 bytes at 0x00000000f0000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MT25QL02G at 0x00000000f0000000.
Error accessing MT25QU02G, 0x10000000 bytes at 0x00000000f0000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MT25QU02G at 0x00000000f0000000.
Error accessing MT25QL256, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MT25QL256 at 0x00000000fe000000.
Error accessing MT25QU256, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MT25QU256 at 0x00000000fe000000.
Error accessing MT25QL512, 0x4000000 bytes at 0x00000000fc000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MT25QL512 at 0x00000000fc000000.
Error accessing MT25QU512, 0x4000000 bytes at 0x00000000fc000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip MT25QU512 at 0x00000000fc000000.
Error accessing S25FL256S......0, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip S25FL256S......0 at 0x00000000fe000000.
Error accessing S25FL512S, 0x4000000 bytes at 0x00000000fc000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip S25FL512S at 0x00000000fc000000.
Error accessing W25Q256.V, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip W25Q256.V at 0x00000000fe000000.
Error accessing W25Q256JV_M, 0x2000000 bytes at 0x00000000fe000000
/dev/mem mmap failed: Operation not permitted
Could not map flash chip W25Q256JV_M at 0x00000000fe000000.
Found Atmel flash chip "unknown Atmel SPI chip" (0 kB, SPI) mapped at physical address 0x0000000000000000.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
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!
Error: Image size (8388608 B) doesn't match the flash chip's size (0 B)!