Hello Thomas,
 Thanks a tonne. I managed to compile it with the internal programmer.
Best regards,
Selva

On Friday, May 13, 2022, 09:35:56 PM GMT+8, Thomas Heijligen <src@posteo.de> wrote:


Hi Selva,

You've compiled flashrom without the support for the internal
programmer. Please install `pkg-config` or `pkgconf` and `libpci`
(`pciutils-devel`) and rebuild flashrom. Use `make CONFIG_INTERNAL=yes`
to enforce the build with the internal programmer.

-- Thomas

On Fri, 2022-05-13 at 08:35 +0000, Selva Harris via flashrom wrote:
> Hi,
>
>  I have an Intel Apollo lake board. I want to read the SPI chip. When
> I run 'flashrom -p internal', this is the message I get:
>
>
>
> flashrom v1.2-735-gb728f4b on Linux 4.5.5-300.fc24.x86_64 (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).
> Error: Unknown programmer "internal". Valid choices are:
> dummy, serprog, buspirate_spi, rayer_spi, pony_spi, linux_mtd,
> linux_spi.
> Please run "flashrom --help" for usage info.
>
>
>
> Thanks in advance,
> Selva

> _______________________________________________
> flashrom mailing list -- flashrom@flashrom.org
> To unsubscribe send an email to flashrom-leave@flashrom.org