mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
|
||||
;;; Copyright © 2024-2025 Zheng Junjie <z572@z572.online>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -38,6 +38,7 @@
|
||||
#: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 @@
|
||||
(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
|
||||
|
||||
Reference in New Issue
Block a user