Running the EVL core
Recipe for the impatient
-
read this document about building the EVL core and libevl.
-
boot your EVL-enabled kernel.
-
write your first application code using the libevl API. You may find the following bits useful, particularly when discovering the system:
-
what does initializing an EVL application entail.
-
how to have POSIX threads run on the high-priority stage.
-
which is the proper calling context for each EVL service from this API.
-
The process for getting the EVL core running on your target system can be summarized as follows (click on the steps to open the related documentation):
%%{init: {"flowchart": {"nodeSpacing": 24, "rankSpacing": 32, "padding": 10}}}%%
flowchart TB
subgraph lib ["Build libevl"]
direction LR
S("Build libevl") --> X["Install libevl"]
end
subgraph build ["Build and boot the kernel"]
direction LR
A["Build kernel"] --> B["Install kernel"]
B --> C["Boot target"]
C --> U["Run evl check"]
U --> UU{OK?}
UU -->|No| R["Fix Kconfig"]
R --> A
end
subgraph validate ["Validate"]
direction LR
D["Run unit tests"] --> L{OK?}
L -->|No| Z1["Report upstream"]
L -->|Yes| E["Test with 'hectic'"]
E --> M{OK?}
M -->|No| Z1
end
subgraph tune ["Tune and measure"]
direction LR
F["Calibrate timer"] --> G["Test with 'latmus'"]
G --> N{OK?}
N -->|No| Z2["Report upstream"]
N -->|Yes| O["Go celebrate"]
end
lib --> build
build -->|Yes| validate
validate -->|Yes| tune
click S "/core/build-steps#building-libevl"
click A "/core/build-steps#building-evl-core"
click U "/core/commands#evl-check-command"
click R "/core/troubleshooting/"
click D "/core/testing#evl-unit-testing"
click E "/core/testing#hectic-program"
click F "/core/runtime-settings#calibrate-core-timer"
click G "/core/testing#latmus-program"
click Z1 "https://subspace.kernel.org/lists.linux.dev.html"
click Z2 "https://subspace.kernel.org/lists.linux.dev.html"
classDef build stroke-width:1.5px
classDef check stroke-width:1.5px
classDef ask stroke-width:1.5px
classDef fail stroke-width:1.5px
classDef done stroke-width:1.5px
class S,X,A,B,R build
class C,U,D,E,F,G check
class UU,L,M,N ask
class Z1,Z2 fail
class O done
Once the EVL core runs on your target system, you can go directly to step #3 of the quick recipe above.
Last modified: Wed, 25 Nov 2026 18:51:17 +0100