-
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
claris
authored and
dkwo
committed
Oct 27, 2022
1 parent
079293f
commit d3e9efb
Showing
3 changed files
with
44 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,2 @@ | ||
DTBS="/usr/lib/asahi-boot/dtb/*.dtb" | ||
|
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,26 @@ | ||
# 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 that are builtin with current config | ||
#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 current config | ||
#add_drivers+=" macsmc macsmc-rtkit gpio_macsmc " | ||
|
||
# For MTP HID | ||
add_drivers+=" apple-dockchannel dockchannel-hid apple-rtkit-helper " |
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,16 @@ | ||
# Template file for 'asahi-base' | ||
pkgname=asahi-base | ||
version=20221024 | ||
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 | ||
vinstall "$FILESDIR/default-update-m1n1" 644 etc/default update-m1n1 | ||
} |