My Haiku arm64 Progress

I’ve been spending some time improving the arm64 port of Haiku with the goal of some day running Haiku on my M1 MacBook Air.

Here’s the current state of the port (in QEMU) as of hrev59575:

The port is mostly stable and all of the usual QEMU devices (virtio SCSI, virtio net, xHCI USB) as well as up to 8 core SMP work as expected. Though there is at least one kernel crash and some double frees that need to be worked out.

There are also still some issues with software ports that need to be resolved, for example:

If you want to try it yourself, you’ll need to bootstrap Haiku, since the binary packages currently used in the build process need to be rebuilt.

34 Likes

Is it you: https://review.haiku-os.org/q/owner:sam@smrobtzz.dev ?

Yes, that is me

Do you mean Haiku upstream or some additional patches are still needed? If second, what patches/branch is needed to apply to reproduce your result?

2 Likes

Awesome work… :man_mage: :sports_medal:

1 Like

I mean Haiku upstream. You may need to enable some extra features (e.g. the acpi add on and the zstd package) in the bootstrap image to get it to boot though

Awesome Work! I was wondering if you using cli emu or UTM which is using emu? Maybe worth creating an UTM image for easy download/install when things mature a bit?

there is also UTM for iOS devices :slight_smile:

Ahoy @smrobtzz,

Actually I do not onw any arm64 device – any Apple M* or an SBC/laptop/keyboard computer with ARM64 CPU –, but I followed the patches from curiosity, so I was interested what is your status.

Seems arm64 attacked from 2 sides right now

–> first @dodo75 reported a running instrance on the forum, he targeted

an RPI 500+ device

–> and now you have a running Haiku 64 bit in QEMU (arm64) - targeted

Apple M* machines.

Interesting …

Wether these 2 development would be meet ?..

… or as vendors and architectures are different, so there will be 2 different install image for ARM64 Haiku ?

I’m using CLI QEMU. I’m probably not going to create a UTM-specific image, but the regular Haiku install image should work in UTM like any other OS

1 Like

Could you share an image so we could tinker with it?

1 Like

There are nightly images for arm64 here. They don’t work yet, but there should be working images in the next few weeks once some packages get rebuilt

2 Likes