Package Details: openfpgaloader-git nightly.r.0.g7ed432c-1

Git Clone URL: https://aur.archlinux.org/openfpgaloader-git.git (read-only, click to copy)
Package Base: openfpgaloader-git
Description: Universal utility for programming FPGA
Upstream URL: https://github.com/trabucayre/openFPGALoader
Licenses: Apache
Conflicts: openfpgaloader
Provides: openfpgaloader
Submitter: nobodywasishere
Maintainer: nobodywasishere
Last Packager: nobodywasishere
Votes: 1
Popularity: 0.23
First Submitted: 2020-08-11 05:46 (UTC)
Last Updated: 2021-11-14 22:19 (UTC)

Latest Comments

ivanovp commented on 2022-03-11 21:19 (UTC)

Cannot build: ==> Starting build()... CMake Error: The source directory "/tmp/yaourt-tmp-ivanovp/aur-openfpgaloader-git/src/openfpgaloader-git-nightly.r.0.g964c7d6" does not appear to contain CMakeLists.txt.

Popolon commented on 2021-11-15 22:33 (UTC)

Thank you, it works perfectly, I also compiled this AUR PKGBUILD from an Arch Linux ARM (or ALARM) on an ARMv7 board and work nicely too. I hope we will have soon a RISC-V version of Arch Linux :).

nobodywasishere commented on 2021-11-14 22:20 (UTC)

@Popolon thank you for the catch and fix! I've actually decided to modify the PKGBUILD to follow the one for the non git version, but thank you for the contributions!

https://github.com/archlinux/svntogit-community/blob/packages/openfpgaloader/trunk/PKGBUILD

Popolon commented on 2021-11-11 16:33 (UTC) (edited on 2021-11-11 16:34 (UTC) by Popolon)

The script currently complain about missing

'spiOverJtag/spiOverJtag_xc7a35.bit'

There are lots of file now, automatically installed

The best method today is to follow the current openfpga stable process it works fine with git: This part can be put in "if pacman -Qi libudev.so" part

    cmake .. \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=None \
    -DENABLE_UDEV=True \
    -DENABLE_CMSISDAP=True

and then:

 packages() {
  cd $pkgname/build/
  make DESTDIR="${pkgdir}" install
  if pacman -Qi libudev.so; 
  then 
    install -Dm664 '../99-openfpgaloader.rules' '${pkgdir}/usr/lib/udev/rules.d/99-openfpgaloader.rules#'
  fi 
 }