summaryrefslogtreecommitdiff
path: root/gnu/bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/bootloader')
-rw-r--r--gnu/bootloader/grub.scm5
-rw-r--r--gnu/bootloader/u-boot.scm7
2 files changed, 8 insertions, 4 deletions
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index ce146aba3c..d8e888ff40 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -647,11 +647,12 @@ below the directory TARGET for the system whose root is mounted at MOUNT-POINT.
MOUNT-POINT is the last argument in 'guix system init /etc/config.scm mnt/point'
or '/' for other 'guix system' commands.
-TARGET is the target argument given to the bootloader-configuration in
+Where TARGET comes from the targets argument given to the
+bootloader-configuration in:
(operating-system
(bootloader (bootloader-configuration
- (target \"/boot\")
+ (targets '(\"/boot\"))
…))
…)
diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm
index 122c7c9861..6cad33b741 100644
--- a/gnu/bootloader/u-boot.scm
+++ b/gnu/bootloader/u-boot.scm
@@ -73,9 +73,12 @@
(define install-allwinner64-u-boot
#~(lambda (bootloader root-index image)
- (let ((spl (string-append bootloader "/libexec/u-boot-sunxi-with-spl.fit.itb")))
+ (let ((spl (string-append bootloader "/libexec/u-boot-sunxi-with-spl.bin"))
+ (u-boot (string-append bootloader "/libexec/u-boot-sunxi-with-spl.fit.itb")))
(write-file-on-device spl (stat:size (stat spl))
- image (* 8 1024)))))
+ image (* 8 1024))
+ (write-file-on-device u-boot (stat:size (stat u-boot))
+ image (* 40 1024)))))
(define install-imx-u-boot
#~(lambda (bootloader root-index image)