Skip to content

Enabling the compilation on OpenBSD#651

Open
dettus wants to merge 1 commit into
trabucayre:masterfrom
dettus:master
Open

Enabling the compilation on OpenBSD#651
dettus wants to merge 1 commit into
trabucayre:masterfrom
dettus:master

Conversation

@dettus
Copy link
Copy Markdown

@dettus dettus commented Apr 23, 2026

I took the liberty of trying to compile openFPGAloader on OpenBSD.
After adding one include, ItWorkedOnMyMachine(tm).

I also added a section to the Readme.md file, allowing interested users to disable a problematic module inside the kernel.

… allow for compilation. Added a section to the README.md.
@trabucayre
Copy link
Copy Markdown
Owner

The xvc_server.cpp looks good.
But for details: it make sense to have this in doc/guide/install.rst. Also if you disables ftdi module you will lost ability to have access to uart port. Maybe there is something like runtime unload as done for linux?

@dettus
Copy link
Copy Markdown
Author

dettus commented Apr 26, 2026

No, with OpenBSD, it is not a loaded Kernel module. It is hard-linked.
So, unfortunately, there is no easy way to "unload" it, sorry.
You are indeed correct about the UART, though.
(I am currently waiting for OpenBSD 7.9 to come out next week, then I will have a look into the kernel sources. Maybe I can find an easy patch there).

What I have described in the README is actually a way how to hotfix the issue.
Maybe that could be phrased better, but I do not know how.

@dettus
Copy link
Copy Markdown
Author

dettus commented May 10, 2026

Hello.

My apologies... I was not sure if your message meant that you need me to change something.

So, just so that I have asked this question: Do you need me to do anything before you move on with this pull request?

I would REALLY like to see your project running "out of the box" on my favorite operating system. :D

@trabucayre
Copy link
Copy Markdown
Owner

Hi,
In fact these informations must be moved in specific section of doc/guide/install.rst.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants