diff options
author | Herman Rimm <herman@rimm.ee> | 2023-11-18 17:01:27 +0100 |
---|---|---|
committer | Vagrant Cascadian <vagrant@debian.org> | 2023-12-22 16:06:03 -0800 |
commit | 88fb95903c1d94b3be7e8a811d943af988041e4e (patch) | |
tree | cc57e14761f7ffc9c5e960c4d9479350c48ccf7c /gnu/packages | |
parent | fad93748cd2d44f7f68d2d973a22ed0b438e657b (diff) | |
download | guix-88fb95903c1d94b3be7e8a811d943af988041e4e.tar.gz |
gnu: bootloader: Add orangepi-r1-plus-lts-rk3328 bootloader.
* gnu/bootloader/u-boot.scm (install-orangepi-r1-plus-lts-rk3328-u-boot, u-boot-orangepi-r1-plus-lts-rk3328-bootloader): New variables. * gnu/packages/bootloaders.scm (u-boot-orangepi-r1-plus-lts-rk3328): New variable. Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/bootloaders.scm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index d0df4f62c2..bd8b621e35 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -1188,6 +1188,21 @@ device while it's being turned on (and a while longer)."))) version, contrary to Novena upstream, does not load u-boot.img from the first partition.")) +(define-public u-boot-orangepi-r1-plus-lts-rk3328 + (let ((base (make-u-boot-package "orangepi-r1-plus-lts-rk3328" "aarch64-linux-gnu"))) + (package + (inherit base) + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'set-environment + (lambda* (#:key native-inputs inputs #:allow-other-keys) + (setenv "BL31" (search-input-file inputs "bl31.elf")))))))) + (inputs + (modify-inputs (package-inputs base) + (append arm-trusted-firmware-rk3328)))))) + (define-public u-boot-cubieboard (make-u-boot-package "Cubieboard" "arm-linux-gnueabihf")) |