Skip to content

Commit 3dd9204

Browse files
classabbyampdkwo
and
dkwo
committed
installation/guides/arm-devices/apple-silicon: add page
Co-authored-by: dkwo <npiazza@disroot.org>
1 parent 4ca4169 commit 3dd9204

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed

src/SUMMARY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
- [Full Disk Encryption](./installation/guides/fde.md)
1616
- [Root on ZFS](./installation/guides/zfs.md)
1717
- [ARM Devices](./installation/guides/arm-devices/index.md)
18+
- [Apple Silicon
19+
(Asahi)](./installation/guides/arm-devices/apple-silicon.md)
1820
- [Lenovo Thinkpad
1921
X13s](./installation/guides/arm-devices/thinkpad-x13s.md)
2022
- [Pinebook Pro](./installation/guides/arm-devices/pinebook-pro.md)
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Apple Silicon
2+
3+
Void's Apple Silicon support is based on Asahi Linux. See their
4+
[website](https://asahilinux.org) and
5+
[documentation](https://github.com/AsahiLinux/docs/wiki) for more information.
6+
7+
## Installation
8+
9+
Before installing, use the Asahi Linux install script to install "UEFI
10+
environment only" from macOS:
11+
12+
```
13+
macos $ curl https://alx.sh > alx.sh
14+
macos $ sh ./alx.sh
15+
```
16+
17+
Then, [create a Live USB](../../live-images/prep.md) using an [Apple Silicon
18+
Void Linux ISO](https://voidlinux.org/download/#arm%20platforms). U-Boot
19+
(installed by the Asahi installer) should show the external USB as a boot
20+
option. If it does not, run these commands in the U-Boot prompt to boot:
21+
22+
```
23+
U-Boot> setenv boot_targets "usb"
24+
U-Boot> setenv bootmeths "efi"
25+
U-Boot> boot
26+
```
27+
28+
To install, follow the [chroot install guide](../chroot.md), using the "XBPS
29+
method", observing the following modifications:
30+
31+
For the base installation, install `base-system`, `asahi-base`, and
32+
`asahi-scripts`. These packages provide important configurations and install the
33+
necessary dependencies. When running `grub-install`, add the `--removable` flag.
34+
35+
To use another bootloader with `m1n1`, ensure it installs the bootloader EFI
36+
executable at `EFI\BOOT\BOOTAA64.EFI` within the EFI system partition. `m1n1`
37+
can also be configured to boot a kernel and initramfs directly, without a
38+
bootloader. To do this, change the `PAYLOAD` in `/etc/default/m1n1-kernel-hook`
39+
to `kernel`.
40+
41+
## Audio
42+
43+
The `asahi-audio` package is required for audio. Ensure the speakersafetyd
44+
service is [enabled](../../../config/services/index.md#enabling-services), and
45+
set up [pipewire and wireplumber](../../../config/media/pipewire.md).
46+
47+
## Firmware
48+
49+
Firmware can be updated with `asahi-fwupdate` from `asahi-scripts`. It is
50+
recommended to do so whenever the `asahi-firmware` package is updated.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ specific to such devices.
1818

1919
Platform-specific documentation is available for:
2020

21+
- [Apple Silicon](./apple-silicon.md)
2122
- [Lenovo ThinkPad X13s](./thinkpad-x13s.md)
2223
- [Pinebook Pro](./pinebook-pro.md)
2324
- [Raspberry Pi](./raspberry-pi.md)

0 commit comments

Comments
 (0)