Repository navigation
Expand file tree
/
Copy pathsystem_nuttx.html
More file actions
244 lines (228 loc) · 13.6 KB
/
Copy pathsystem_nuttx.html
File metadata and controls
244 lines (228 loc) · 13.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>System Plane (NuttX) — Synrc Virtualization Environment VE OS.1</title>
<link rel="stylesheet" href="index.css?v=1">
<style>
.grid-2 {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 2rem;
margin-top: 2rem;
}
.grid-2 > * {
min-width: 0;
max-width: 100%;
}
@media (max-width: 900px) {
.grid-2 {
grid-template-columns: minmax(0, 1fr);
}
}
</style>
</head>
<body>
<nav class="sticky">
<div class="nav-container">
<a href="index.html" class="logo"><img width="50" style="" src="https://n2o.dev/img/synrc.svg"></a>
<button class="nav-toggle" aria-label="Toggle navigation" onclick="document.querySelector('.nav-links').classList.toggle('open'); this.classList.toggle('open');">
<span class="hamburger"></span>
</button>
<ul class="nav-links">
<li><a href="https://hv.synrc.com/index.html">Intro</a></li>
<li><a href="https://hv.synrc.com/applications.html">Applications</a></li>
<li><a href="https://hv.synrc.com/products.html">Products</a></li>
<li><a href="https://hv.synrc.com/downloads.html">Downloads</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" onclick="event.preventDefault(); this.parentElement.classList.toggle('open');">Planes <span class="arrow">▾</span></a>
<ul class="dropdown-menu">
<li><a href="https://hv.synrc.com/security.html">Security</a></li>
<li><a href="https://hv.synrc.com/control.html">Control</a></li>
<li><a href="https://hv.synrc.com/web.html">Web</a></li>
<li><a href="https://hv.synrc.com/compute.html">Compute</a></li>
<li><a href="https://hv.synrc.com/service.html">Service</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" onclick="event.preventDefault(); this.parentElement.classList.toggle('open');">Languages <span class="arrow">▾</span></a>
<ul class="dropdown-menu">
<li><a href="language_beam.html">BEAM Elixir/Erlang</a></li>
<li><a href="language_clr.html">CLR F#/C#</a></li>
<li><a href="language_jvm.html">JVM Scala/Java</a></li>
</ul>
</li>
<li class="dropdown active">
<a href="#" class="dropdown-toggle" onclick="event.preventDefault(); this.parentElement.classList.toggle('open');">Systems <span class="arrow">▾</span></a>
<ul class="dropdown-menu">
<li><a href="https://hv.synrc.com/system_alpine.html">Alpine</a></li>
<li><a href="https://hv.synrc.com/system_netbsd.html">NetBSD</a></li>
<li><a href="system_freebsd.html">FreeBSD</a></li>
<li><a href="https://hv.synrc.com/system_btron.html">BTRON</a></li>
<li><a href="system_nuttx.html" class="active">NuttX</a></li>
<li><a href="system_lk.html">LK</a></li>
</ul>
</li>
<li><a href="https://hv.synrc.com/hypervision.html">HV</a></li>
</ul>
</div>
</nav>
<header>
<div class="hero-content">
<h1>System Plane (NuttX)</h1>
<p class="hero-subtitle">The native real-time POSIX operating system runtime utilizing Skynet RT / Apache NuttX 12.x for microcontrollers and embedded runtimes.</p>
</div>
</header>
<main>
<section>
<h2>NuttX Guest Environment</h2>
<div style="max-width:850px;margin:0 auto;text-align:center;">
<p>The <b>NuttX System Plane</b> provides a cleanroom, POSIX-compliant ANSI C99 real-time operating system runtime based on <b>Skynet RT</b> (an Apache 2.0 licensed fork of Apache NuttX). Tailored for embedded control, low-latency microcontrollers, AtomVM execution, and Sokhatsky Commander, it features a minimal footprint (~300K lines of code, capped at 2.88MB), a Kconfig/make build system, and support for ARMv7-M, ARMv7-A, ARMv8-M, ARMv8-A, and BCM2711 architectures.</p>
</div>
<div class="grid-2">
<div class="package-card">
<h3><a href="https://bitedits.github.io/rt/">SKYNET RT</a> & <a href="https://nuttx.apache.org">NUTTX 12.X</a></h3>
<hr>
<p>Apache 2.0 licensed ANSI C99 POSIX RTOS runtime optimized for high-assurance embedded systems and AtomVM Erlang microcontrollers.</p>
<pre class="code-snippet">
/* Skynet RT QEMU Execution */
./tools/configure.sh qemu-armv7a:nsh
kconfig-mconf Kconfig
./tools/mkconfig . > include/nuttx/config.h
make -j
qemu-system-arm -M virt -device loader,file=nuttx -nographic</pre>
</div>
<div class="package-card">
<h3><a href="https://bitedits.github.io/rt/#hal">HAL & ARCHITECTURE</a></h3>
<hr>
<p>Hardware Abstraction Layer defining CPU chips and board BSPs for clock counters, GPIO, I2C, SPI, UART, PWM, ADC, and power management.</p>
<pre class="code-snippet">
/* Raspberry Pi Pico 2 (RP2350) Target */
./tools/configure.sh raspberrypi-pico-2:usbnsh
make -j
picotool uf2 convert nuttx.bin nuttx.uf2 \
--family absolute --offset 0x10000000</pre>
</div>
<div class="package-card">
<h3><a href="https://bitedits.github.io/rt/#hal">RTOS KERNEL & VFS</a></h3>
<hr>
<p>Real-time scheduler, POSIX threads, semaphores, message queues, memory manager, ELF/FLAT loader, and Virtual File System (VFS, Plan 9 V9FS, ROMFS, BINFS).</p>
<pre class="code-snippet">
/* POSIX Application Simulation */
./tools/configure.sh sim:nsh
make -j
./nuttx</pre>
</div>
<div class="package-card">
<h3><a href="https://bitedits.github.io/rt/#hal">HARDWARE BOARDS</a></h3>
<hr>
<p>Curated board primitives inheriting SoC chip drivers with full bootloader, DMA, and peripheral integration.</p>
<pre class="code-snippet">
/* Supported Boards */
- CXD56XX: Sony Spresense 6-core MCU
- PICO2: Raspberry Pi Pico 2 (RP2350)
- VIRTIO: QEMU VirtIO ARM Virt Target
- SIM: Native POSIX Host Simulator</pre>
</div>
<div class="product-card">
<h3>Hardware & Profiles</h3>
<hr>
<ul>
<li><a href="https://bitedits.github.io/rt/#hal">PICO 2</a> — Raspberry Pi Pico 2 (RP2350 & RP2040)</li>
<li><a href="https://bitedits.github.io/rt/#hal">CXD5602</a> — Sony Spresense 6-core ARM Cortex-M4F</li>
<li><a href="https://bitedits.github.io/rt/#hal">RK3399</a> — Rockchip Hexa-Core 64-bit SoC</li>
<li><a href="https://bitedits.github.io/rt/#js">SIM & QEMU</a> — POSIX Simulation & ARM Virt Target</li>
</ul>
</div>
<div class="product-card">
<h3>Kernel Subsystems</h3>
<hr>
<ul>
<li><a href="https://bitedits.github.io/rt/#hal">SCHED & TASK</a> — Priority-based POSIX threads & tasks</li>
<li><a href="https://bitedits.github.io/rt/#hal">V9FS & ROMFS</a> — Plan 9 network FS & Flash ROM file system</li>
<li><a href="https://bitedits.github.io/rt/#hal">AtomVM</a> — Erlang VM execution on microcontrollers</li>
<li><a href="https://bitedits.github.io/rt/#hal">LIBC & LIBM</a> — Standard C runtime & math libraries</li>
</ul>
</div>
</div>
</section>
<section>
<h2>Specification & Architecture</h2>
<div class="story-container">
<div class="plane-header">0. Skynet RT Specification & Build System</div>
<p>Skynet RT provides a menu-driven configuration pipeline (`kconfig-mconf Kconfig`) and POSIX build architecture organized into HAL, Kernel, Drivers, File Systems, and Userland Applications:</p>
<div class="grid-2" style="margin-top: 1.5rem; margin-bottom: 2.5rem;">
<div class="package-card" style="padding: 1.8rem;">
<h3><a href="https://bitedits.github.io/rt/" style="color: var(--accent);">SKYNET RT SPEC</a></h3>
<hr>
<ul>
<li><a href="https://bitedits.github.io/rt/#hal"><b>1. HAL & Chip/Board Abstractions</b></a></li>
<li><a href="https://bitedits.github.io/rt/#hal"><b>2. Real-Time Scheduler & POSIX Threads</b></a></li>
<li><a href="https://bitedits.github.io/rt/#hal"><b>3. Virtual File System (VFS, V9FS, ROMFS)</b></a></li>
<li><a href="https://bitedits.github.io/rt/#hal"><b>4. AtomVM & Erlang Microcontroller Runtime</b></a></li>
</ul>
</div>
<div class="package-card" style="padding: 1.8rem;">
<h3><a href="https://bitedits.github.io/rt/" style="color: var(--accent);">RTOS CODE POLICY</a></h3>
<hr>
<ul>
<li><a href="https://bitedits.github.io/rt/"><b>ANSI C99 POSIX-1.2008 Compliance</b></a></li>
<li><a href="https://bitedits.github.io/rt/"><b>Compact Footprint (<2.88MB, ~300K LOC)</b></a></li>
<li><a href="https://bitedits.github.io/rt/"><b>Deterministic Real-Time Execution</b></a></li>
<li><a href="https://bitedits.github.io/rt/"><b>Make & Kconfig Build Infrastructure</b></a></li>
</ul>
</div>
</div>
<div class="plane-header">1. VirtIO & Hypervisor Handoff</div>
<p>When running as a System Plane image in Synrc VE OS.1, Skynet RT / NuttX boots via <b>seL4 Microkit Loader</b>, <b>Slim Bootloader (SBL)</b>, or direct <b>seL4 Protection Domain (PD)</b> entry. Serial console, NSH shell, and I/O streams route directly through VirtIO-Console and VirtIO-Net drivers inside isolated real-time sandboxes.</p>
</div>
</section>
</main>
<footer>
<div class="footer-columns">
<div>
<h4>Synrc VE OS.1</h4>
<p>High-Assurance VirtIO Hypervisor</p>
<p>Deployment Platform for Unikernels</p>
<p>By <a rel="me" href="https://mathstodon.xyz/@5ht">5HT</a> in C99 & Erlang/OTP</p>
</div>
<div>
<h4>Planes Architecture</h4>
<ul>
<li><b>0. Bedrock:</b> Hypervision (seL4)</li>
<li><b>1. Control:</b> CHIMERA, LAND, NET</li>
<li><b>2. Security:</b> TPM 2.0, CA, AU, CM</li>
<li><b>3. Service:</b> X11, WM, CHAT, MQTT</li>
<li><b>4. Applications:</b> BPE, KVS, N2O</li>
<li><b>5. Products:</b> Enterprise Suites</li>
</ul>
</div>
<div>
<h4>System Images</h4>
<ul>
<li><a href="https://hv.synrc.com/system_alpine.html"><b>Alpine:</b> Musl, OpenRC, Landlock</a></li>
<li><a href="https://hv.synrc.com/system_netbsd.html"><b>NetBSD:</b> Veriexec, Kauth, NPF</a></li>
<li><a href="https://hv.synrc.com/system_btron.html"><b>BTRON:</b> μITRON, DP, VOBJ</a></li>
<li><a href="system_nuttx.html"><b>NuttX:</b> Skynet RT, POSIX, HAL</a></li>
<li><a href="https://hv.synrc.com/hypervision.html"><b>Unikernels:</b> Erlang & C99</a></li>
</ul>
</div>
<div>
<h4>Whitepapers</h4>
<ul>
<li><a href="https://os.synrc.com/os-hyper.pdf">2026-08-19 VirtIO Xen ESXi</a></li>
<li><a href="https://os.synrc.com/os.pdf">2026-07-19 Guest Alpine</a></li>
<li><a href="https://os.synrc.com/os-bsd.pdf">2026-07-19 Guest NetBSD</a></li>
<li><a href="https://os.synrc.com/os.txt">2026-07-29 NIST 53 Architecture</a></li>
<li><a href="https://hv.synrc.com/hv.pdf">2026-08-10 OTP 20 seL4</a></li>
<li><a href="https://hv.synrc.com/hv-smp.pdf">2026-08-13 OTP 30 4-Core</a></li>
<li><a href="https://hv.synrc.com/hv-bc.pdf">2026-08-13 Byte-code VMs</a></li>
<li><a href="https://hv.synrc.com/hv-infosec.pdf">2026-08-14 Infosec Architecture</a></li>
<li><a href="https://hv.synrc.com/hv-crypto.pdf">2026-08-19 LibreSSL Crypto</a></li>
</ul>
</div>
</div>
</footer>
</body>
</html>