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

Missing USB programmer support when building on arm64 #302

Closed
AnotherWayIn opened this issue Jul 14, 2023 · 1 comment
Closed

Missing USB programmer support when building on arm64 #302

AnotherWayIn opened this issue Jul 14, 2023 · 1 comment

Comments

@AnotherWayIn
Copy link

The apt 1.2-5 version works, but i need the XMC chip support so i want the latest version installing. When i try to build from source for some reason i don't see any support for USB programmers:

make:

Building flashrom version 1.4.0-devel (git:v1.2-1321-gea54723c)
C compiler found: cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Target arch: arm
Target OS: Linux
Target endian: little
Dependency libpci found: no
Dependency libusb1 found: no
Dependency libjaylink found: no
Dependency NI-845x found: no
Dependency libftdi1 found: no
Checking for header "mtd/mtd-user.h": yes
Checking for header "linux/spi/spidev.h": yes
Checking for header "linux/i2c-dev.h": yes
Checking for header "linux/i2c.h": yes
Checking for header "sys/utsname.h": yes
Checking for function "clock_gettime": yes
Checking for external "librt": yes
Checking for program "sphinx-build": yes /usr/bin/sphinx-build

sudo make install:

Building flashrom version 1.4.0-devel (git:v1.2-1321-gea54723c)
C compiler found: cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Target arch: arm
Target OS: Linux
Target endian: little
Dependency libpci found: no
Dependency libusb1 found: no
Dependency libjaylink found: no
Dependency NI-845x found: no
Dependency libftdi1 found: no
Checking for header "mtd/mtd-user.h": yes
Checking for header "linux/spi/spidev.h": yes
Checking for header "linux/i2c-dev.h": yes
Checking for header "linux/i2c.h": yes
Checking for header "sys/utsname.h": yes
Checking for function "clock_gettime": yes
Checking for external "librt": yes
Checking for program "sphinx-build": yes /usr/bin/sphinx-build
sed -e 's/@PROGRAMMERS@/serprog pony_spi dummyflasher buspirate_spi linux_mtd linux_spi/g' <util/flashrom.bash-completion.tmpl >flashrom.bash
mkdir -p /usr/local/sbin
install -m 0755 flashrom /usr/local/sbin
mkdir -p /usr/local/share/bash-completion/completions
install -m 0644 flashrom.bash /usr/local/share/bash-completion/completions

The build appears to complete ok, but i only see minimal programmer support:

Supported programmers:
dummy, serprog, buspirate_spi, pony_spi, linux_mtd, linux_spi

Supported devices for the dummy programmer:
Dummy device, does nothing and logs all accesses

Supported devices for the serprog programmer:
All programmer devices speaking the serprog protocol

Supported devices for the buspirate_spi programmer:
Dangerous Prototypes Bus Pirate

Supported devices for the pony_spi programmer:
Programmers compatible with SI-Prog, serbang or AJAWe

Supported devices for the linux_mtd programmer:
Device files /dev/mtd*

Supported devices for the linux_spi programmer:
Device files /dev/spidev*.*

@github-actions
Copy link

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 locked and limited conversation to collaborators Jul 14, 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