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

instruction to install and use openFPGALoader with windows and MacOSX #96

Open
trabucayre opened this issue Jun 29, 2021 · 10 comments
Open
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@trabucayre
Copy link
Owner

README.md contains requirement, installations instruction and how to use openFPGALoader with GNU/Linux OS. But there is nothing for:

  • windows (manually or using Msys2), zadig, libusbK, ...
  • macOSX (homebrew?)
@trabucayre trabucayre added documentation Improvements or additions to documentation help wanted Extra attention is needed labels Jun 29, 2021
@jeanthom
Copy link
Contributor

Homebrew for macOS/Linux: Homebrew/homebrew-core#81031

@trabucayre
Copy link
Owner Author

Thanks for this task!
ASAP this PR is applied it's make sense to add a note in the README.

@jeanthom
Copy link
Contributor

Homebrew & Fedora Copr install instructions added in #102

@trabucayre
Copy link
Owner Author

Thanks to that!

@udif
Copy link
Contributor

udif commented Dec 20, 2021

I just found out that WSL support for USB devices can also be made to work on Windows 10 (You don't need Windows 11).
The trick is to manually install the required 5.10.60.1 kernel.
Please see:
https://devblogs.microsoft.com/commandline/connecting-usb-devices-to-wsl/#comment-5654
I just installed it and verified that lsusb under WSL shows me my FT2232-based bus-pirate cable, and openfpgaloader can detect its onboard XC2C32A CPLD.

@trabucayre
Copy link
Owner Author

Is it possible for you to complete doc page? windows section is empty.
Thanks for informations!

@udif
Copy link
Contributor

udif commented Dec 21, 2021

OK, I'll try to prepare a pull request for the install page in the docs for a Windows-WSL section (this is not the same as a native WIndows install).

@trabucayre
Copy link
Owner Author

Thanks. Windows part is a total mystery for me. The last windows I have used is maybe 2k

@jrobgh
Copy link

jrobgh commented Dec 3, 2022

Here's some notes on building openFPGALoader via Msys on Windows

  1. Install msys (e.g. msys2-x86_64-20221028.exe from https://www.msys2.org/ )

  2. Run mingw64 (e.g. c:\msys64\mingw64.exe)

  3. Get necessary build tools (e.g. x64)
    pacman -S mingw64/mingw-w64-x86_64-hidapi mingw64/mingw-w64-x86_64-libusb-win32 mingw64/mingw-w64-x86_64-cmake mingw64/mingw-w64-x86_64-libftdi mingw-w64-x86_64-toolchain

  4. In openFPGALoader folder, configure the Makefile

/mingw64/bin/cmake -G "MSYS Makefiles" -D CMAKE_MAKE_PROGRAM:PATH=/mingw64/bin/mingw32-make .

  1. In openFPGALoader folder, run the makefile to build the binary (openFPGALoader.exe)

/mingw64/bin/mingw32-make

@trabucayre
Copy link
Owner Author

Thanks for this details! Is it possible to you to open a PR with these informations?
Also as notificed in #245 zadig must be used to replace driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants