mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: u-boot-pinebook: Fix LCD video output.
* gnu/packages/bootloaders (u-boot-pinebook): Add phase applying patch submitted upstream.
This commit is contained in:
parent
c3435e2e60
commit
760dfc67cd
1 changed files with 14 additions and 1 deletions
|
@ -670,7 +670,20 @@ (define-public u-boot-pine64-lts
|
|||
(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"))
|
||||
|
|
Loading…
Reference in a new issue