From 66ea551d2bd9b63ea4c25705630510134a577bee Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Wed, 16 Nov 2022 20:23:58 +0100 Subject: [PATCH 1/1] apple_dcp does not work --- config.edge | 12 ++++++------ gpu.sh | 6 +++++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/config.edge b/config.edge index 9289f9b..022f71f 100644 --- a/config.edge +++ b/config.edge @@ -3435,7 +3435,7 @@ CONFIG_GPIO_CDEV_V1=y # # MFD GPIO expanders # -CONFIG_GPIO_MACSMC=m +CONFIG_GPIO_MACSMC=y # end of MFD GPIO expanders # @@ -4940,7 +4940,7 @@ CONFIG_DRM_SIMPLEDRM_BACKLIGHT=n # CONFIG_DRM_TIDSS is not set # CONFIG_DRM_GUD is not set # CONFIG_DRM_SSD130X is not set -CONFIG_DRM_APPLE=m +CONFIG_DRM_APPLE=y # CONFIG_DRM_LEGACY is not set CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y CONFIG_DRM_NOMODESET=y @@ -6279,8 +6279,8 @@ CONFIG_STAGING_MEDIA=y # CONFIG_MELLANOX_PLATFORM is not set # CONFIG_SURFACE_PLATFORMS is not set CONFIG_APPLE_PLATFORMS=y -CONFIG_APPLE_SMC=m -CONFIG_APPLE_SMC_RTKIT=m +CONFIG_APPLE_SMC=y +CONFIG_APPLE_SMC_RTKIT=y CONFIG_HAVE_CLK=y CONFIG_HAVE_CLK_PREPARE=y CONFIG_COMMON_CLK=y @@ -6328,7 +6328,7 @@ CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y # end of Clock Source drivers CONFIG_MAILBOX=y -CONFIG_APPLE_MAILBOX=m +CONFIG_APPLE_MAILBOX=y # CONFIG_ARM_MHU is not set # CONFIG_ARM_MHU_V2 is not set # CONFIG_PLATFORM_MHU is not set @@ -6389,7 +6389,7 @@ CONFIG_APPLE_DART=m # Apple SoC drivers # CONFIG_APPLE_PMGR_PWRSTATE=y -CONFIG_APPLE_RTKIT=m +CONFIG_APPLE_RTKIT=y CONFIG_APPLE_RTKIT_HELPER=m CONFIG_APPLE_SART=m CONFIG_APPLE_DOCKCHANNEL=m diff --git a/gpu.sh b/gpu.sh index 8bc06fa..003f38b 100644 --- a/gpu.sh +++ b/gpu.sh @@ -23,7 +23,7 @@ build_linux() cat ../../config.edge > .config make LLVM=-14 olddefconfig make LLVM=-14 -j `nproc` V=0 > /dev/null - sudo make LLVM=-14 modules_install + sudo make LLVM=-14 V=0 modules_install > /dev/null sudo make LLVM=-14 install ) } @@ -55,6 +55,10 @@ build_uboot() sudo cp u-boot.bin /boot/efi/m1n1/boot.bin } +echo 'Has no gpu yet' +echo 'Boot but crashes shortly after. Do not use.' +exit 1 + mkdir -p build cd build -- 2.39.5