-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# This conf adds modules necessary for using Linux on Apple Silicon Macs, | ||
# which are not otherwise included due to being soft dependencies. | ||
|
||
# For NVMe & SMC | ||
add_drivers+=" apple-mailbox " | ||
|
||
# For NVMe | ||
add_drivers+=" nvme_apple " | ||
|
||
# For USB and HID | ||
add_drivers+=" pinctrl-apple-gpio " | ||
|
||
# For USB | ||
add_drivers+=" i2c-apple tps6598x apple-dart dwc3 dwc3-of-simple xhci-pci pcie-apple " | ||
|
||
# For HID | ||
add_drivers+=" spi-apple spi-hid-apple spi-hid-apple-of " | ||
|
||
# For RTC | ||
add_drivers+=" rtc-macsmc simple-mfd-spmi spmi-apple-controller nvmem_spmi_mfd " | ||
|
||
# SMC drivers that are builtins with the current config | ||
#add_drivers+=" macsmc macsmc-rtkit gpio_macsmc " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Template file for 'asahi-base' | ||
pkgname=asahi-base | ||
version=20220327 | ||
revision=1 | ||
archs="aarch64*" | ||
build_style=meta | ||
depends="linux-asahi asahi-uboot asahi-scripts m1n1 dracut" | ||
short_desc="Void Linux Apple Silicon support package" | ||
maintainer="Will Springer <[email protected]>" | ||
license="Public Domain" | ||
homepage="http://asahilinux.org" | ||
|
||
do_install() { | ||
vinstall "$FILESDIR/dracut-asahi.conf" 644 usr/lib/dracut/dracut.conf.d 10-asahi.conf | ||
} |