160.14. openfpgaloader-1.1.1
FPGA programming tool for the boards the FPGA flow targets
1.1.1-1 · Apache-2.0 · 3.6 SBU · 12.1 MiB, 113 files · 41_system, 445 of 1047 · ports/core/eda/openfpgaloader
Homepage: https://trabucayre.github.io/openFPGALoader/
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/eda.txt:
iceprog programs one family over FTDI; this knows a hundred boards, which is what makes the flow usable on hardware somebody actually has.
Depends on: cmake, ninja, pkgconf, libftdi, libusb, hidapi, zlib, eudev, libgpiod.
Required by: no port names it.
Sources: openfpgaloader-1.1.1.tar.gz (2.8 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install openfpgaloader'
build.sh:
mkdir -p build && cd build
cmake .. -G Ninja \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_STATIC=OFF \
-DENABLE_UDEV=ON \
-DENABLE_CMSISDAP=ON \
-DENABLE_LIBGPIOD=ON
ninja
DESTDIR=$PKG ninja install
Programs: openFPGALoader.
Directories: /usr/share/licenses/openfpgaloader, /usr/share/openFPGALoader.