Subject: bug#77543: closed (Re: [bug#77543] [PATCH] images: visionfive2: Add support for booting from nvme.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 08 Apr 2025 07:11:02 +0000

Your bug report

#77543: [PATCH] images: visionfive2: Add support for booting from nvme.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
77543: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77543
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#77543] [PATCH] images: visionfive2: Add support for booting from nvme.
From: Z572 <[email-masked]>
To: [email-masked]
Date: Tue, 08 Apr 2025 15:10:12 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Zheng Junjie <[email-masked]> writes:

> * gnu/system/images/visionfive2.scm (visionfive2-barebones-os):
> [initrd-modules]: Add mmc_block, clk-starfive-jh7110-aon,
> clk-starfive-jh7110-stg, phy-jh7110-dphy-tx, pcie_starfive and nvme.
>
> Change-Id: I1d7ced9bad7e94045ab1caa2315871cd56ca50f4
> ---
>  gnu/system/images/visionfive2.scm | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/system/images/visionfive2.scm b/gnu/system/images/visionfive2.scm
> index 26f70afbc14..744f8c1d485 100644
> --- a/gnu/system/images/visionfive2.scm
> +++ b/gnu/system/images/visionfive2.scm
> @@ -1,5 +1,5 @@
>  ;;; GNU Guix --- Functional package management for GNU
> -;;; Copyright © 2024 Zheng Junjie <[email-masked]>
> +;;; Copyright © 2024-2025 Zheng Junjie <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -38,6 +38,7 @@ (define-module (gnu system images visionfive2)
>    #:use-module (gnu system)
>    #:use-module (gnu system file-systems)
>    #:use-module (gnu system image)
> +  #:use-module (gnu system linux-initrd)
>    #:use-module (guix platforms riscv)
>    #:use-module (srfi srfi-26)
>    #:export (visionfive2-barebones-os
> @@ -70,6 +71,14 @@ (define visionfive2-barebones-os
>                            (type "ext4"))
>                          %base-file-systems))
>      (kernel-arguments (list "earlycon" "clk_ignore_unused"))
> +    (initrd-modules
> +     (append (list "mmc_block"
> +                   "clk-starfive-jh7110-aon"
> +                   "clk-starfive-jh7110-stg"
> +                   "phy-jh7110-dphy-tx"
> +                   "pcie_starfive"
> +                   "nvme")
> +             %base-initrd-modules))
>      (firmware '())
>      (packages (append (list cloud-utils neofetch) %base-packages))
>      (services
>
> base-commit: 1436165c2f0adbb44d3f033c54db692167591248
> prerequisite-patch-id: f6807c214a9924fb57a2a054dceba1802ba4536c
pushed, closing.

Subject: [PATCH] images: visionfive2: Add support for booting from nvme.
From: Zheng Junjie <[email-masked]>
To: [email-masked]
Date: Sat, 5 Apr 2025 03:36:31 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/system/images/visionfive2.scm (visionfive2-barebones-os):
[initrd-modules]: Add mmc_block, clk-starfive-jh7110-aon,
clk-starfive-jh7110-stg, phy-jh7110-dphy-tx, pcie_starfive and nvme.

Change-Id: I1d7ced9bad7e94045ab1caa2315871cd56ca50f4
---
 gnu/system/images/visionfive2.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/system/images/visionfive2.scm b/gnu/system/images/visionfive2.scm
index 26f70afbc14..744f8c1d485 100644
--- a/gnu/system/images/visionfive2.scm
+++ b/gnu/system/images/visionfive2.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2024 Zheng Junjie <[email-masked]>
+;;; Copyright © 2024-2025 Zheng Junjie <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -38,6 +38,7 @@ (define-module (gnu system images visionfive2)
   #:use-module (gnu system)
   #:use-module (gnu system file-systems)
   #:use-module (gnu system image)
+  #:use-module (gnu system linux-initrd)
   #:use-module (guix platforms riscv)
   #:use-module (srfi srfi-26)
   #:export (visionfive2-barebones-os
@@ -70,6 +71,14 @@ (define visionfive2-barebones-os
                           (type "ext4"))
                         %base-file-systems))
     (kernel-arguments (list "earlycon" "clk_ignore_unused"))
+    (initrd-modules
+     (append (list "mmc_block"
+                   "clk-starfive-jh7110-aon"
+                   "clk-starfive-jh7110-stg"
+                   "phy-jh7110-dphy-tx"
+                   "pcie_starfive"
+                   "nvme")
+             %base-initrd-modules))
     (firmware '())
     (packages (append (list cloud-utils neofetch) %base-packages))
     (services

base-commit: 1436165c2f0adbb44d3f033c54db692167591248
prerequisite-patch-id: f6807c214a9924fb57a2a054dceba1802ba4536c
-- 
2.49.0