Hello Victor, On the first look, your environment probably missing libpci which is required for the internal programmer. For lots of others too, that's why the list of available programmers is very small.
For Debian, you need to install libpci-dev (see here https://flashrom.org/dev_guide/building_from_source.html#linux) You can check the theory before installing the library, if you still have terminal output from building flashrom. Meson prints the info about all dependencies which it found / or not found, also it prints the list of all programmers that are enabled on the environment. You can check the status of pci dependency, and see if internal was enabled. On Fri, Sep 12, 2025 at 6:02 AM Victor Camacho <[email protected]> wrote: > > Hi, > > First, thank to developers for all their hard work. > > > > Short background, I have a few PC Engines computer 2x apu2 and 2 x apu4 > > Working on updating all to recommended v4.17. > > TinyCore on old PC engines did not work for me. > > Install Debian 13, apt install flashrom which installed flashrom 1.4. > > I was able to update the 2 apu2 devices. > > Install Debian 13 on apu4. > > Install flashrom and received error about failed to read fmap. > > Research implied using updated flashrom 1.6. > > Build and install flashrom 1.6 > > (your instructions are simple and spot on, thank you) > > > > Used command that I used on apu2 > > flashrom -p internal -w apu4_v4.17.0.3.rom -c W25Q64JV-.Q --fmap -i COREBOOT > > > > ==== > > /usr/local/sbin/flashrom -p internal -w apu4_v4.17.0.3.rom -c W25Q64JV-.Q > --fmap -i COREBOOT > > flashrom v1.6.0 on Linux 6.12.43+deb13-amd64 (x86_64) > > flashrom is free software, get the source code at https://flashrom.org > > > > Error: Unknown programmer "internal". Valid choices are: > > dummy, serprog, buspirate_spi, rayer_spi, pony_spi, linux_mtd, linux_spi, > > spidriver. > > Please run "flashrom --help" for usage info. > > === > > I could not figure out what programmer to use. > > Any advice would be appreciated, > > Victor > > > > > > > > _______________________________________________ > flashrom mailing list -- [email protected] > To unsubscribe send an email to [email protected] -- Anastasia. _______________________________________________ flashrom mailing list -- [email protected] To unsubscribe send an email to [email protected]
