Skip to content

Commit 813369f

Browse files
committed
begining RTEMS how tos
1 parent d0435a7 commit 813369f

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

docs/user/how-to/rtems_ioc.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
RTEMS - Deploying an IOC
2+
========================
3+
4+
The tutorials walked through how to create a generic linux soft IOC and how
5+
to deploy an IOC instance using that generic IOC.
6+
7+
epics-containers also supports RTEMS 5 running on MVVME5500. This
8+
tutorial will look at the differences for this architecture. Further
9+
architectures will be supported in future.
10+
11+
Note that each beamline or accelerator domain will require a server for
12+
serving up the IOC binaries and instance files. For details of how to set this
13+
up see `rtems_setup`.
14+

docs/user/how-to/rtems_setup.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
RTEMS - Creating a File Server
2+
==============================
3+
4+
RTEMS IOCs are an example of an 'hard' IOC. Each IOC is a crate that contains
5+
a number of I/O cards and a processor card.
6+
7+
For these types of
8+
IOC the Kubernetes cluster runs a pod that represents the individual IOC,
9+
but the IOC code actually runs on the processor card instead of the pod.
10+
Instead, the pod provides the following services:
11+
12+
- Sets up the files to serve to the RTEMS OS
13+
- Provides a connection to the IOC console just like a linux IOC
14+
- Pauses, unpauses, restarts the IOC as necessary - thus the IOC is controlled
15+
by the Kubernetes cluster in the same way as a linux IOC
16+
- Provides logging of the IOC console in the same way as linux IOCs
17+
- Monitors the IOC and restarts it if it crashes - using the same mechanism
18+
as linux IOCs

docs/user/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ side-bar.
3535
:caption: How-to Guides
3636
:maxdepth: 1
3737

38+
how-to/rtems_setup
39+
how-to/rtems_ioc
3840
how-to/run_iocs
3941
how-to/debug
4042
how-to/contributing

0 commit comments

Comments
 (0)