moby: ship stock kernel 6.11 with a subset of mobian patches
this is enough for the rear camera to work in megapixels-next (NOT normal megapixels, and not snapshot or gnome-screenshot) audio over 3.5mm works; but not over speakers. charging: unknown
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
lib,
|
lib,
|
||||||
buildLinux,
|
buildLinux,
|
||||||
linux_latest,
|
linux_latest,
|
||||||
|
linux-mobian,
|
||||||
linux-postmarketos-allwinner,
|
linux-postmarketos-allwinner,
|
||||||
newScope,
|
newScope,
|
||||||
sane-kernel-tools,
|
sane-kernel-tools,
|
||||||
@@ -11,8 +12,9 @@
|
|||||||
withNixpkgsConfig ? true,
|
withNixpkgsConfig ? true,
|
||||||
withFullConfig ? false,
|
withFullConfig ? false,
|
||||||
withModemPower ? false, #< TODO: fix so it applies
|
withModemPower ? false, #< TODO: fix so it applies
|
||||||
withArmbianPatches ? true,
|
withArmbianPatches ? false,
|
||||||
withMegousPatches ? false,
|
withMegousPatches ? false,
|
||||||
|
withMobianPatches ? true,
|
||||||
#VVV nixpkgs calls `.override` on the kernel to configure additional things, but we don't care about those things
|
#VVV nixpkgs calls `.override` on the kernel to configure additional things, but we don't care about those things
|
||||||
...
|
...
|
||||||
}@args:
|
}@args:
|
||||||
@@ -47,6 +49,35 @@ linux_latest.override {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
++ lib.optionals withMobianPatches (with linux-mobian.patches.pinephone; [
|
||||||
|
byName."0132-regulator-axp20x-Turn-N_VBUSEN-to-input-on-x-powers-"
|
||||||
|
byName."0133-arm64-dts-sun50i-a64-pinephone-Add-front-back-camera"
|
||||||
|
# byName."0134-arm64-dts-sun50i-a64-pinephone-Add-Type-C-support-fo" #< `Error: ../arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi:578.1-12 Label or path sound_hdmi not found`
|
||||||
|
# byName."0135-arm64-dts-sun50i-a64-pinephone-Add-detailed-OCV-to-c"
|
||||||
|
# byName."0136-arm64-dts-sun50i-a64-pinephone-Add-mount-matrix-for-"
|
||||||
|
# byName."0137-arm64-dts-sun50i-a64-pinephone-Add-support-for-Bluet"
|
||||||
|
# byName."0138-arm64-dts-sun50i-a64-pinephone-Enable-internal-HMIC-"
|
||||||
|
# byName."0139-arm64-dts-sun50i-a64-pinephone-Add-support-for-modem"
|
||||||
|
# byName."0140-arm64-dts-sun50i-a64-pinephone-Bump-I2C-frequency-to"
|
||||||
|
# byName."0141-arm64-dts-sun50i-a64-pinephone-Add-interrupt-pin-for"
|
||||||
|
# byName."0142-arm64-dts-sun50i-a64-pinephone-Don-t-make-lradc-keys"
|
||||||
|
# byName."0143-arm64-dts-sun50i-a64-pinephone-Add-supply-for-i2c-bu"
|
||||||
|
# byName."0144-arm64-dts-sun50i-a64-pinephone-Workaround-broken-HDM"
|
||||||
|
# byName."0145-arm64-dts-sun50i-a64-pinephone-Add-AF8133J-to-PinePh"
|
||||||
|
# byName."0146-arm64-dts-sun50i-a64-pinephone-Add-mount-matrix-for-"
|
||||||
|
# byName."0147-arm64-dts-sun50i-a64-pinephone-Add-support-for-Pinep"
|
||||||
|
# byName."0148-arm64-dts-sun50i-a64-Add-missing-trip-points-for-GPU"
|
||||||
|
# byName."0149-arm64-dts-allwinner-sun50i-a64-pinephone-Add-support"
|
||||||
|
# byName."0150-ARM-dts-allwinner-sun50i-64-pinephone-Add-power-supp"
|
||||||
|
# byName."0151-arm64-dts-sun50i-a64-pinephone-Power-off-the-touch-c"
|
||||||
|
# byName."0152-arm64-dts-allwinner-pinephone-Add-modem-EG25-G-suppo"
|
||||||
|
# byName."0153-arm64-dts-sun50i-pinephone-add-near-level-to-proximi"
|
||||||
|
# byName."0154-arm64-dts-allwinner-pinephone-lower-cpu_alert-temper"
|
||||||
|
# byName."0155-arm64-dts-allwinner-pinephone-change-backlight-brigh"
|
||||||
|
# byName."0156-arm64-dts-allwinner-pinephone-fix-headphone-jack-nam"
|
||||||
|
# byName."0157-arm64-dts-pinephone-Add-pstore-support-for-PinePhone"
|
||||||
|
# byName."0158-arm64-dts-allwinner-pinephone-Set-orientation-for-fr"
|
||||||
|
])
|
||||||
++ lib.optionals withArmbianPatches (with patches.armbian; [
|
++ lib.optionals withArmbianPatches (with patches.armbian; [
|
||||||
byName."Doc-dt-bindings-usb-add-binding-for-DWC3-controller-on-Allwinne"
|
byName."Doc-dt-bindings-usb-add-binding-for-DWC3-controller-on-Allwinne"
|
||||||
byName."drv-pinctrl-pinctrl-sun50i-a64-disable_strict_mode"
|
byName."drv-pinctrl-pinctrl-sun50i-a64-disable_strict_mode"
|
||||||
|
Reference in New Issue
Block a user