Attention is currently required from: Felix Singer, Thomas Heijligen, Angel Pons, Anastasia Klimchuk.
Hello Felix Singer, build bot (Jenkins), Thomas Heijligen, Angel Pons, Anastasia Klimchuk,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/71801
to look at the new patch set (#6).
Change subject: programmer: Add bitbanging programmer driver for Linux libgpiod ......................................................................
programmer: Add bitbanging programmer driver for Linux libgpiod
With this driver, any single board computer, old smartphone, etc. with a few spare GPIOs can be used for flashrom.
Tested by reading of a 2048 kB flash chip on a Qualcomm MSM8916 SoC @800 MHz, ran the following command:
time flashrom -p linux_gpiod:gpiochip=0,cs=18,sck=19,mosi=13,miso=56 -r test.bin
This command uses /dev/gpiochip0 with the specified GPIO numbers for the SPI lines. All arguments are mandatory.
Output: [...] Found GigaDevice flash chip "GD25LQ16" (2048 kB, SPI) on linux_gpiod. [...] real 1m 33.96s
Change-Id: Icad3eb7764f28feaea51bda3a7893da724c86d06 Signed-off-by: Steve Markgraf steve@steve-m.de --- M Documentation/building.md M MAINTAINERS M Makefile M README M flashrom.8.tmpl M include/programmer.h A linux_gpiod.c M meson.build M meson_options.txt M programmer_table.c M test_build.sh M util/manibuilder/Dockerfile.alpine M util/manibuilder/Dockerfile.centos M util/manibuilder/Dockerfile.debian-debootstrap M util/manibuilder/Dockerfile.fedora M util/manibuilder/Dockerfile.ubuntu-debootstrap M util/shell.nix 17 files changed, 289 insertions(+), 20 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/01/71801/6