summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/firmware.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 904ed8c5fa..bfa129aea5 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -410,7 +410,7 @@ Virtual Machines. OVMF contains a sample UEFI firmware for QEMU and KVM.")
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
- (bin (find-files "." ".*\\.bin$")))
+ (bin (find-files "." ".*\\.(bin|elf)$")))
(for-each
(lambda (file)
(install-file file out))
@@ -486,6 +486,16 @@ such as:
(base32
"0vqhwqqh8h9qlkpybg2v94911091c1418bc4pnzq5fd7zf0fjkf8")))))))
+(define-public arm-trusted-firmware-rk3399
+ (let ((base (make-arm-trusted-firmware "rk3399")))
+ (package
+ (inherit base)
+ (name "arm-trusted-firmware-rk3399")
+ (native-inputs
+ `(("cross32-gcc" ,(cross-gcc "arm-none-eabi"))
+ ("cross32-binutils", (cross-binutils "arm-none-eabi"))
+ ,@(package-native-inputs base))))))
+
(define-public rk3399-cortex-m0
(package
(name "rk3399-cortex-m0")