moby: remove old way of getting the armbian patches

This commit is contained in:
2024-08-31 21:09:57 +00:00
parent 1649e9e22f
commit 98f028108e

View File

@@ -33,73 +33,6 @@ in
# boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux-manjaro;
# boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest;
# boot.kernelPatches = let
# armbianRef = "0a18ec690e423ffb25f66d39c09c0618f768e82d"; # 2024-08-31
# armbianMegous = { name, hash ? "" }: {
# # Armbian imported some 200+ patches from megi's repo; that's a convenient place to grab them from.
# # patch name is just the commit message w/ symbols replaced to `-`.
# # patch ordering is here: <https://github.com/armbian/build/blob/main/patch/kernel/archive/sunxi-6.10/series.megous>
# inherit name;
# patch = pkgs.fetchurl {
# url = "https://github.com/armbian/build/raw/${armbianRef}/patch/kernel/archive/sunxi-6.10/patches.megous/${name}.patch";
# # url = "https://raw.githubusercontent.com/armbian/build/${armbianRef}/patch/kernel/archive/sunxi-6.10/patches.megous/${name}.patch";
# inherit hash;
# };
# };
# in [
# # {
# # # "ANX7688 is rather criticial piece on PinePhone, there's no display and no battery charging without it."
# # name = "usb: typec: anx7688: Add driver for ANX7688 USB-C HDMI bridge";
# # patch = pkgs.fetchurl {
# # url = "https://patchwork.kernel.org/project/linux-usb/patch/ZhPM4XU8ttsFftBd@duo.ucw.cz/raw/";
# # hash = "sha256-oEA52kZfPQffDdyjfZEizfavGEuYigrBZjDOdbf0wNs=";
# # # url = "https://lore.kernel.org/lkml/Zh4o5Rw+tP9TSIVQ@kuha.fi.intel.com/t.mbox.gz";
# # # hash = "sha256-4MgECUnVQ5C8P2xc2uyUojAPMBCPJTTwuNrxtty0jxo=";
# # };
# # }
# # un-ordered
# # (armbianMegous { name = "phy-allwinner-sun4i-usb-Add-support-for-usb_role_switch"; })
# # (armbianMegous { name = "regulator-axp20x-Add-support-for-vin-supply-for-drivevbus"; })
# # (armbianMegous { name = "drm-bridge-dw-hdmi-Allow-to-accept-HPD-status-from-other-driver"; })
# # (armbianMegous { name = "drm-bridge-dw-hdmi-Report-HDMI-hotplug-events"; })
# # (armbianMegous { name = "regulator-axp20x-Turn-N_VBUSEN-to-input-on-x-powers-sense-vbus-"; hash = "sha256-lnlLZ/MOukkRCgfXGCj1jepQesl2dbaBOpstOXVLh20="; }) # 2020-06-09 22:00:36 +0200
# # (armbianMegous { name = "arm64-dts-allwinner-a64-Enable-hdmi-sound-card-on-boards-with-h"; }) # 2021-05-09 10:42:16 +0200
# # ordering of the below is important because they all touch arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
# #vvv ordered by commit vvv
# (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-front-back-cameras"; hash = "sha256-eOlVbePZ3JhrjQhZ1DucfaNfgUjnMYc46WgbvFFM5Tk="; }) # 2020-04-08 14:13:08 +0200
# # Add Type C Support ... adds anx7688 to the device tree; necessary for display power-on
# (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-Type-C-support-for-all-PP-va"; hash = "sha256-W025uQlRpdfdfusbe9WUixEP/UyhzONUR/inxD/YxHo="; }) # 2020-07-08 00:58:16 +0200
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-modem-power-manager"; hash = "sha256-7sWfDW59ClLNI++8utGVK2IBSDBLhrZeMwBGf3tmWYQ="; }) # 2020-07-08 01:00:48 +0200
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-detailed-OCV-to-capactiy-con"; hash = "sha256-9cgQT96XMtb7tH9YNbBfgtJpC59wu6x/kNderj/GuNU="; }) # 2020-09-28 04:35:13 +0200
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Shorten-post-power-on-delay-on-m"; hash = "sha256-kOnFQmoEniIzKOOPnPssA423oMYCd6UaxftqXhd+fhE=" }) # 2020-02-06 04:58:32 +0100
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-mount-matrix-for-acceleromet"; hash = "sha256-GLMMZJmf88ydGvnSqdjKia0yd6op54EEahNd6rug0Jg="; }) # 2020-09-08 15:31:26 +0200
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-support-for-Bluetooth-audio"; hash = "sha256-xtNGS2bhs4F5+4xIaDTlDJKebiM/Wz/BV684MMF/kkE="; }) # 2020-02-06 23:49:27 -0600
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-support-for-modem-audio"; hash = "sha256-YRJmtweDkTsvMrtCQtF5Ih2Wb6E+AuSdOSUZBpoHRco="; }) # 2020-02-05 23:14:27 -0600
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Bump-I2C-frequency-to-400kHz"; hash = "sha256-HhFUkO89CfqpftXkpMdUyrRC5zA+yelx8GCaW1gGueQ="; }) # 2020-11-30 06:14:07 +0100
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-interrupt-pin-for-WiFi"; hash = "sha256-vTB3/JHr3SHa10JUbpNgFakA1fkeLGJ6/GZqofta1bY="; }) # 2021-01-17 23:06:03 +0100
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Power-off-the-touch-controller-i"; hash = "sha256-QBPadt1E2HnsIYOXe0acls6op4O7vx+Aqpyk/ZdQKXk="; }) # 2021-04-25 03:17:39 +0200
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Don-t-make-lradc-keys-a-wakeup-s"; hash = "sha256-2HgsHpbPzgtOziYwyNJkLhBoHGfveD0nnQZmSs37Mfc="; }) # 2021-04-26 01:31:27 +0200
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Set-minimum-backlight-duty-cycle"; hash = "sha256-EWNtVe5SPiWroDD32T4ONCDC3ORaYdX+zU2WKIqtAA4="; }) # 2021-06-07 20:23:52 +0200
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-supply-for-i2c-bus-to-anx768"; hash = "sha256-spmNs0IH228zEiDNL0rmW2yQ7sEWmDiEwMqWmcYQlvA="; }) # 2021-10-18 17:41:25 +0200
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Workaround-broken-HDMI-HPD-signa"; hash = "sha256-ETUvHVStAVhZdnaq9tBKFAKO9UzpMGnJo/bgfqvkqyY="; }) # 2021-10-26 01:25:46 +0200
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-AF8133J-to-PinePhone"; hash = "sha256-Xflyx0q4dU23G/jIbD9REtiIU2PDrfQL7NlohKKr6NA="; }) # 2021-03-18 20:22:05 +0800
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-mount-matrix-for-PinePhone-m"; hash = "sha256-GCHuSL7YzI31ScbBr0r74A5/R4swCcc9VuggzSHCtTU="; }) # 2021-07-14 07:17:18 +0900
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-support-for-Pinephone-keyboa"; hash = "sha256-71kdztifUauB+I0Mh0jx14kHGSQLkvrbSofer0DUEkg="; }) # 2022-01-21 23:28:48 +0100
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Enable-Pinephone-Keyboard-power-"; hash = "sha256-XDChPJWrOkosQ+D1BG7UWG6Qm3YUi/QPPiOeNWM8KXA="; }) # 2022-04-16 02:12:06 +0200
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-support-for-Pinephone-1.2-be"; hash = "sha256-LY5mJVaIcOvMl7kfRdYVxHyvd9FeeBnLBUoM8jodFu4="; }) # 2022-11-10 20:11:10 +0100
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-power-supply-to-stk3311"; hash = "sha256-i33JvKCVOiwpCmetA6WnYxDWjj3xE0ZJ1DQIY+NF5QU="; }) # 2023-05-20 16:58:11 +0200
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Add-reboot-mode-driver"; hash = "sha256-KJwQ2qPu0Aub1Vb+rkcFLA1lETLGeCc7T2KC7ffdnqs="; }) # 2021-02-15 17:45:13 +0100
# # (armbianMegous { name = "arm64-dts-sun50i-a64-pinephone-Use-newer-jack-detection-impleme"; hash = "sha256-nXQndVbEhxstLqTnTqYc/aMzRtdOUDeResobM6zSUGw="; }) # 2024-02-23 01:53:14 +0100
# # (armbianMegous { name = "arm64-dts-sun50-a64-pinephone-Define-jack-pins-in-DT"; hash = "sha256-4TGa2ZceqGqsr34VRTuEEgvICt4H3HEAsZWbY9SJDUU="; }) # 2024-05-14 10:47:05 +0200
# (armbianMegous { name = "arm64-dts-allwinner-a64-Add-hdmi-sound-card"; hash = "sha256-gMNdNgvuoettAPX8aGaIMDooXt7gk1s3NLk0jHk8nqU="; }) # 2021-05-09 10:39:56 +0200
# (armbianMegous { name = "usb-typec-anx7688-Add-driver-for-ANX7688-USB-C-HDMI-bridge"; hash = "sha256-CSWcCF+TzIpKoG1IpXpyuIu+NKNrREHvIkKH+jHnHxE="; }) # 2020-02-13 15:37:25 +0100
# (armbianMegous { name = "usb-typec-anx7688-Port-to-Linux-6.9"; hash = "sha256-jMa+RA0ZEKYfPbsNAEoBhPBf+o+iImzncM3QnfDdP74="; }) # 2024-03-15 23:05:10 +0100
# (armbianMegous { name = "usb-typec-anx7688-Port-to-Linux-6.10"; hash = "sha256-rtem3ibZq1HxDIptlzioXwX6HjC01qfC0rYIrrGvEx4="; }) # 2024-07-05 23:25:25 +0200
# # (armbianMegous { name = ""; })
# ];
# megi's patches apply cleanly, but fails to compile without tweaking config (e.g. CONFIG_FB_SUN5I_EINK=n)
# boot.kernelPatches = pkgs.armbian-build.patches.megous.series;