-
Notifications
You must be signed in to change notification settings - Fork 466
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
Add arm support #582
Add arm support #582
Conversation
|
one step closer to running it on android :) |
|
Nice one, thanks @patrickmollohan! Do you think this build would allow it to run on a Raspberry Pi? I've not got a phone I could test this on but I might be able dig one of those out from somewhere :-) |
|
Thanks! I think it should run on the Raspberry Pi 3 and above, as long as the arm64 kernel is installed. When I initially tested on my Pi 3 a couple days ago, it said it couldn't run due to Raspbian running the armhf kernel. I plan to add support for that as well tonight with any luck and test on all the Pi devices I have here. I would imagine it should work on any arm64 device if it could run on the PinePhone. |
|
Added support for armhf. A couple things to note: |
|
Alright, fixed! Now building games on my Pi 3! |
|
Thanks @patrickmollohan I've not had chance to try this out yet but I've just bought a new Raspberry PI 4 to test this out when I get some time :-) |
|
Awesome! I imagine it should be an even better experience on a Pi 4! |
|
Hi @patrickmollohan Good news, I managed to get this to work on my Pi4! I also had to compile from another Linux machine though apparently even 8GB isn't enough to build 😮 doesn't help I was also very low on disk space! I'm just thinking though since it seems we're quite close on getting GBDK 2020v4 support in (just one known bug in the compiler we're trying to get fixed now) it might be worth just holding off merging this until that its ready first and we can launch ARM support alongside 2020V4. It should just be a case of recompiling GBDK with the new version and the fixed SDCC then dropping it in over these folders |
|
Awesome! |
Support the arm64 architecture. Tested on a PinePhone running Mobian.
Adds support for armhf. Build tools tested on a Raspberry Pi 3 B. Haven't been able to successfully build a game in GB Studio yet.
|
Sorry this took so long, @chrismaltby, had a few things come up. Both armhf and arm64 versions of GBDK-2020 have been updated. |
|
By any chance is there a download link? I'd really love to see a .deb, because I have a Raspberry Pi 3 B+, and want GB Studio to work on it. |
|
@JE55E6arlow sorry for the delays; didn't see any notification for your comment. |
|
Hi! Self admitted newbie here. Did support for ARM get added? I didn't see the files in buildTools in other branches so I wasn't sure (or beta builds for RPi). |
|
@HuntingPhoenix I closed the pull request due to inactivity. It's been ready for quite a while but was never merged. Should @chrismaltby be interested, I will update GBDK to the latest versions across all platforms, including ARM, and submit a new pull request, but for the time being, I don't see the need for it to hang out in limbo. |
|
@patrickmollohan would love to try this out on my arm64 based Chromebook if you are able to share the .deb again. :) (The above link expired) |
Support the arm64 architecture.
Tested on a PinePhone running Mobian.
Now also supporting the armhf architecture.
Tested on a Raspberry Pi 3 B running "Raspberry Pi OS", formerly known as "Raspbian" but was rebranded to something less catchy because...reasons?
Note: the Pi 3 B does not have enough RAM to properly build GB Studio, so build it on a different system.
What is the current behavior? (You can also link to an open issue here)
Cannot run GB Studio V2 Beta on arm64 devices. Or on the Pi.
What is the new behavior (if this is a feature change)?
Can run GB Studio V2 Beta on arm64 devices. And now can run on the Pi.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Not that I'm aware of.
Other information:

Build by running
npm run make:linux-arm64And also
npm run make:linux-armhf