summaryrefslogtreecommitdiff
path: root/na/scripts/Kconfig.mk
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/scripts/Kconfig.mk
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/scripts/Kconfig.mk')
-rw-r--r--na/scripts/Kconfig.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/na/scripts/Kconfig.mk b/na/scripts/Kconfig.mk
index c979e76..2bdc934 100644
--- a/na/scripts/Kconfig.mk
+++ b/na/scripts/Kconfig.mk
@@ -60,6 +60,18 @@ CONFIG_DEBUG_LOCKS ?= y
CONFIG_SELFTEST ?= y
CONFIG_KLOG ?= y
+# --- Initramfs ------------------------------------------------------
+# Source for the initramfs image. Accepted forms (auto-detected by
+# scripts/gen_initramfs.sh):
+# - a listing file (gen_init_cpio format) โ†’ built into a cpio
+# - a directory โ†’ packed recursively
+# - a *.cpio file โ†’ used as-is
+# Override on the command line or pin in .config:
+# make all CONFIG_INITRAMFS_SOURCE=/path/to/rootfs
+CONFIG_INITRAMFS_SOURCE ?= usr/default_cpio_list
+CONFIG_INITRAMFS_ROOT_UID ?= 0
+CONFIG_INITRAMFS_ROOT_GID ?= 0
+
# ------------------------------------------------------------------
# ยง3 Derived constants (computed from CONFIG_ symbols)
#