This commit is contained in:
Linehu
2026-08-09 22:20:01 +08:00
parent 8717ea8f20
commit 2a50fa58c7
185 changed files with 19890 additions and 710 deletions
+27 -6
View File
@@ -67,13 +67,34 @@ verbose: yes
#
# Linux 兼容层模块(需先通过 WSL 运行 CODE/linux/build.sh 构建产物)
# build.sh 成功后会自动取消下面 4 行注释;若未构建 Linux 内核请保持注释状态
module_path: boot():/boot/linux-bzImage
module_cmdline: linux:bzImage
module_path: boot():/boot/linux-initrd.img
module_cmdline: linux:initrd
# module_path: boot():/boot/linux-bzImage
# module_cmdline: linux:bzImage
# module_path: boot():/boot/linux-initrd.img
# module_cmdline: linux:initrd
# Arch Linux rootfs (ext4) — exposed to Linux guest as virtio-blk /dev/vdb
# via memory-backed virtio-mmio backend (GPA 0xF4002000, IRQ7).
# initramfs init mounts this and switch_root's into Arch /sbin/init.
# build_arch_rootfs.sh produces this file; uncomment after building.
module_path: boot():/boot/linux-rootfs.img
module_cmdline: linux:rootfs
#module_path: boot():/boot/linux-rootfs.img
#module_cmdline: linux:rootfs
# VSCode Phase 4: 持久 rw 卷 (ext4) — virtio-blk slot6 可写后端
# (GPA 0xF4006000, IRQ11) 暴露为 /dev/vdc,用作 overlayfs upperdir
# 与 VSCode 数据卷。由 CODE/linux/build_extra_rootfs.sh 生成。
# 文件不存在时 Limine 会报 module 加载失败 —— 构建脚本未生成该文件时
# 请保持下面两行注释(后端对缺失 module 安全降级)。
#module_path: boot():/boot/linux-extra-rootfs.img
#module_cmdline: linux:extra_rootfs
# OpenXJ380 第三内核(三内核架构路线 B:XJ380 作为第二 guest)。
# 把 OpenXJ380 构建产物 out/kernel.krl 复制为 SYSTEM/boot/xj380.krl 后
# 取消下面两行注释;UTSM 的 xj380_loader 会把它作为 VM guest 加载。
# 文件不存在时 Limine 会报 module 加载失败 —— 未构建前保持注释状态。
#module_path: boot():/boot/xj380.krl
#module_cmdline: xj380:kernel
# VSCode Phase 5: VSCode tarball(官方 VSCode-linux-x64 .tar.gz)—
# 由 lxc_vscode_install() 流式推入 guest 并解包到 /opt/vscode
# (overlay 持久化,二次启动自动跳过)。把 tarball 放到
# SYSTEM/boot/linux-vscode.tar.gz 后取消下面两行注释。
#module_path: boot():/boot/linux-vscode.tar.gz
#module_cmdline: linux:vscode