guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: bootloader: Fix install-allwinner64-u-boot.


From: guix-commits
Subject: branch master updated: gnu: bootloader: Fix install-allwinner64-u-boot.
Date: Sun, 30 May 2021 00:29:02 -0400

This is an automated email from the git hooks/post-receive script.

vagrantc pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d7d6c9e  gnu: bootloader: Fix install-allwinner64-u-boot.
d7d6c9e is described below

commit d7d6c9e4e697c33634c89628d10995d0f070db96
Author: Vagrant Cascadian <vagrant@debian.org>
AuthorDate: Sat May 29 21:17:41 2021 -0700

    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.
---
 gnu/bootloader/u-boot.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm
index 122c7c9..6cad33b 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]