Stanford Linear Accelerator Center RTEMS Experiences at SSRL

  • Slides: 9
Download presentation
Stanford Linear Accelerator Center RTEMS Experiences at SSRL (continued) Introduction Building/Booting Available EPICS Support

Stanford Linear Accelerator Center RTEMS Experiences at SSRL (continued) Introduction Building/Booting Available EPICS Support Wish List Stephanie Allison EPICS Meeting June, 2003 1

Introduction • • • Currently at RTEMS 4. 6. 0 pre 2 We no

Introduction • • • Currently at RTEMS 4. 6. 0 pre 2 We no longer build for Vx. Works Building RTEMS is complicated …but using is easy OSI layer makes porting from Vx. Works almost trivial Stephanie Allison EPICS Meeting June, 2003 2

Building RTEMS at SSRL 1) 2) 3) 4) Tools and libraries Unbundled RTEMS applications

Building RTEMS at SSRL 1) 2) 3) 4) Tools and libraries Unbundled RTEMS applications Create symbol list used in system image link System image used by all IOC • • • Not all libraries included Include some unbundled apps like Cexp Don’t use routines (rtems_init and rtems_netconfig) delivered in base/src/RTEMS Building is complex - Till’s README files helpful Stephanie Allison EPICS Meeting June, 2003 3

RTEMS Unbundled Apps • • C Expression Interpreter (Cexp) (our “shell”) Telnet NFS Monitor

RTEMS Unbundled Apps • • C Expression Interpreter (Cexp) (our “shell”) Telnet NFS Monitor Stephanie Allison EPICS Meeting June, 2003 4

RTEMS Boot • • System image loaded Initialization task • • Also loads symbol

RTEMS Boot • • System image loaded Initialization task • • Also loads symbol file Runs common non-EPICS startup script to load other unbundled apps, set TZ, start tasks, etc Then runs EPICS app startup script identified in NVRAM which loads app image and initializes EPICS Left at Cexp prompt – at this point, usage similar in concept to Vx. Works Stephanie Allison EPICS Meeting June, 2003 5

Stephanie Allison EPICS Meeting June, 2003 6

Stephanie Allison EPICS Meeting June, 2003 6

Stephanie Allison EPICS Meeting June, 2003 7

Stephanie Allison EPICS Meeting June, 2003 7

EPICS/RTEMS Support Available at SSRL • • • IPAC – CANBus, Acromag, Hytec Bit.

EPICS/RTEMS Support Available at SSRL • • • IPAC – CANBus, Acromag, Hytec Bit. Bus Controller GPIB – LAN and Termios Echotek Digital Receiver AB Ether. IP Generic Transient Recorder Bumpless Reboot Restore Sequencer Soon – General Standards PMC Stephanie Allison EPICS Meeting June, 2003 8

Wish List • • • osi. Dev. Lib – layer on top of VME/VXI

Wish List • • • osi. Dev. Lib – layer on top of VME/VXI (return errors for soft IOCs) dev. Stats – CPU health status monitor like [VX, vx, Vx, v. X]Stats epics. OSversion – get OS class and version as string osi. TS – periodic NTP sync and timestamp update like soft time slave IOC in Vx. Works’s drv. TS Routine to show boot parameters BTW, include files under base/src/vx. Works/src should be installed in base/include/os/vx. Works Stephanie Allison EPICS Meeting June, 2003 9