# New to seL4

**URL:** https://sel4.discourse.group/c/new-to-sel4/14.md

[Latest](https://sel4.discourse.group/latest.md) · [Categories](https://sel4.discourse.group/categories.md) · [Tags](https://sel4.discourse.group/tags.md)

---

## [About the New to seL4 category](https://sel4.discourse.group/t/about-the-new-to-sel4-category/639)

<div class="topic-metadata">

**Author:** [@gerwin.klein](https://sel4.discourse.group/u/gerwin.klein)\
**Replies:** 0

</div>

Questions and answers on how to start with seL4 and on how to get things up and running.

---

## [nix-sel4: build Microkit systems from Nix, with a clone-and-boot example](https://sel4.discourse.group/t/nix-sel4-build-microkit-systems-from-nix-with-a-clone-and-boot-example/1087)

<div class="topic-metadata">

**Author:** [@conao3](https://sel4.discourse.group/u/conao3)\
**Replies:** 2\
**Last updated:** [November 4, 2026, 7:41pm UTC](https://sel4.discourse.group/t/nix-sel4-build-microkit-systems-from-nix-with-a-clone-and-boot-example/1087 "2026-11-04T19:41:04Z")

</div>

I got tired of the setup dance every time I wanted to try something on Microkit, so I packaged it. One command gets you a booting seL4 system: nix run github:conao3/nix-sel4 LDR|INFO: loader for seL4 starting ... Booti…

---

## [Keel — a dual-substrate verified node with a byte-identical Linux ↔ seL4/Microkit differential](https://sel4.discourse.group/t/keel-a-dual-substrate-verified-node-with-a-byte-identical-linux-sel4-microkit-differential/1085)

<div class="topic-metadata">

**Author:** [@reapersapprentice](https://sel4.discourse.group/u/reapersapprentice)\
**Replies:** 0\
**Last updated:** [October 13, 2026, 12:32am UTC](https://sel4.discourse.group/t/keel-a-dual-substrate-verified-node-with-a-byte-identical-linux-sel4-microkit-differential/1085 "2026-10-13T00:32:11Z")

</div>

Hi all — I’m Christopher Studva, the solo maintainer of keel, an open-source research prototype I’d like to share here for feedback. keel is a single Rust source tree that builds for ordinary Linux and for seL4 via Micr…

---

## [Vm\_minimal example on ZCU-102 board](https://sel4.discourse.group/t/vm-minimal-example-on-zcu-102-board/1081)

<div class="topic-metadata">

**Author:** [@matteoz](https://sel4.discourse.group/u/matteoz)\
**Replies:** 0\
**Last updated:** [September 22, 2026, 4:19pm UTC](https://sel4.discourse.group/t/vm-minimal-example-on-zcu-102-board/1081 "2026-09-22T16:19:16Z")

</div>

Hi everyone, I’m trying to test seL4 with CAmkES on a ZCU-102 board by Xilinx and I’m stuck trying to boot the vm\_minimal example. I followed the steps provided here, but when I try to boot it on the hardware, the load…

---

## [Unikernel vs SMP vs Multi-Kernel docs?](https://sel4.discourse.group/t/unikernel-vs-smp-vs-multi-kernel-docs/1055)

<div class="topic-metadata">

**Author:** [@fdelizy](https://sel4.discourse.group/u/fdelizy)\
**Replies:** 3\
**Last updated:** [May 22, 2026, 3:26pm UTC](https://sel4.discourse.group/t/unikernel-vs-smp-vs-multi-kernel-docs/1055 "2026-05-22T15:26:55Z")

</div>

I read through this very interesting thread: “Performance comparison with non-L4 kernels” which digressed into SMP vs Multi-kernel verification. I am working on a Genode based project, at the moment genode supports seL…

---

## [Tutorial problem on macOS](https://sel4.discourse.group/t/tutorial-problem-on-macos/1042)

<div class="topic-metadata">

**Author:** [@daveyost](https://sel4.discourse.group/u/daveyost)\
**Replies:** 1\
**Last updated:** [April 5, 2026, 8:35pm UTC](https://sel4.discourse.group/t/tutorial-problem-on-macos/1042 "2026-04-05T20:35:12Z")

</div>

On macOS 26.4, following the instructions for the microkit tutorial, I did all the brew-ha-ha, then I get stuck: Z% ll -tr total 160656 drwxr----- 9 yost staff 288 2026-03-30.22:37:34 microkit-sdk-2.2.0 -rw-rw-…

---

## [Learning sel4 and meeting problems](https://sel4.discourse.group/t/learning-sel4-and-meeting-problems/1036)

<div class="topic-metadata">

**Author:** [@lero](https://sel4.discourse.group/u/lero)\
**Replies:** 0\
**Last updated:** [March 11, 2026, 1:15pm UTC](https://sel4.discourse.group/t/learning-sel4-and-meeting-problems/1036 "2026-03-11T13:15:55Z")

</div>

If we decouple from the seL4 tutorial framework and build a standalone project to verify aspects of IPC (specifically regarding the slowpath and fastpath), using the original configurations, write the source files (C fil…

---

## [Performance comparison with non-L4 kernels](https://sel4.discourse.group/t/performance-comparison-with-non-l4-kernels/1023)

<div class="topic-metadata">

**Author:** [@Whatever314](https://sel4.discourse.group/u/Whatever314)\
**Replies:** 5\
**Last updated:** [December 21, 2025, 6:02am UTC](https://sel4.discourse.group/t/performance-comparison-with-non-l4-kernels/1023 "2025-12-21T06:02:57Z")

</div>

Hello everyone! I am a member of software team of a commercial vehicle oem. My boss is very interested in seL4’s performance compared to other industry-deployed kernels like QNX, RTOSs, and even Linux, in a fair setup. A…

---

## [About seL4 Developer Kit](https://sel4.discourse.group/t/about-sel4-developer-kit/996)

<div class="topic-metadata">

**Author:** [@skybuf](https://sel4.discourse.group/u/skybuf)\
**Replies:** 3\
**Last updated:** [July 25, 2025, 9:46am UTC](https://sel4.discourse.group/t/about-sel4-developer-kit/996 "2025-07-25T09:46:30Z")

</div>

Hi All, When I was studying the 4.2. Build Environment Setup section in the developer kit, I always got a message “Unauthorized” when I executed the “make pull IMAGE=dep” command. I set up PAT on GitHub, enabled the rea…

---

## [Does a task have a guarenteed right to modify its CSpace?](https://sel4.discourse.group/t/does-a-task-have-a-guarenteed-right-to-modify-its-cspace/987)

<div class="topic-metadata">

**Author:** [@sledden](https://sel4.discourse.group/u/sledden)\
**Replies:** 1\
**Last updated:** [May 29, 2025, 7:00pm UTC](https://sel4.discourse.group/t/does-a-task-have-a-guarenteed-right-to-modify-its-cspace/987 "2025-05-29T19:00:04Z")

</div>

I am working on a project that involves the initial thread spawning new tasks and inserting specific capabilities in their CSpace upon request. For security, I want to understand all the ways a task can mess with its cap…

---

## [Root CNode Inaccessible After seL4\_TCB\_SetSpace (Guard 0, Radix 12)](https://sel4.discourse.group/t/root-cnode-inaccessible-after-sel4-tcb-setspace-guard-0-radix-12/978)

<div class="topic-metadata">

**Author:** [@sevenautumns](https://sel4.discourse.group/u/sevenautumns)\
**Replies:** 3\
**Last updated:** [May 20, 2025, 11:44am UTC](https://sel4.discourse.group/t/root-cnode-inaccessible-after-sel4-tcb-setspace-guard-0-radix-12/978 "2025-05-20T11:44:48Z")

</div>

Hello, I am currently trying to change the cspace of my sel4 root task so that the root cnode only occupies 12 of my available 64 bits. This works to some degree. I use seL4\_TCB\_SetSpace to change the guard size to 0. …

---

## [Communicating with EL3/Secure-EL1 services from EL0](https://sel4.discourse.group/t/communicating-with-el3-secure-el1-services-from-el0/967)

<div class="topic-metadata">

**Author:** [@BlamKiwi](https://sel4.discourse.group/u/BlamKiwi)\
**Replies:** 1\
**Last updated:** [May 19, 2025, 6:57pm UTC](https://sel4.discourse.group/t/communicating-with-el3-secure-el1-services-from-el0/967 "2025-05-19T18:57:30Z")

</div>

I’m evaluating moving an existing project to seL4. We have a hardware driver that would need to remain in as part of the Secure World firmware. What would be the intended way for an seL4 EL0 process to communicate with a…

---

## [seL4::arm64::armv8::Write to processor register is causing halt in user space](https://sel4.discourse.group/t/sel4-write-to-processor-register-is-causing-halt-in-user-space/917)

<div class="topic-metadata">

**Author:** [@Misbah](https://sel4.discourse.group/u/Misbah)\
**Replies:** 1\
**Last updated:** [October 30, 2024, 1:28pm UTC](https://sel4.discourse.group/t/sel4-write-to-processor-register-is-causing-halt-in-user-space/917 "2024-10-30T13:28:42Z")

</div>

Hi All, I am trying to write a user space driver under “util\_lib” folder for my latest seL4 port on arm64 cortexA53 based h/w. There are memory mapped registers which i am trying to access. The read to those register s…

---

## [Register writes to UART register in util\_libs driver is not working on seL4](https://sel4.discourse.group/t/register-writes-to-uart-register-in-util-libs-driver-is-not-working-on-sel4/911)

<div class="topic-metadata">

**Author:** [@anishkhannayellapu](https://sel4.discourse.group/u/anishkhannayellapu)\
**Replies:** 11\
**Last updated:** [October 8, 2024, 10:15am UTC](https://sel4.discourse.group/t/register-writes-to-uart-register-in-util-libs-driver-is-not-working-on-sel4/911 "2024-10-08T10:15:53Z")

</div>

Hi Team, I am working on bringing up on seL4 on one of the ARM based 64bit architecture. Able to get serial up and running in elf-loader and kernel, in both cases initialization is used from u-boot and putchar is used …

---

## [\[Kernel\] Caught cap fault in send phase while trying to handle vm fault](https://sel4.discourse.group/t/kernel-caught-cap-fault-in-send-phase-while-trying-to-handle-vm-fault/879)

<div class="topic-metadata">

**Author:** [@Init\_vishal](https://sel4.discourse.group/u/Init_vishal)\
**Replies:** 2\
**Last updated:** [September 17, 2024, 11:23am UTC](https://sel4.discourse.group/t/kernel-caught-cap-fault-in-send-phase-while-trying-to-handle-vm-fault/879 "2024-09-17T11:23:18Z")

</div>

Hi seL4 community, I have ported sel4 to NXP S32G RBD3 board. It runs fine till kernel but just before dropping to the user space. after that in the debug serial terminal, i am encountering below errors : "Caught cap…

---

## [Rust call cause "vm fault on data at address"](https://sel4.discourse.group/t/rust-call-cause-vm-fault-on-data-at-address/865)

<div class="topic-metadata">

**Author:** [@BDUG](https://sel4.discourse.group/u/BDUG)\
**Replies:** 14\
**Last updated:** [September 12, 2024, 12:12pm UTC](https://sel4.discourse.group/t/rust-call-cause-vm-fault-on-data-at-address/865 "2024-09-12T12:12:43Z")

</div>

While calling unsafe { value = ptr::read\_volatile(region.starting\_address as \*const u32) } I get Caught cap fault in send phase at address 0 while trying to handle: vm fault on data at address 0xa000000 wit…

---

## [Second VirtIO access cause vm fault](https://sel4.discourse.group/t/second-virtio-access-cause-vm-fault/886)

<div class="topic-metadata">

**Author:** [@BDUG](https://sel4.discourse.group/u/BDUG)\
**Replies:** 8\
**Last updated:** [September 10, 2024, 9:02pm UTC](https://sel4.discourse.group/t/second-virtio-access-cause-vm-fault/886 "2024-09-10T21:02:24Z")

</div>

After the first access (read or write) to a VirtIO device, the following failure appears after new retyping of memory and further (read or write) e.g., while accessing the second VirtIo device. vm fault on data at addre…

---

## [Device-ID from Device Tree not mapped to user space](https://sel4.discourse.group/t/device-id-from-device-tree-not-mapped-to-user-space/869)

<div class="topic-metadata">

**Author:** [@BDUG](https://sel4.discourse.group/u/BDUG)\
**Replies:** 1\
**Last updated:** [September 10, 2024, 5:57pm UTC](https://sel4.discourse.group/t/device-id-from-device-tree-not-mapped-to-user-space/869 "2024-09-10T17:57:01Z")

</div>

I try to access VirtIO MMIO devices. For doing so I need the device id to identity the device class e.g., net, block, etc. In all approaches the device ID is missing: Access the device ID via volatile read Interpret th…

---

## [Strange kernel exception while volatile access (#Rust)](https://sel4.discourse.group/t/strange-kernel-exception-while-volatile-access-rust/882)

<div class="topic-metadata">

**Author:** [@BDUG](https://sel4.discourse.group/u/BDUG)\
**Replies:** 0\
**Last updated:** [September 7, 2024, 2:37pm UTC](https://sel4.discourse.group/t/strange-kernel-exception-while-volatile-access-rust/882 "2024-09-07T14:37:33Z")

</div>

I receive the following failure vm fault on data at address 0x203800 with status 0x92000010 in thread 0x807ff49400 "rootserver" at address 0x253504 With stack: 0x2a29f0: 0x2a2960 It happens when I call ptr::read\_volat…

---

## [invalidateLocalTLB() is getting stucked in sel4 kerenl](https://sel4.discourse.group/t/invalidatelocaltlb-is-getting-stucked-in-sel4-kerenl/871)

<div class="topic-metadata">

**Author:** [@Init\_vishal](https://sel4.discourse.group/u/Init_vishal)\
**Replies:** 0\
**Last updated:** [September 1, 2024, 7:10pm UTC](https://sel4.discourse.group/t/invalidatelocaltlb-is-getting-stucked-in-sel4-kerenl/871 "2024-09-01T19:10:27Z")

</div>

Hi, I am trying to port sel4 for NXP S32g (Arm 53 Core) platform. I am able to prepare and bring-up the Elf-loader using u-boot targeted to S32G platform for seL4 on ARM 53core. Elf-loader is able to load and jump to t…

---

## [Raspberry Pi 4B No Serial without \`dtoverlay=disable-bt\`](https://sel4.discourse.group/t/raspberry-pi-4b-no-serial-without-dtoverlay-disable-bt/827)

<div class="topic-metadata">

**Author:** [@IridescentRose](https://sel4.discourse.group/u/IridescentRose)\
**Replies:** 1\
**Last updated:** [April 18, 2024, 5:45am UTC](https://sel4.discourse.group/t/raspberry-pi-4b-no-serial-without-dtoverlay-disable-bt/827 "2024-04-18T05:45:26Z")

</div>

Hello! I was following the recently updated documentation to setup seL4 on the Raspberry Pi 4B. My current issue is that there is no serial when dtoverlay=disable-bt is removed, the Pi simply hangs after the GPU test. I…

---

## [Scheduler failing on Raspberry Pi 4](https://sel4.discourse.group/t/scheduler-failing-on-raspberry-pi-4/786)

<div class="topic-metadata">

**Author:** [@StayBehind1239](https://sel4.discourse.group/u/StayBehind1239)\
**Replies:** 2\
**Last updated:** [October 18, 2023, 1:37am UTC](https://sel4.discourse.group/t/scheduler-failing-on-raspberry-pi-4/786 "2023-10-18T01:37:49Z")

</div>

Hi, I’m trying to get the basic sel4 example (as outlined here: Raspberry Pi 4 Model B | seL4 docs) running on a Raspberry Pi 4 4 GB. I went through the steps according to the instructions and finally got sel4 booting.…

---

## [Adding rockpro64 to sel4cp hello world example](https://sel4.discourse.group/t/adding-rockpro64-to-sel4cp-hello-world-example/769)

<div class="topic-metadata">

**Author:** [@sand7000](https://sel4.discourse.group/u/sand7000)\
**Replies:** 2\
**Last updated:** [August 30, 2023, 12:59am UTC](https://sel4.discourse.group/t/adding-rockpro64-to-sel4cp-hello-world-example/769 "2023-08-30T00:59:33Z")

</div>

I am attempting to build the @ivanvelickovic fork of the sel4cp hello world example for the rockpro64 board. I saw that the board is supported by sel4 and had platform files included in the seL4 repo. I successfully ran …

---

## [Microchip PolarFire Icicle Kit status](https://sel4.discourse.group/t/microchip-polarfire-icicle-kit-status/675)

<div class="topic-metadata">

**Author:** [@mpodhradsky](https://sel4.discourse.group/u/mpodhradsky)\
**Replies:** 23\
**Last updated:** [August 20, 2023, 10:33pm UTC](https://sel4.discourse.group/t/microchip-polarfire-icicle-kit-status/675 "2023-08-20T22:33:19Z")

</div>

Hello! I have a question about the Microchip PolarFire Icicle Kit board support. Is the board currently a part of the HW CI? And are you aware of anyone using it recently (since the page was posted in October 2022)? I…

---

## [Microchip PolarFire soc & multicore](https://sel4.discourse.group/t/microchip-polarfire-soc-multicore/764)

<div class="topic-metadata">

**Author:** [@dvd2792](https://sel4.discourse.group/u/dvd2792)\
**Replies:** 5\
**Last updated:** [August 17, 2023, 12:39am UTC](https://sel4.discourse.group/t/microchip-polarfire-soc-multicore/764 "2023-08-17T00:39:10Z")

</div>

Hi guys, I will start using a PolarFire SOC soon and I need to decide which kernel (ukernel, nanokernel, even baremetal) to use. I’m really interested in using SEL4 and I’d like to know the status of the multicore comp…

---

## [Setting up a seL4 development environment with nix](https://sel4.discourse.group/t/setting-up-a-sel4-development-environment-with-nix/761)

<div class="topic-metadata">

**Author:** [@tmcgilchrist](https://sel4.discourse.group/u/tmcgilchrist)\
**Replies:** 2\
**Last updated:** [August 10, 2023, 10:04pm UTC](https://sel4.discourse.group/t/setting-up-a-sel4-development-environment-with-nix/761 "2023-08-10T22:04:05Z")

</div>

Hi All, I would like to setup a development environment for hacking on seL4 using nix. I found the icecap project which uses nix to build seL4 plus Rust and MirageOS/OCaml, but it its using a modified seL4 version and r…

---

## [CAmkES PicoServer on QEMU x86\_64 connectivity](https://sel4.discourse.group/t/camkes-picoserver-on-qemu-x86-64-connectivity/726)

<div class="topic-metadata">

**Author:** [@rpolig](https://sel4.discourse.group/u/rpolig)\
**Replies:** 0\
**Last updated:** [June 29, 2023, 9:40am UTC](https://sel4.discourse.group/t/camkes-picoserver-on-qemu-x86-64-connectivity/726 "2023-06-29T09:40:43Z")

</div>

Hello seL4 experts, in order to evaluate seL4 + CAmkES for our needs I am trying to build a custom example project with a PicoServer and emulate it via QEMU x86\_64. A listener component should simply accept the incomin…

---

## [Standalone kernel / kernel library](https://sel4.discourse.group/t/standalone-kernel-kernel-library/713)

<div class="topic-metadata">

**Author:** [@moritz-meier](https://sel4.discourse.group/u/moritz-meier)\
**Replies:** 0\
**Last updated:** [May 13, 2023, 11:35am UTC](https://sel4.discourse.group/t/standalone-kernel-kernel-library/713 "2023-05-13T11:35:24Z")

</div>

Hi, i am trying to integrated the sel4 kernel into another project and would like to build a standalone kernel binary and kernel library without elfloader or userspace. Building a standalone kernel.elf is easy: cmake -…

---

## [Basic questions about ssel4utils processes and setting up IPC between them](https://sel4.discourse.group/t/basic-questions-about-ssel4utils-processes-and-setting-up-ipc-between-them/701)

<div class="topic-metadata">

**Author:** [@doggomorphism](https://sel4.discourse.group/u/doggomorphism)\
**Replies:** 2\
**Last updated:** [April 30, 2023, 10:55pm UTC](https://sel4.discourse.group/t/basic-questions-about-ssel4utils-processes-and-setting-up-ipc-between-them/701 "2023-04-30T22:55:42Z")

</div>

I’m new to seL4 but am struggling with transferring caps from the root task to a process created with sel4utils\_spawn\_process\_v. Initially the process(es) should get the endpoint of the root task and that is working well…

---

## [seL4 map\_kernel\_window on riscv platform](https://sel4.discourse.group/t/sel4-map-kernel-window-on-riscv-platform/674)

<div class="topic-metadata">

**Author:** [@CtrlZ](https://sel4.discourse.group/u/CtrlZ)\
**Replies:** 0\
**Last updated:** [March 8, 2023, 1:48am UTC](https://sel4.discourse.group/t/sel4-map-kernel-window-on-riscv-platform/674 "2023-03-08T01:48:24Z")

</div>

I’m reading the sel4test source code, and the there is a function called map\_kernel\_window when system is booting. After called map\_kernel\_window function, the system will enable the pagetable mode. When I read the ma…

[Next page](https://sel4.discourse.group/c/new-to-sel4/14.md?page=1)
