Attention is currently required from: Peter Marheine. Thomas Heijligen has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/61198 )
Change subject: meson: build hwaccess only on x86 ......................................................................
Patch Set 3:
(1 comment)
File meson.build:
https://review.coreboot.org/c/flashrom/+/61198/comment/abe44c83_9d358630 PS3, Line 357: error('RAW access is not available on non-x86 platforms. Disable the programmer which needs it. Use `meson build -Dpciutils=false -Dconfig_rayer_spi=false`')
Or it seems https://review.coreboot. […]
rget_io_perms() is for gaining access to x86 I/O ports, so all programmer which calls it, need access to x86 I/O ports and can't run on other platforms. This is the current behavior. A while ago this was different, with some programmers just call the function and non x86 platforms have the empty dummy implementation. The dummy implementation is left for DOS and libpayload which does not require access privileges. The Makefile has already adapted to it, but meson is lacking behind.
This patch should restore old behavior, but is far from good. The right way would be to resolve the real dependencies for each programmer properly like in the Makefile.