mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: u-boot-rockpro64-rk3399: Fix freeze on boot.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]<#:phases> [patch-rockpro64-config]: Build with modified config to prevent freeze on boot due to usb being enabled. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
7d440cdbfd
commit
219612904c
1 changed files with 8 additions and 1 deletions
|
@ -898,7 +898,14 @@ (define-public u-boot-rockpro64-rk3399
|
|||
(substitute-keyword-arguments (package-arguments base)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(add-after 'unpack 'set-environment
|
||||
(add-after 'unpack 'patch-rockpro64-config
|
||||
;; Fix regression in 2020.10 causing freezes on boot with USB boot enabled.
|
||||
;; See https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64/-/issues/4
|
||||
(lambda _
|
||||
(substitute* "configs/rockpro64-rk3399_defconfig"
|
||||
(("CONFIG_USE_PREBOOT=y") "CONFIG_USE_PREBOOT=n"))
|
||||
#t))
|
||||
(add-after 'patch-rockpro64-config 'set-environment
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(setenv "BL31" (string-append (assoc-ref inputs "firmware")
|
||||
"/bl31.elf"))
|
||||
|
|
Loading…
Reference in a new issue