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

arch: build for riscv64 #75

Closed

Conversation

olof-nord
Copy link

Go supports riscv, so I propose to also build for this architecture.

Builds and tests pass on my risc-v Ubuntu 24.04.1 HiFive Unmatched board.

Go supports riscv, so I propose to also build for this architecture.

Builds and tests pass on my risc-v Ubuntu 24.04.1 HiFive Unmatched board.
Copy link

@home-assistant home-assistant bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @olof-nord

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@home-assistant home-assistant bot marked this pull request as draft November 11, 2024 22:02
@home-assistant
Copy link

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

@frenck
Copy link
Member

frenck commented Nov 12, 2024

Go supports a lot more platforms (even beyond what you've added), but our project doesn't.

Could you clarify the use case?

../Frenck

@olof-nord
Copy link
Author

Hello Frenck!

Yes, of course.

I was looking into running Home Assistant on my risc-v server yesterday.

There are a few different dependencies left before that's possible, but since this one is built on go, here its much easier.

RISC-V is an open standard instruction set architecture, which is under rapid development. Distributions including AOSP, Arch Linux, Debian, Gentoo Linux, Fedora, OpenEuler, etc are also actively doing porting work for this architecture.

Here is a list of hardware available today: https://riscv.org/exchanges/boards/

I run and own a SiFive Unmatched.

@olof-nord
Copy link
Author

Link to the risc-v home assistant discussion:
home-assistant/architecture#1107

@olof-nord
Copy link
Author

List to home assistant os-agent discussion:
home-assistant/os-agent#191

@frenck
Copy link
Member

frenck commented Nov 12, 2024

I was looking into running Home Assistant on my risc-v server yesterday.

We do not support that architecture.

Link to the risc-v home assistant discussion: home-assistant/architecture#1107

This architectural proposal hasn't been approved.

../Frenck

@olof-nord
Copy link
Author

I understand - the day when Home Assitant want to support RISC-V, then one might re-open this PR.
Closing

@olof-nord olof-nord closed this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants