gnu: Add arm-trusted-firmware-rk3399.
* gnu/packages/bootloaders.scm (arm-trusted-firmware-rk3399): New exported variable. * gnu/packages/firmware (make-arm-trusted-firmware): Also install .elf files. Adjusted-by: Vagrant Cascadian <vagrant@debian.org> Signed-off-by: Caliph Nomble <nomble@palism.com> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
This commit is contained in:
parent
a90fd72bb0
commit
074554a289
1 changed files with 11 additions and 1 deletions
|
@ -410,7 +410,7 @@ Virtual Machines. OVMF contains a sample UEFI firmware for QEMU and KVM.")
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(bin (find-files "." ".*\\.bin$")))
|
(bin (find-files "." ".*\\.(bin|elf)$")))
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (file)
|
(lambda (file)
|
||||||
(install-file file out))
|
(install-file file out))
|
||||||
|
@ -486,6 +486,16 @@ such as:
|
||||||
(base32
|
(base32
|
||||||
"0vqhwqqh8h9qlkpybg2v94911091c1418bc4pnzq5fd7zf0fjkf8")))))))
|
"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
|
(define-public rk3399-cortex-m0
|
||||||
(package
|
(package
|
||||||
(name "rk3399-cortex-m0")
|
(name "rk3399-cortex-m0")
|
||||||
|
|
Reference in a new issue