-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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 Raspberry Pi Support (armv7l) #3237
Comments
@jhihn The Raspberry Pi supports arm64 since the 2B Rev. 1.2, so every Pi except older Pi 2s, 1, Zero and Pico support arm64. The Raspberry Pi Foundation recently released a 64bit Raspberry Pi OS: http://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-08-24/2020-08-20-raspios-buster-arm64.zip. On the Raspberry Pi 4 with 8GB, you even need arm64 to be able to use all 8GB of RAM properly. |
@AaronDewes the 64bit Raspberry Pi OS is still highly experimental and not officially recommended for casual use. I wouldn't suggest switching to 64bit just to be able to use existing GitHub CLI packages. Instead, you could use any computer with Go 1.13+ and
|
Thanks! I think many RPi 4 8GB users are already using the arm64 version. I'm using it myself and it works perfectly, so while the Raspberry Pi Foundation might hasn't done much testing, it works perfect in most cases. I didn't switch only because of GitHub CLI, arm64 is often better supported by many apps. Just for example, I wanted to run Umbrel on my Raspberry Pi while still having it for other things, and it worked perfectly for me, in the end, you'll decide if it's worth supporting armv7, I just wanted to make @jhihn aware that it's already possible to run GitHub CLI on the Pi. |
@jhihn To pull PRs using plain git, you can do this:
where "NUM" is the number of the PR you want to check out. I think the reason that we don't give these instructions in the web UI is that they can't be condensed to a single line, and there are some edge cases where it won't work (for example, if you are already on But ideally, I think GitHub CLI should be readily available on Raspberry Pi in the future so nobody needs to manually compile anything. We will try to publish binaries compatible with both 32-bit or 64-bit Pi OS. |
I've read through the comments here and did cursory googling, but is there a succinct reason why we wouldn't just compile for 32bit ARM? |
Well, I'd like to flip that question. Why are they packaging for arm64? Is there a reason why gh needs a 64bit address space? Then everyone would be happy. 32bits ought to be enough for anybody. |
Closing since we've been supporting Raspberry Pi OS since Dec 2020 with our I've just tried on Raspberry Pi 4 and our 32-bit package works without problems, even though the Pi's processor is technically |
Describe the feature or problem you’d like to solve
The only ARM arch supprt is arm64, however even the most recent Raspberry Pi 4 is only ArmV7L
Proposed solution
This will empower Raspberry Pi users from 2, 3 4, zero, etc.
The text was updated successfully, but these errors were encountered: