Keeping the portable cFS core untouched while implementing OSAL for a custom microkernel is an interesting approach. How challenging was the PSP integration?
Porting NASA's Core Flight System (cFS) to our Custom OS — cfs-on-exploidus
2 Comments
@[grinch]
Thanks for the great question, @grinch!
The PSP integration was definitely the most nuanced part compared to OSAL, primarily because traditional cFS PSP assumes direct, privileged access to platform hardware, physical memory ranges, and raw interrupt traps. On a capability-gated microkernel like Exploidus OS, we had to re-map those assumptions:
Memory Ranges & Capability Delegation:
Standard PSP expects direct pointer access for RAM, EEPROM, and CDS (Critical Data Store). On our microkernel, memory regions cannot be addressed arbitrarily; they require explicit capability grants. We implemented the PSP memory access APIs (CFE_PSP_MemRead/Write) by mapping them to capability-bounded typed memory objects, ensuring cFS apps cannot step outside their allocated space.Reset Types & State Preservation (CDS):
Distinguishing Power-On Reset (POR) from Processor/Warm Reset is critical for CDS survivability in cFS. Because the microkernel isolates state across fault domains, we mapped the CDS to a persistent capability-backed shared memory vault that survives worker restarts and warm reboots without exposing unprotected physical RAM.Exception Handling & Fault Containment (SEU mitigation):
In a traditional monolith/RTOS, unhandled hardware traps caught by the PSP often crash the runtime or require a board reset. In our microkernel architecture, hardware traps and radiation-induced SEUs are intercepted by the kernel pager/fault handler and delivered as typed IPC fault notifications. This allowed the PSP to report the fault and initiate isolated task recovery without bringing down the entire flight software stack.
Overall, keeping the cFS core pristine while adapting the PSP meant turning raw hardware assumptions into isolated, capability-bound services. It added initial architectural overhead, but the resulting resilience and fault containment have been well worth it.
Please log in to add a comment.
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
Specializing in low-level Linux kernel development, eBPF line-rate networking, zero-heap #![no_std] Rust architectures, and aerospace flight software integration.
Track Record & Upstream Impact: • 17 Officially Merged Upstream Patches across foundational ecosystems:
Linux Kernel 7.4 (sched_ext task lifecycle cleanup)
Linux NVMe (11 PRs merged across core memory safety & enterprise vendor mock test suites)
NASA F Prime flight software (CFDP 1-bit protocol closure & subtopology builds)
Microsoft VS Code CLI (portable environment isolation)
Subsurface dive models (regression test harness & query engines)
Flagship Platforms @ Exploidus: • Aegis-Filter: 4.07 ns zero-heap Kalman filtering for aerospace/UAV GNC with Joseph-form stability & FDIR anomaly rejection. • XDP-Guard: Wire-speed 100 Gbps ingress DDoS mitigation directly at the NIC driver DMA ring. • Sovereign Flight Infrastructure: Native NASA cFS port with BLAKE3 capability-gated software bus and the scx_intent deterministic kernel scheduler.
Open to collaborating with aerospace contractors, defense UAV manufacturers, and systems engineers.
Direct inquiry: rahadbhuiya2021@gmail.com | Architecture: https://exploidus.com Show less
More From rahadbhuiya
Related Jobs
- Systems & Business Analyst IIWrapbook · Full time · Canada
- DB2 for z/OS Systems ProgrammerNTT DATA, Inc. · Full time · United Kingdom
- Technical Support Analyst (Dynamics 365 CE & Customer Engagement)Bluebird · Full time · Hungary
Commenters (This Week)
Contribute meaningful comments to climb the leaderboard and earn badges!