Commit Graph

428 Commits

Author SHA1 Message Date
Gerwin Klein 62c37db3f9 easy-settings: leave SIMULATION unchanged
Do not provide SIMULATION ON by default. This avoids
surprising compilation failures on platforms that do not support
simulation settings.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2025-07-03 13:18:38 +01:00
Gerwin Klein 41af8afbd4 README: provide links, clarify list is incomplete
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2025-06-27 19:45:09 +10:00
Gerwin Klein 044e39f2ba
github: use central CI workflows
Use GitHub workflow_call feature to reduce workflow duplication.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2025-03-14 10:40:58 +11:00
Kent McLeod 807013aee6 arm,cmake: Set compiler expected tls settings
Add the right TLS variable settings for the gnu-elf-abi used by our
compilers.

Signed-off-by: Kent McLeod <kent@kry10.com>
2025-02-28 16:26:50 +11:00
Gerwin Klein 3eff84e818 drop support for Cogent
The Cogent project is no longer actively developed on top of seL4, and
the upstream build has broken.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2023-05-26 17:41:46 +10:00
Gerwin Klein aef13286d7 github: add simulation tests for camkes + VMs
These can run on all pull requests and don't include hardware tests.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2022-02-15 18:58:14 +11:00
Kent McLeod 5f977abea6 mutex: Tweak example output for test stability
The tests look for "B: Exiting" on the console to confirm that the test
has passed. Try and let the other component complete before printing the
last message so that it doesn't get interleaved due to preemptive
scheduling.

Signed-off-by: Kent McLeod <kent@kry10.com>
2021-12-08 18:17:15 +11:00
Kent McLeod 20ef3480ee Remove kzm platform from camkes example apps
The KZM platform is being removed from seL4.

Signed-off-by: Kent McLeod <kent@kry10.com>
2021-09-30 18:09:53 +10:00
Kent McLeod ba6e3c9995 uart: Change app to use sabre instead of kzm
This is in preparation for kzm removal.

