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

aarch64 support #47

Open
brandonros opened this issue Aug 14, 2022 · 6 comments
Open

aarch64 support #47

brandonros opened this issue Aug 14, 2022 · 6 comments

Comments

@brandonros
Copy link

so Apple M1/M2 users can run it in QEMU without x86_64 emulation

@Eloitor
Copy link

Eloitor commented Aug 15, 2022

this will allow to use oasis in the pinephone

@Silent-Hunter
Copy link

It would be nice to be able to run this on Raspberry Pi 4 as well.

@michaelforney
Copy link
Collaborator

michaelforney commented Aug 17, 2022

It would help if you would share what problems are you running into building for aarch64. Most packages should work (including all essential ones).

I've run oasis on a pinephone before. I haven't tried a Raspberry Pi 4, but I don't see why it wouldn't work.

@noocsharp
Copy link
Contributor

I had oasis running on an RPI 1B (32-bit arm) at one point with changes to only a few packages. RPI4 shouldn't be much harder to get working.

@ghost
Copy link

ghost commented Feb 21, 2023

I built for aarch64 on the same ARM system I was targeting. I had to grab the musl package aarch64-linux-musl-native, but the binary bin/aarch64-linux-musl-ar does not exist in the -native musl package, only in the -cross package...so I got errors trying to build oasis. I symlinked the ar binary, and that worked fine. Renaming it would have worked fine too. Not sure if there is a better way to handle that, but that's what worked for me.

And of course, the config.lua needs to be updated with the correct target platform (aarch64-linux-musl) prior to running setup.lua

All went fine after some fiddling

@mrdomino
Copy link

@michaelforney I'd be interested in a qemu-ish image for aarch64; would that go under this ticket or a separate one?

My end goal would be to be able to download something that I could just import into UTM to try it out.

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

No branches or pull requests

6 participants