Skip to content

Commit ca0ce15

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

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,33 @@ 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+
115+
## Apple Silicon
116+
117+
118+
For some time, the kernel, mesa and uboot packages will have Asahi
119+
Linux as upstream. Their [documentation](https://github.com/AsahiLinux/docs/wiki)
120+
is an excellent source. Here we discuss Void Linux specific aspects only.
121+
122+
Use Asahi Linux install scripts with `UEFI environment only`, then proceed
123+
with usual Void installation. The default is to have EFI partition at
124+
`/boot`, other choices can be made by editing m1n1 config.
125+
126+
At the very least, install `base-system`, `asahi-base` and an initramfs
127+
generator. By default, also `asahi-uboot`, `grub-arm64-efi` and
128+
`asahi-scripts` are required, unless one changes initramfs or payload
129+
for m1n1.
130+
131+
Void ships a kernel hook for m1n1, modeled upon Asahi upstream.
132+
This allows to either just use m1n1, or use it in combination with
133+
uboot and grub (default) by setting the `PAYLOAD` variable (requires
134+
`asahi-uboot`, `grub-arm64-efi`). We ship tinyramfs config and hooks
135+
(to use, add `asahi` to `hooks`). The default is dracut, its hooks are
136+
provided by `asahi-scripts` together with mkinitcpio ones.
137+
138+
If using audio, you must install `asahi-audio`, ensure the speakersafetyd
139+
service is enabled, and utilize pipewire and wireplumber.
140+
141+
Firmware can be updated with `asahi-fwupdate` from `asahi-scripts`.
142+
It is recommended to do so whenever the asahi-firmware package is updated.

0 commit comments

Comments
 (0)