Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmer dirtyjtag_spi can never be enabled #296

Closed
davidthings opened this issue Jun 4, 2023 · 1 comment
Closed

Programmer dirtyjtag_spi can never be enabled #296

davidthings opened this issue Jun 4, 2023 · 1 comment

Comments

@davidthings
Copy link

In the parade of programmer enablement in the Makefile, CONFIG_DIRTYJTAG_SPI being set should add a define to FEATURE_FLAGS like every other programmer. Sadly it adds it to (creates) FEATURE_CFLAGS - a mistake.

Your DirtyJTAG stanza (approximately line 836) should look like this:

ifeq ($(CONFIG_DIRTYJTAG_SPI), yes)
FEATURE_FLAGS += -D'CONFIG_DIRTYJTAG_SPI=1'
PROGRAMMER_OBJS += dirtyjtag_spi.o
ACTIVE_PROGRAMMERS += dirtyjtag_spi
endif

'make config', 'make clean', 'make' and you're in (dirty) business

$ ./flashrom -L
...
Supported programmers:
dummy, raiden_debug_spi, ft2232_spi, serprog, buspirate_spi, dediprog,
developerbox, rayer_spi, pony_spi, linux_mtd, linux_spi, usbblaster_spi,
pickit2_spi, ch341a_spi, ch347_spi, digilent_spi, stlinkv3_spi, dirtyjtag_spi
...
@github-actions
Copy link

github-actions bot commented Jun 4, 2023

Thank you for your contribution. The flashrom project does not handle GitHub issues or pull requests, since this repository on GitHub is just a mirror of our actual repository. Thus, we would like to encourage you to have a look at on our development guidelines and submit your patch to review.coreboot.org. Issues are handled over our ticket system. If you have questions, feel free to reach out to us. There are multiple ways to contact us.

@github-actions github-actions bot closed this as completed Jun 4, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant