mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-01-09 03:50:38 +00:00
bootloader: install-rpi4-arm64-bootloader: Don't depend on Nonguix.
* rosenthal/bootloader/u-boot.scm (install-rpi4-arm64-bootloader): Don't depend on Nonguix.
This commit is contained in:
parent
a1e7e1df3c
commit
e7f392448d
@ -23,27 +23,22 @@ (define install-rpi4-arm64-bootloader
|
||||
#~(lambda (bootloader device mount-point)
|
||||
(let ((u-boot (string-append bootloader "/libexec/u-boot.bin"))
|
||||
(install-dir (string-append mount-point "/boot")))
|
||||
;; Autoload Nonguix*, so we only have a soft dependency.
|
||||
;; * <https://gitlab.com/nonguix/nonguix>
|
||||
(module-autoload! (current-module)
|
||||
'(nongnu packages linux) '(raspberrypi-firmware))
|
||||
|
||||
;; Install raspberrypi-firmware
|
||||
(for-each (lambda (file)
|
||||
(install-file
|
||||
(string-append raspberrypi-firmware "/" file) install-dir))
|
||||
'(;; VideoCore firmwares
|
||||
"start4.elf" ;basic
|
||||
"start4x.elf" ;camera drivers and codec
|
||||
"start4cd.elf" ;cut-down
|
||||
"start4db.elf" ;debug
|
||||
;; Linker files
|
||||
"fixup4.dat"
|
||||
"fixup4x.dat"
|
||||
"fixup4cd.dat"
|
||||
"fixup4db.dat"
|
||||
;; Device Tree Overlays (for Raspberry Pi's bootloader)
|
||||
"bcm2711-rpi-4-b.dtb"))
|
||||
;; (for-each (lambda (file)
|
||||
;; (install-file
|
||||
;; (string-append #$raspberrypi-firmware "/" file) install-dir))
|
||||
;; '(;; VideoCore firmwares
|
||||
;; "start4.elf" ;basic
|
||||
;; "start4x.elf" ;camera drivers and codec
|
||||
;; "start4cd.elf" ;cut-down
|
||||
;; "start4db.elf" ;debug
|
||||
;; ;; Linker files
|
||||
;; "fixup4.dat"
|
||||
;; "fixup4x.dat"
|
||||
;; "fixup4cd.dat"
|
||||
;; "fixup4db.dat"
|
||||
;; ;; Device Tree Overlays (for Raspberry Pi's bootloader)
|
||||
;; "bcm2711-rpi-4-b.dtb"))
|
||||
;; Install u-boot
|
||||
(install-file u-boot install-dir)
|
||||
;; Raspberry Pi's bootloader configuration
|
||||
|
Loading…
Reference in New Issue
Block a user