GNU bug report logs - #77543
[PATCH] images: visionfive2: Add support for booting from nvme.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <z572 <at> z572.online>

Date: Fri, 4 Apr 2025 19:38:02 UTC

Severity: normal

Tags: patch

Done: Z572 <z572 <at> z572.online>

To reply to this bug, email your comments to 77543 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#77543; Package guix-patches. (Fri, 04 Apr 2025 19:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zheng Junjie <z572 <at> z572.online>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 04 Apr 2025 19:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <z572 <at> z572.online>
To: guix-patches <at> gnu.org
Subject: [PATCH] images: visionfive2: Add support for booting from nvme.
Date: Sat,  5 Apr 2025 03:36:31 +0800
* 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 <873216071 <at> qq.com>
+;;; Copyright © 2024-2025 Zheng Junjie <873216071 <at> qq.com>
 ;;;
 ;;; 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





Reply sent to Z572 <z572 <at> z572.online>:
You have taken responsibility. (Tue, 08 Apr 2025 07:11:02 GMT) Full text and rfc822 format available.

Notification sent to Zheng Junjie <z572 <at> z572.online>:
bug acknowledged by developer. (Tue, 08 Apr 2025 07:11:02 GMT) Full text and rfc822 format available.

Message #10 received at 77543-done <at> debbugs.gnu.org (full text, mbox):

From: Z572 <z572 <at> z572.online>
To: 77543-done <at> debbugs.gnu.org
Subject: Re: [bug#77543] [PATCH] images: visionfive2: Add support for
 booting from nvme.
Date: Tue, 08 Apr 2025 15:10:12 +0800
[Message part 1 (text/plain, inline)]
Zheng Junjie <z572 <at> z572.online> 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 <873216071 <at> qq.com>
> +;;; Copyright © 2024-2025 Zheng Junjie <873216071 <at> qq.com>
>  ;;;
>  ;;; 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.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.