summaryrefslogtreecommitdiff
path: root/na/usr/default_cpio_list
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-07-10 11:24:56 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-07-10 11:24:56 +0800
commit1767d390fbf3d0c65389de46caf0b6d43ef3b6ad (patch)
tree0f5e01cd7c7a05abb6b1c7472d7f00f49caf02cc /na/usr/default_cpio_list
parent63dc025705f6533b91fb1a7d26e6ed864efd9900 (diff)
downloadlume-1767d390fbf3d0c65389de46caf0b6d43ef3b6ad.tar.gz
lume-1767d390fbf3d0c65389de46caf0b6d43ef3b6ad.tar.xz
feat: establish bootable new architecture checkpoint
Replace the compressed boot path with a relocatable higher-half RISC-V entry, expand memory and SMP support, and add the driver, TTY, VFS, exec, signal, syscall, initramfs, and self-test infrastructure needed for a bootable kernel checkpoint.
Diffstat (limited to 'na/usr/default_cpio_list')
-rw-r--r--na/usr/default_cpio_list24
1 files changed, 24 insertions, 0 deletions
diff --git a/na/usr/default_cpio_list b/na/usr/default_cpio_list
new file mode 100644
index 0000000..6721365
--- /dev/null
+++ b/na/usr/default_cpio_list
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Default initramfs source — minimal, no userland.
+#
+# Mirrors Linux's usr/default_cpio_list: just enough nodes for the kernel
+# to mount a root and panic cleanly on "no init found". Real workloads
+# override CONFIG_INITRAMFS_SOURCE.
+#
+# Format (matches gen_init_cpio):
+# dir <path> <mode> <uid> <gid>
+# nod <path> <mode> <uid> <gid> <c|b> <maj> <min>
+# file <path> <hostsrc> <mode> <uid> <gid>
+# slink <path> <target> <mode> <uid> <gid>
+# Lines starting with '#' are comments. Blank lines are ignored.
+
+dir /dev 0755 0 0
+nod /dev/console 0600 0 0 c 5 1
+nod /dev/null 0666 0 0 c 1 3
+nod /dev/zero 0666 0 0 c 1 5
+dir /proc 0755 0 0
+dir /sys 0755 0 0
+dir /tmp 1777 0 0
+dir /sbin 0755 0 0
+dir /bin 0755 0 0
+dir /etc 0755 0 0