summary refs log tree commit diff
path: root/gnu/bootloader
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2021-05-29 21:17:41 -0700
committerVagrant Cascadian <vagrant@debian.org>2021-05-29 21:25:13 -0700
commitd7d6c9e4e697c33634c89628d10995d0f070db96 (patch)
tree110b6471de1abbb22a52f88f52fcfdfc55e8e471 /gnu/bootloader
parent055d0fa3249966fbf9d1e96056d444d7fbf8d605 (diff)
downloadguix-d7d6c9e4e697c33634c89628d10995d0f070db96.tar.gz
gnu: bootloader: Fix install-allwinner64-u-boot.
This fixes boot breakage introduced in commit:

  a65c935e29766940148d52b8116634b1e1cbcba6

Multiple files were still needed, but the filenames changed.

* gnu/bootloader/u-boot.scm (install-allwinner64-u-boot): Update to
  use both SPL and u-boot files with new filenames.
Diffstat (limited to 'gnu/bootloader')
-rw-r--r--gnu/bootloader/u-boot.scm7
1 files changed, 5 insertions, 2 deletions
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)