|
| 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. |
0 commit comments