guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 9015ab3622c7056eab362e21ae265c35d185fe5c
Author: Artyom V. Poptsov <[email protected]>
AuthorDate: Wed Jan 7 10:21:37 2026 +0300

    gnu: install-starfive-visionfive2-uEnv.txt: Set extra options.
    
    * gnu/bootloader/u-boot.scm (install-starfive-visionfive2-uEnv.txt): Set
    "boot_targets" and "bootcmd_mmc1".
    
    Change-Id: I0ce157d66e792af605cfdb7cc5dbecf6e5171c5a
    Signed-off-by: Rutherther <[email protected]>
---
 gnu/bootloader/u-boot.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm
index 3b20fd721d..349bb72418 100644
--- a/gnu/bootloader/u-boot.scm
+++ b/gnu/bootloader/u-boot.scm
@@ -138,7 +138,12 @@ is BLOCK-SIZE * COUNT, or FILE size if COUNT is not given."
     ;; starfive_visionfive2.dtb.  We cannot guarantee that users will
     ;; update this U-Boot, so set the FDT explicitly.
     (plain-file "uEnv.txt"
-      "fdtfile=starfive/jh7110-starfive-visionfive-2-v1.3b.dtb")))
+                (string-join
+                 (list
+                  "boot_targets=mmc1 nvme0 mmc0 dhcp"
+                  "bootcmd_mmc1=bootflow scan"
+                  "fdtfile=starfive/jh7110-starfive-visionfive-2-v1.3b.dtb")
+                 "\n"))))
 
 
 ;;;

Reply via email to