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

Add support for arm64 #19

Merged
merged 8 commits into from
Nov 5, 2023
Merged

Conversation

sspans
Copy link

@sspans sspans commented Jul 24, 2020

This introduces support for arm64, changes have been tested on the new arm64 Raspberry Pi OS.
Those images are generated by the pi-gen arm64 branch: https://github.com/RPi-Distro/pi-gen/tree/arm64.

For ffmpeg I've selected the 'debian' binary, which seems to work.

@oznu
Copy link
Member

oznu commented Jul 25, 2020

Thanks, I won't merge this just yet, as the actual building of the x64 image still needs to happen - I will be waiting until RaspbianOS 64bit is officialy released before looking into this (stablity is the most important thing for this image - I don't want to make users "beta" testers for RaspbianOS).

@nscheffer
Copy link

Hi,

Actually using the Homebridge Raspbian image 1.0.9 running on a Raspberry Pi 4 4G with a USB SSD without SD Card with no problem at all.
Would loves to update it to a 64 Bit version of Raspbian with the USB SSD providing better reliability compare to SD Card, but actually you need to clone an updated Raspbian (64 Bit or not) before to copy it to SSD.

@oznu
Copy link
Member

oznu commented Aug 20, 2020

but actually you need to clone an updated Raspbian (64 Bit or not) before to copy it to SSD.

The latest Homebridge Raspberry Pi images can be burnt directly to a USB, and so long as you have previously updated the firmware on the Raspberry Pi 4 to be from June 15th 2020 or later, it will boot without an SD card 😄

@nscheffer
Copy link

Didn't know !
Great will be more easy compare to current Raspbian OS...

@sspans
Copy link
Author

sspans commented Sep 19, 2020

Found a minor gotcha with the compression flags, but it should be good now.

@nscheffer
Copy link

Does it mean we could already build a 64 bit version to try ?

@sspans
Copy link
Author

sspans commented Sep 19, 2020

I'm running homebridge on 64bit raspberry pi os - and it works for me.
This PR fixes some minor issues with installing nodejs/ffmpeg/etc - while retaining support for 32bits.

Test versions should just work, but @oznu wants to wait until there's a final release of arm64 raspberry pi os.
Which makes sense imo.

@stale stale bot added the stale label Oct 19, 2020
@stale stale bot closed this Oct 24, 2020
@sspans
Copy link
Author

sspans commented Feb 17, 2022

@oznu any chance this could get merged now?

@HackingGate
Copy link

Hi,
I was thinking to switch to an arm64 image. I'm wondering if homebridge-raspbian-image could support arm64 and came to this thread.
I noticed that Raspberry Pi has been regularly updating their official 64-bit image with updates for more than a year now.
https://www.raspberrypi.com/software/operating-systems/
It will be great if we can merge this.

@mariosc
Copy link

mariosc commented Jul 10, 2023

Hi, does the main branch support 64bit by now? - cheers

@NorthernMan54
Copy link
Contributor

@mariosc The main branch is still using the 32 bit image of Raspbian. One concern with updating is support for older RPI's as RPI 2's or older are not 64 bit capable.

@homebridge homebridge deleted a comment from stale bot Nov 5, 2023
@donavanbecker donavanbecker changed the base branch from latest to arm64 November 5, 2023 04:23
@donavanbecker donavanbecker changed the base branch from arm64 to latest November 5, 2023 04:25
@donavanbecker donavanbecker changed the base branch from latest to arm64 November 5, 2023 04:25
@donavanbecker donavanbecker merged commit fb1abae into homebridge:arm64 Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants