From: Thomas Glanzmann Date: Sat, 22 Jan 2022 20:29:59 +0000 (+0100) Subject: m1 config options X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/06535e0d0eccdfde09248758f6e2007eb660e9a4 m1 config options --- diff --git a/bootstrap.sh b/bootstrap.sh index 1b335bf..0117678 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -28,7 +28,12 @@ cat m1n1/build/m1n1.macho `find u-boot -name \*.dtb` u-boot/u-boot-nodtb.bin > u git clone https://github.com/AsahiLinux/linux cd linux git checkout origin/asahi -curl https://tg.st/u/c5eb67144c10f8685ebd8c1dfef8586588e1994d.patch | patch -p1 -curl https://tg.st/u/asahi-config-2022-01-08 > .config +# SPI patches +curl https://tg.st/u/aa6a11b3feeda0f57284f99406188e4615e7c43c.patch | patch -p1 +curl https://tg.st/u/9ce9060dea91951a330feeeda3ad636bc88c642c.patch | patch -p1 +# Sound patch +curl https://tg.st/u/5nly | patch -p1 +# Config with sound enabled +curl https://tg.st/u/asahi-config-2022-01-19 > .config make olddefconfig make bindeb-pkg diff --git a/m1-config-options b/m1-config-options new file mode 100644 index 0000000..2878fc0 --- /dev/null +++ b/m1-config-options @@ -0,0 +1,24 @@ +CONFIG_ARCH_APPLE=y +CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR=0xfffff000 +CONFIG_PCIE_APPLE=y +CONFIG_NVME_APPLE=y +CONFIG_I2C_APPLE=y +CONFIG_SPI_APPLE=y +CONFIG_PINCTRL_APPLE_GPIO=y +CONFIG_APPLE_WATCHDOG=y +CONFIG_SND_SOC_APPLE_MCA=y +CONFIG_HID_APPLE=y +CONFIG_SPI_HID_APPLE_OF=y +CONFIG_SPI_HID_APPLE_CORE=y +CONFIG_APPLE_ADMAC=y +CONFIG_COMMON_CLK_APPLE_NCO=y +CONFIG_APPLE_MAILBOX=y +CONFIG_APPLE_DART=y +CONFIG_APPLE_PMGR_PWRSTATE=y +CONFIG_APPLE_RTKIT=y +CONFIG_APPLE_SART=y +CONFIG_APPLE_AIC=y +CONFIG_SND_SIMPLE_CARD=y +CONFIG_SND_SOC_CS42L42=y +CONFIG_FW_LOADER_USER_HELPER_FALLBACK=n +CONFIG_FW_LOADER_USER_HELPER=n