Skip to content

Commit 93586fc

Browse files
committed
installation/guides/arm-devices/platforms: add apple silicon
1 parent a41b118 commit 93586fc

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/installation/guides/arm-devices/platforms.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,30 @@ default](https://github.com/raspberrypi/linux/commit/28aec65bb1743c9bfa53b036999
110110
This breaks workloads which use containers. Therefore, if you want to use
111111
containers on your Raspberry Pi, you need to enable memory cgroups by adding
112112
`cgroup_enable=memory` to `/boot/cmdline.txt`.
113+
114+
## Apple Silicon
115+
116+
For some time, the kernel, mesa, and uboot packages will have Asahi Linux as
117+
upstream. Their [documentation](https://github.com/AsahiLinux/docs/wiki) is an
118+
excellent source. Here we discuss Void Linux specific aspects only.
119+
120+
Use Asahi Linux install scripts with `UEFI environment only`, then proceed with
121+
usual Void installation. The default is EFI partition at `/boot/efi`, other
122+
choices can be made by editing m1n1 kernel hook config.
123+
124+
At the very least, install `base-system`, `asahi-base`, and an initramfs
125+
generator. By default, `asahi-uboot`, `grub-arm64-efi`, and `asahi-scripts` are
126+
also required, unless one changes initramfs or payload for m1n1.
127+
128+
Void ships a kernel hook for m1n1, modeled on Asahi upstream. This allows you to
129+
either just use m1n1, or use it in combination with uboot and grub (default) by
130+
setting the `PAYLOAD` variable (requires `asahi-uboot` and `grub-arm64-efi`). We
131+
ship tinyramfs config and hooks (to use, add `asahi` to `hooks`). The default is
132+
dracut, its hooks are provided by `asahi-scripts` together with mkinitcpio ones.
133+
134+
If using audio, you must install `asahi-audio`, ensure the speakersafetyd
135+
service is [enabled](/config/services/index.md#enabling-services), and set up
136+
[pipewire and wireplumber](/config/media/pipewire.md).
137+
138+
Firmware can be updated with `asahi-fwupdate` from `asahi-scripts`. It is
139+
recommended to do so whenever the asahi-firmware package is updated.

0 commit comments

Comments
 (0)