mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
| .. | ||
| gcl-modules | ||
| build.sh | ||
| delta-kernel-compression.gcl | ||
| famm-neuromorphic-kernel.gcl | ||
| fpga_uart_loader.gcl | ||
| GCCL-DELAYED-ARTIFACTS.md | ||
| GCCL-NAMING-AND-COMPATIBILITY.md | ||
| gcl-nanokernel.gcl | ||
| GCL-NANOKERNEL.md | ||
| gcl-self-host.gcl | ||
| init | ||
| kexec-boot.sh | ||
| lawful-hardware.gcl | ||
| nano-kernel.config | ||
| nuvmap-kernel-integration.gcl | ||
| qemu-test.sh | ||
| README.md | ||
| socket-server.c | ||
| triumvirate-kernel.gcl | ||
Nano Kernel Appliance - RackNerd VPS Deployment
Target: RackNerd VPS (172.245.19.182)
Purpose: Minimal Linux kernel that boots directly into Research Stack swarm
Size Target: ~10MB kernel + ~50MB initramfs (vs 200MB+ standard)
Architecture
RackNerd VPS (172.245.19.182)
┌────────────────────────────────────────────────────────────┐
│ Standard Kernel (Debian/Ubuntu) │
│ ┌────────────────────────────────────────────────────────┐ │
│ │ SSH in → run kexec-boot.sh │ │
│ │ Downloads nano-kernel + initramfs │ │
│ │ kexec -l bzImage --initrd=initramfs.cpio.gz │ │
│ │ systemctl kexec │ │
│ └────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌────────────────────────────────────────────────────────┐ │
│ │ Nano Kernel (5-10MB) │ │
│ │ - x86_64 minimal │ │
│ │ - VirtIO drivers only │ │
│ │ - No graphics, no sound, minimal networking │ │
│ └────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌────────────────────────────────────────────────────────┐ │
│ │ Initramfs (/init) │ │
│ │ - Lean 4 lake build │ │
│ │ - 89+ Semantics modules │ │
│ │ - ENE node manager │ │
│ │ - Socket server on port 8220 │ │
│ └────────────────────────────────────────────────────────┘ │
└────────────────────────────────────────────────────────────┘
Components
| File | Purpose | Target Size |
|---|---|---|
nano-kernel.config |
Minimal kernel config | ~500 lines |
initramfs/ |
Research Stack essentials | ~50MB compressed |
kexec-boot.sh |
Deploy and boot script | ~100 lines |
socket-server.c |
Nano kernel ↔ Host comms | ~500 lines |
Deployment
# On local machine
./build-nano-kernel.sh
scp nano-kernel/* root@172.245.19.182:/root/nano-kernel/
# On RackNerd VPS
ssh root@172.245.19.182
cd /root/nano-kernel
./kexec-boot.sh
# VPS now runs nano kernel with Research Stack