Signed-off-by: Kent McLeod <kent@kry10.com>
2021-09-30 18:09:53 +10:00
Gerwin Klein 7eaf33cf92
github: trigger main test on push to master (#19)
The trigger action sends repository_dispatch events to all
main test repositories of the manifests this repo is part of.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-27 14:20:04 +10:00
Kent McLeod cb16a1c46e picoserver: Create settings.cmake
Setting LibPicotcp=ON in a settings.cmake will remove picotcp
compilation errors when this app configuration is built.

Signed-off-by: Kent McLeod <kent@kry10.com>
2021-04-06 13:46:45 +10:00
Oliver Scott f920d75a87 trivial: add opensbi path remove riscv-pk
Signed-off-by: Oliver Scott <Oliver.Scott@data61.csiro.au>
2021-03-22 15:58:10 +11:00
Damon Lee 3fcc116ccc picotcp_single_component: Use uncached DMA
With the latest changes to the DMA allocation in libsel4camkes, the
default DMA pool for each component is now uncached, hence we also
update the sources to use uncached memory.
2021-02-09 16:37:38 +11:00
Damon Lee b17c3151d2 dma-example: Change to alloc uncached memory
Following the latest changes to the DMA allocation in libsel4camkes
where it is now aware of cached DMA allocations, this commit changes the
DMA allocation calls to allocate uncached memory as the default pool is
mapped uncached.
2021-02-09 10:15:44 +11:00
Curtis Millar 61241ab757 Pass KernelSel4Arch for simulation settings
This allows the simulation settings to distinguish between ia32 and x86_
64 when setting for simulation.

Signed-off-by: Curtis Millar <curtis.millar@data61.csiro.au>
2021-02-04 14:08:42 +11:00
Curtis Millar 47c87ff3c2
Pass KernelSel4Arch for simulation settings
This allows the simulation settings to distinguish between ia32 and x86_
64 when setting for simulation.

Signed-off-by: Curtis Millar <curtis.millar@data61.csiro.au>
2021-02-04 14:00:48 +11:00
Gerwin Klein 8976abc1c4 style: run style formatter on all files
Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-12-07 17:43:48 +11:00
Gerwin Klein 2c14cf80f6 Fix broken link to CAmkES docs
Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-12-03 10:38:54 +11:00
Gerwin Klein 435f7cc1c0 github: add basic foundation CI checks
Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-12-03 10:38:54 +11:00
Gerwin Klein 6b2d3da51c Add Foundation docs: CoC, License, Contributing
Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-12-03 10:38:54 +11:00
Gerwin Klein e653f3f992 Convert license tags to SPDX
Also clarifies provenance of code in `apps/fdtgen/fdt_utils.c`

Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-12-03 10:38:54 +11:00
Gerwin Klein 3b9f3439c9 Convert all READMEs to markdown
Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-12-03 08:43:07 +11:00
Luke Mondy da0a3ba1f8 Switch comment styles
Signed-off-by: Luke Mondy <luke.mondy@data61.csiro.au>
2020-10-19 11:39:44 +11:00
Jingyao Zhou 446e5da169 mcs-scheduling: Example to demo MCS sched logic
Consider 3 threads with budget and period setting as T_1(90 / 200),
T_2(60 / 250), and T_3(10 / 300), sorted in descending order of
priority. The sum of CPU utilization is 72.3% thus meet the
schedulability requirement of Rate-monotonic scheduling, which
means the lower priority thread T_3 will always have its chance to
run in any of its periods. The example demonstrates this working.
2020-09-16 09:58:38 +10:00
Kent McLeod f2a2f6806c trivial: Declare RUMPRUN_PATH in settings.cmake
This is so that the rumprun project can be found.

Signed-off-by: Kent McLeod <kent.mcleod@protonmail.com>
2020-09-06 17:47:58 +10:00
Kent McLeod 43ebab9299 picotcp_tcp_echo: Remove unused definition
Can safely remove duplicated definition
2020-07-28 15:40:06 +10:00
Kent McLeod 25d4d71b9b picotcp_tcp_echo: Add README.md
This adds a brief description of the application.
2020-07-28 15:40:06 +10:00
Kent McLeod ae7d2fad99 picotcp_tcp_echo: Add utilization and tracing
- Add a socket for starting and stopping and reporting utilization
information gathering
- Add BenchUtiliz component for performing measurements and also tracing
support.
2020-07-28 15:40:06 +10:00
Kent McLeod 7c98ae3d3d picotcp_tcp_echo: Add serialserver component
This allows components to print to serial even if the kernel is
configured for release.
2020-07-28 15:40:06 +10:00
Kent McLeod c25c1db73b picotcp_tcp_echo: Use async socket interfaces
These async interfaces use virtqueues to batch multiple receive and send
operations together. This change applies to both the TCP connections and
UDP socket. The socket functionality was moved into separate files also.
2020-07-28 15:40:06 +10:00
Kent McLeod b7dd667a3e picotcp_tcp_echo,tx2: Use uncached DMA mappings
Configure the mapping attributes for shared DMA regions to be uncached
between picoserver, ethdriver and hardware components.
2020-07-28 15:40:06 +10:00
Kent McLeod a205e9a2da pico_tcp_echo, tx2: update fdt_bind_driver config
fdt_bind_driver's configuration macros were changed to support defaults
and overriding these on a per instance basis.
2020-07-28 15:40:06 +10:00
Kent McLeod a4be020f80 tests: Exclude picotcp_single_component app
This app cannot be run on a simulator
2020-07-22 10:42:18 +10:00
Kent McLeod 7efca8f0b1 picotcp_single_component: Add picotcp example
This example application runs a network stack, ethernet driver and a
couple echoing sockets in a single address space.
2020-07-22 00:14:17 +10:00
Kent McLeod f713a07318 Move picotcp CMake settings to settings.cmake
This causes the settings to be evaluated early on in the build.
2020-07-22 00:14:15 +10:00
Kent McLeod 3b1afd3f32 dma-example: Update camkes dma alloc interface
This function now takes a cache argument.
2020-07-15 19:05:04 +10:00
Johannes Åman Pohjola 8d43661a74 cakeml_regex: update to a more recent CakeML version
Since this was originally written, the syntax of theorem statements
changed, a conversion that breaks the proofs was added to the
default simpset, and and some of the functionality inlined here
was upstreamed to HOL4 libraries.

This is intended to run on CakeML version 6f71ec748.

Signed-off-by: Johannes Åman Pohjola <johannes.amanpohjola@data61.csiro.au>
2020-07-01 10:17:26 +10:00
Jingyao Zhou 2de63ba151 serialserver_polling: bug fix
Fix an issue when multiple characters received between seL4_Poll calls,
the receiver will only process 1 char then start polling again.
2020-06-22 17:35:21 +10:00
Jingyao Zhou 2fcde9aa61 trivial: Update serialserver app simulate tests 2020-06-22 17:35:00 +10:00
Jingyao Zhou ba2d46cfca trivial: Update app names for serialserver apps 2020-06-15 14:37:55 +10:00
Jingyao Zhou 109237fe75 serialserver: add examples for getchar
add poll based and interrupt based examples for demonstrating
getchar.
2020-06-09 12:46:57 +10:00
Kent McLeod f74272c098 picotcp_tcp_echo: Exclude app from tests
None of the simulation platforms can run this app.
2020-05-06 17:37:15 +10:00
Kent McLeod dfcebf1e00 picotcp_tcp_echo: Create app based on picoserver
This app is similar to picoserver but doesn't have a listener component.
It has an echo client that echoes TCP messages received on port 1234
2020-05-06 16:23:00 +10:00
Kent McLeod 19d06b4a82 picoserver: Use required PicoServer definitions
The PicoServer provides macros for adding the timer interface connection
and setting IP address configuration.
2020-05-06 14:25:38 +10:00
Kent McLeod 5a16ffe89c picoserver: Add missing string.h includes
Suppresses compiler warning.
2020-05-06 14:25:38 +10:00
Kent McLeod 1938858456 global_async: Fix up incorrect emit symbol names
These symbol names should be based on the local interface name, not the
remote interface name.
2020-04-29 16:43:36 +10:00
Oliver Scott bdf089338c trivial: add picoserver ip variable 2020-03-13 16:12:03 +11:00
Oliver Scott c0251b502b trivial: remove hardcoded ip addr variable 2020-03-10 16:00:18 +11:00
Alison Felizzi c8e518ed94 global_async: Added example global async app
Added a simple example camkes application that demonstrates the
use of global async connectors to send events and data between
components.
2020-03-06 07:46:29 +11:00
Kent McLeod 913474cd80 picoserver: Remove MAC address configuration
The MAC address is inherited from the hardware MAC and doesn't need
configuration.
2020-02-10 14:27:14 +11:00