diff options
| author | Zheng Junjie <z572@z572.online> | 2025-04-05 03:33:59 +0800 |
|---|---|---|
| committer | Zheng Junjie <z572@z572.online> | 2025-04-08 14:58:19 +0800 |
| commit | 0770929ddeb82cb681b91e4019b74429285c9f73 (patch) | |
| tree | 7d3c3dccab3c7022685711a049de477838842f88 /gnu/system | |
| parent | 082923279c186797827568e78d076db7d0eb814e (diff) | |
images: visionfive2: Add support for booting from nvme.
* 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
Diffstat (limited to 'gnu/system')
| -rw-r--r-- | gnu/system/images/visionfive2.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/system/images/visionfive2.scm b/gnu/system/images/visionfive2.scm index 26f70afbc14..977d10798a0 100644 --- a/gnu/system/images/visionfive2.scm +++ b/gnu/system/images/visionfive2.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> | 2 | ;;; Copyright © 2024-2025 Zheng Junjie <z572@z572.online> |
| 3 | ;;; | 3 | ;;; |
| 4 | ;;; This file is part of GNU Guix. | 4 | ;;; This file is part of GNU Guix. |
| 5 | ;;; | 5 | ;;; |
| @@ -38,6 +38,7 @@ | |||
| 38 | #:use-module (gnu system) | 38 | #:use-module (gnu system) |
| 39 | #:use-module (gnu system file-systems) | 39 | #:use-module (gnu system file-systems) |
| 40 | #:use-module (gnu system image) | 40 | #:use-module (gnu system image) |
| 41 | #:use-module (gnu system linux-initrd) | ||
| 41 | #:use-module (guix platforms riscv) | 42 | #:use-module (guix platforms riscv) |
| 42 | #:use-module (srfi srfi-26) | 43 | #:use-module (srfi srfi-26) |
| 43 | #:export (visionfive2-barebones-os | 44 | #:export (visionfive2-barebones-os |
| @@ -70,6 +71,14 @@ | |||
| 70 | (type "ext4")) | 71 | (type "ext4")) |
| 71 | %base-file-systems)) | 72 | %base-file-systems)) |
| 72 | (kernel-arguments (list "earlycon" "clk_ignore_unused")) | 73 | (kernel-arguments (list "earlycon" "clk_ignore_unused")) |
| 74 | (initrd-modules | ||
| 75 | (append (list "mmc_block" | ||
| 76 | "clk-starfive-jh7110-aon" | ||
| 77 | "clk-starfive-jh7110-stg" | ||
| 78 | "phy-jh7110-dphy-tx" | ||
| 79 | "pcie_starfive" | ||
| 80 | "nvme") | ||
| 81 | %base-initrd-modules)) | ||
| 73 | (firmware '()) | 82 | (firmware '()) |
| 74 | (packages (append (list cloud-utils neofetch) %base-packages)) | 83 | (packages (append (list cloud-utils neofetch) %base-packages)) |
| 75 | (services | 84 | (services |
