It has taken a while, but I'm pleased to announce that OpenBSD/arm64
works well enough on Apple M1 systems for some wider testing.  A major
milestone was reached with the release of the Asahi Linux installer:

  https://asahilinux.org/2022/03/asahi-linux-alpha-release/

This provides an easy way to add UEFI "firmware" to your Apple M1
machine which is required to boot OpenBSD/arm64.  The basic steps are:

* Update macOS to the latest release (12.3).

* Create some free space on the internal NVMe storage.  You can either
  do this with the macOS diskutil command line tool, or by using the
  Asahi Linux installer (see below).

* Open a terminal window and run the installer:

  $ curl https://alx.sh | sh

  Follow the steps presented to you.  Choose "UEFI environment only
  (m1n1 + U-Boot + ESP)" when prompted to choose an OS to install.
  After you complete all the steps, you should end up at the U-Boot
  prompt.

* Write the arm64 snapshot miniroot71.img to a USB storage device and
  connect it to one of the USB Type-C ports (the Type-A ports on the
  Mac mini will not work).

* Reboot the machine by typing "reset" at the U-Boot prompt.

The machine should now boot into the OpenBSD installer.  From this
point onwards the normal OpenBSD installation instructions apply.
This will keep your existing macOS install even if you select the
"(W)hole disk" option in the installer.

All currently available Apple M1 machines should work (except for the
recently announced Mac Studio).  Hardware support isn't complete, but
is on par with Asahi Linux.  All the basics (keyboard, touchpad, 1Gb
Ethernet, WiFi, USB, NVMe storage, X on the framebuffer console) work.
And WiFi works even in the OpenBSD installer!  There is no
suspend/resume or hibernate support yet and the lack of GPU
acceleration means that video playback probably isn't a great
experience.

At this point only snapshots will work.  But the 7.1 release is around
the corner!  Development continues at a fairly fast pace so a
sysupgrade every now and then won't hurt.  And updates to the UEFI
environment may be necessary at certain points as well.

Cheers,

Mark

Reply via email to