Building the Kernel
The NØNOS kernel is a bare-metal x86_64 binary compiled with a custom target specification. This page covers the kernel build process in detail.
Overview
┌────────────────────────────────────────────────────────────────┐
│ KERNEL BUILD FLOW │
├────────────────────────────────────────────────────────────────┤
│ │
│ Source Code Build System Output │
│ ─────────── ──────────── ────── │
│ │
│ ┌─────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ .rs │────────▶│ Cargo │───────▶│ ELF64 │ │
│ │ files │ │ + build.rs │ │ Binary │ │
│ └─────────┘ └─────────────┘ └────── ──────┘ │
│ │ │
│ ┌─────────┐ │ │ │
│ │ PQClean │───────────────┘ │ │
│ │ (C) │ ML-KEM-768 ▼ │
│ └─────────┘ ┌─────────────┐ │
│ │ Ed25519 │ │
│ ┌─────────┐ │ Signing │ │
│ │ Signing │───────────────────────────────▶ │ │
│ │ Key │ └──────┬──────┘ │
│ └─────────┘ │ │
│ ▼ │
│ ┌─────────────┐ │
│ │ kernel.bin │ │
│ │ 221 KB │ │
│ └─────────────┘ │
│ │
└────────────────────────────────────────────────────────────────┘Build Command
Build Configuration
Flag
Purpose
Custom Target Specification
Build Process
1. Cargo Compilation
1. Cargo Compilation2. PQClean Integration
2. PQClean Integration3. Manifest Generation
3. Manifest Generation4. Signing
4. SigningOutput Binary
Property
Value
Platform-Specific Configuration
macOS
Linux
Signing Key Management
Scenario
Key Source
Verification
Troubleshooting
Error
Solution
Next
NextLast updated
Was this helpful?


