Wir schaffen Wissen – heute für morgen 24. August 2015PSI,24. August 2015PSI, Paul Scherrer Institut Embedded PREEMPT_RT Linux for IOxOS VME IOC Damir.

Slides:



Advertisements
Similar presentations
Wir schaffen Wissen – heute für morgen A.C.Mezger, Paul Scherrer Institut, Switzerland caQtDM, an EPICS display manager with Qt Paul Scherrer Institut.
Advertisements

Sundanc e High-tech DSP solutions. Giving you the freedom to design Multiprocessor Technology Ltd SOFTWARE UTILITY TOOLS.
Media Player for the i.MX31 Advanced Embedded Systems Architecture Class Project May 14, 2011 Rafael Castro Ryan Ugland Carlos Cabral.
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
DCM Embedded Software Infrastructure, Build Environment and Kernel Modules A.Norman (U.Virginia) 1 July '09 NOvA Collaboration Mtg.
Embedded Solutions for EPICS Based Control Systems Miroslaw Dach Goran Marinkovic Paul Scherrer Institut Switzerland.
What You Will Learn Components of a computer’s system software The importance of an operating system Functions of an operating system Types of user interfaces.
© ABB Group Jun-15 Evaluation of Real-Time Operating Systems for Xilinx MicroBlaze CPU Anders Rönnholm.
Wir schaffen Wissen – heute für morgen June 11, 2015PSI,June 11, 2015PSI, Paul Scherrer Institut Modular High Bandwidth Data Acquisition System With Gigabit.
Handheld TFTP Server with USB Andrew Pangborn Michael Nusinov RIT Computer Engineering – CE Design 03/20/2008.
Lesson 15 – INSTALL AND SET UP NETWARE 5.1. Understanding NetWare 5.1 Preparing for installation Installing NetWare 5.1 Configuring NetWare 5.1 client.
Ernest L. Williams Jr. Controls Commissioning October 2007 Controls Commissioning Facility Advisory Committee.
1 Web Server Administration Chapter 3 Installing the Server.
29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.
EtherCAT Driver for Remote I/O James Rowland, Ronaldo Mercado and Nick Rees.
The Operating System The operation system (OS) is a set of programs that coordinates: Hardware functions Interaction between application software and computer.
Linux-MVME Targets Using Motorola Board Support
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC as a Linux Computer January.
31st July 2008AIDA FEE Report1 AIDA Front end electronics Report July 2008 Progress Virtex5 FPGA choice Milestones for prototype delivery.
Wir schaffen Wissen – heute für morgen 24 August 2015PSI,24 August 2015PSI, Paul Scherrer Institut Status WP 8.2 RF Low Level Electronic Manuel Brönnimann.
Embedded Systems Principle of Debugger. Reference Materials kl.de/avr_projects/arm_projects/#winarmhttp://
U-Boot Debug using CCSv5 In this session we will cover fundamentals necessary to use CCSv5 and a JTAG to debug a TI SDK-based U-Boot on an EVM platform.
How Hardware and Software Work Together
Configuration of Linux Terminal Server Group: LNS10A6 Thebe Laxmi, Sharma Prabhakar, Patrick Appiah.
Arago Project Creating an Open Integration and Distribution System William Mills
02/2008 MATRIX VISION GmbH 1 Presentation The intelligent camera and Image processing sensor.
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI EPICS Meeting, Saclay Paul Scherrer Institut SwissFEL Timing System Babak Kalantari.
Beagle Board Fast Boot Hui Chen Keji Ren Dec 10 th, 2009 EE382N-4 Project.
Linux development on embedded PowerPC 405 Jarosław Szewiński.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
Wir schaffen Wissen – heute für morgen Gateway (Redux) PSI - GFA Controls IT Alain Bertrand Renata Krempaska, Hubert Lutz, Matteo Provenzano, Dirk Zimoch.
Wir schaffen Wissen – heute für morgen Paul Scherrer Institut Ernst Johansen The „Pie in the Sky“ 11. März 2010PSI,
K12LTSP Linux Terminal Server Project for K-12 schools Brought to you by: Eric Harrison, Multnomah Education Service District
Wir schaffen Wissen – heute für morgen Paul Scherrer Institut Windows-based camera IOC with a SMB branch Helge Brands.
Porting Linux Linux onto the Puppeteer SA1110. The Puppeteer board –SA1110 CPU –SMSC LAN91C96I ethernet –8 Mb Flash Intel 28F320C3 Boot block flash –32.
Linux Kernel Management. Module 9 – Kernel Administration ♦ Overview The innermost layer of Linux operating system is the kernel, which is a thin layer.
AoE and HyperSCSI on Linux PDA Prepared by They Yu Shu.
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/16 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
Babak Kalantari, EPICS Meeting, , Kobe A vxWorks driver for DMA on VMEbus Babak Kalantari Paul Scherrer Institute Switzerland.
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/7 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
Linux Kernel Programming (LKP). LKP New sub-course New sub-course We will learn together We will learn together Evaluation of this part of course will.
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI MRF workshop, Prague, Eli Beamlines Paul Scherrer Institut Synchronous DAQ using.
R. Krempaska, October, 2013 Wir schaffen Wissen – heute für morgen Controls Security at PSI Current Status R. Krempaska, A. Bertrand, C. Higgs, R. Kapeller,
Instrument Control Systems Seminar 2014, 20 th -24 th October 2014 New Standards VLT Control System Mario Kiekebusch (On behalf everyone who took part.
The BaBar Online Detector Control System Upgrade Matthias Wittgen, SLAC.
Wir schaffen Wissen – heute für morgen 30. Mai 2016PSI,30. Mai 2016PSI, Paul Scherrer Institut The PSI web interface to the EPICS channel archiver Gaudenz.
From VME/RTEMS to Industrial PC/LinuxRT: A Migration Story Mitch D’Ewart May EPICS Collaboration Meeting May 2015.
Software tools for digital LLRF system integration at CERN 04/11/2015 LLRF15, Software tools2 Andy Butterworth Tom Levens, Andrey Pashnin, Anthony Rey.
WIR SCHAFFEN WISSEN – HEUTE FÜR MORGEN Intra Pulse Phase Control Manuel Brönnimann :: Paul Scherrer Institut LLRF Workshop 2015.
WP1- Documentation Booting Petalinux from TFTP and using Network file system Section for developers Zynq 7020 R. Assiro.
Linux on ARM7TDMI or Nothing is as easy as it looks Helicon technologies Ltd. How to run uClinux on NXP LPC22xx.
WIR SCHAFFEN WISSEN – HEUTE FÜR MORGEN caQtDM: future use of a display manager Helge Brands, Anton Mezger :: Paul Scherrer Institut, Switzerland Spring.
WIR SCHAFFEN WISSEN – HEUTE FÜR MORGEN SwissFEL Timing System status & plans Babak Kalantari :: Large Research Facilities /Controls :: Paul Scherrer Institut.
By Ganesan Alagu Ganesh Feb 26, 2008
Operating System & Application Software
Computer System Laboratory
By Ganesan Alagu Ganesh Feb 21, 2008
Steps Towards Beam Commissioning: BPM System
Heterogeneous Computation Team HybriLIT
VME Pixel ROD Setup in UW Pixel Lab B050
Data Server S/W Upgrade Samsung Electronics Co., Ltd.
Chapter 4 – Introduction to Operating System Concepts
GFA Controls IT Alain Bertrand
Computer System Structures
Introduction to Computers
caQtDM: future use of a display manager
Linux-MVME Targets Using Motorola Board Support
umbrellaID: OpenIRIS & Umbrella
Welcome to Linux Chap#1.
regDev Simple access to register based devices
Presentation transcript:

Wir schaffen Wissen – heute für morgen 24. August 2015PSI,24. August 2015PSI, Paul Scherrer Institut Embedded PREEMPT_RT Linux for IOxOS VME IOC Damir Anicic

Hardware - IOxOS (IFC1210) VME IOC Presented by D. Zimoch: A new intelligent FMC/XMC/PMC carrier board / IOC for VME

Software We will use RealTime Linux PREEMT_RT patched XENOMAI (if PREEMPT_RT is not good enough)

Choose Development Kit Started with: Linux Target Image Builder (LTIB) Initially sponsored by Freescale Semiconductor ( Now moved to Savannah project (savannah.nongnu.org)savannah.nongnu.org We have decided to switch to more modern development kit Now using: Embedded Linux Development Kit (ELDK) Provided by Denx ( Based on Yocto ( Aligned with OpenEmbedded (

Software Development Kit (SDK) and Root File System Download pre-built version OK to start with Better build it yourself Download ELDK source (git, we use eldk5.2) Configure & build it Initially all SW package sources will be downloaded Later full rebuilds are faster (~ hours) Better do partial rebuilds (rootFS only) (~ 1/2 hour) Now you have SDK and Root File System

Components required to boot Linux U-Boot, Universal Boot Loader ( Flat Device Tree (devicetree.org)devicetree.org Device Tree file from IOxOS Kernel (rt.wiki.kernel.org), we use rt28rt.wiki.kernel.org Root File System (previous page) VME and PCI-bridge drivers (PEV & IDT from IOxOS) Build them using SDK (Install to TFTP/NFS server)

Booting Linux on Embedded System Load U-boot from internal storage (NOR/SPI/SDCARD) Configure network with DHCP Load FPGA firmware files (*.bit) using TFTP Load Kernel and Device Tree using TFTP Kernel Mount rootFS over NFS SysV Init Mount other resources over NFS Load IOxOS VME and PCI-bridge drivers (PEV & IDT) Start EPICS IOC

RT Interrupt Response Times Histogram EPICS not runningEPICS running User times (green) of PREEMPT_RT Linux application are acceptable Kernel times (blue) is what could also be achieved with XENOMAI (should be even better)

Interrupt Response Times Histogram (DMA in RT task) It is expected that typical RT application reacts on 10 ms interrupts: DMA read 250 KB from USR1 area Calculate (void in this test) DMA write 8 KB to USR1 area notify EPICS Although it is fine with standalone RT application, we have interrupt jitter problems (2000 µs) when same runs in EPICS. We still have to investigate it. Achieved 250+ MB/s. It is fast enough for our needs.

Conclusions PREEMPT_RT Linux is good enough for user applications EPICS works Interrupt response times are acceptable DMA transfer rate is acceptable The CPU load can be quite high when heavily loaded EPICS and RT application are running on the same IOC Solution: run them on two IOCs We do not need XENOMAI

Acknowledgements IFC Board Design Timo Korhonen Ernst Johansen IOxOS Technologies LLRF Project lead Roger Kalt Transition Module Design Stefan Scherrer Werner Sturzenegger FPGA programming Lionel Schebacher Linux Kernel Driver IOxOS Technologies Linux / EPICS programming Babak Kalantari Damir Anicic Dirk Zimoch Mario Jurcevic Special thanks to Roger Kalt Mario Jurcevic for measurement results.