diff options
author | Vagrant Cascadian <vagrant@debian.org> | 2020-02-15 07:16:08 +0000 |
---|---|---|
committer | Vagrant Cascadian <vagrant@debian.org> | 2020-02-26 22:23:17 -0800 |
commit | 760dfc67cd37fffea57803d2637468a19c345de6 (patch) | |
tree | 52b184ca70d219c6b6f8b4492a782eb4a48c31b3 /gnu/packages/bootloaders.scm | |
parent | c3435e2e60be3382863b3ae3061dff0ec8642151 (diff) | |
download | patches-760dfc67cd37fffea57803d2637468a19c345de6.tar patches-760dfc67cd37fffea57803d2637468a19c345de6.tar.gz |
gnu: u-boot-pinebook: Fix LCD video output.
* gnu/packages/bootloaders (u-boot-pinebook): Add phase applying patch
submitted upstream.
Diffstat (limited to 'gnu/packages/bootloaders.scm')
-rw-r--r-- | gnu/packages/bootloaders.scm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 63a88dd7ec..770647935a 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -670,7 +670,20 @@ it fits within common partitioning schemes.") (make-u-boot-sunxi64-package "pine64-lts" "aarch64-linux-gnu")) (define-public u-boot-pinebook - (make-u-boot-sunxi64-package "pinebook" "aarch64-linux-gnu")) + (let ((base (make-u-boot-sunxi64-package "pinebook" "aarch64-linux-gnu"))) + (package + (inherit base) + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'patch-pinebook-config + ;; Fix regression with LCD video output introduced in 2020.01 + ;; https://patchwork.ozlabs.org/patch/1225130/ + (lambda _ + (substitute* "configs/pinebook_defconfig" + (("CONFIG_VIDEO_BRIDGE_ANALOGIX_ANX6345=y") "CONFIG_VIDEO_BRIDGE_ANALOGIX_ANX6345=y\nCONFIG_VIDEO_BPP32=y")) + #t))))))))) (define-public u-boot-bananapi-m2-ultra (make-u-boot-package "Bananapi_M2_Ultra" "arm-linux-gnueabihf")) |