Repositorio Universidad Del Cauca

Total Page:16

File Type:pdf, Size:1020Kb

Load more

SISTEMA DE DEMOSTRACIÓN PARA SISTEMAS OPERATIVOS DE TIEMPO REAL SOBRE SISTEMAS EMPOTRADOS, CASO: UP ADAPTABLE NIOS II César Iván Alvear Vega Ricardo Antonio Palacios Ledezma Trabajo de Grado en Modalidad de Desarrollo Monografía presentada para optar al título de Ingeniero en Electrónica y Telecomunicaciones Directora Mag. Ing. Carolina Ríos Fuentes Co-Directora Mag. (c) Ing. Mary Cristina Carrascal Universidad del Cauca Facultad de Ingeniería Electrónica y Telecomunicaciones Departamento de Telemática Popayán, Octubre de 2010 Tabla de Contenido Tabla de Contenido ................................................................................................................. I Índice de Ilustraciones ............................................................................................................. I Índice de Tablas ..................................................................................................................... II Capítulo I Introducción........................................................................................................... 1 1.1 Contexto ........................................................................................................................ 1 1.2 Escenarios de motivación............................................................................................. 2 1.3 Definición del problema ................................................................................................ 3 1.4 Objetivos ....................................................................................................................... 4 1.5 Trabajos relacionados .................................................................................................. 4 1.6 Solución propuesta ....................................................................................................... 8 1.7 Contribuciones .............................................................................................................. 8 1.8 Contenido ...................................................................................................................... 9 Capítulo II Fundamentos Teóricos ...................................................................................... 10 2.1 Sistemas de Tiempo Real STR .................................................................................. 10 2.2 Sistemas Operativos de Tiempo Real (SOTR) .......................................................... 14 2.3 Sistema Empotrado: Nios II Development Kit, Stratix II Edition ................................ 18 Capítulo III Diseño e Implementación del Sistema de Depuración .................................... 34 3.1 Arquitectura del Sistema............................................................................................. 34 3.2 Modelado del sistema propuesto. .............................................................................. 38 3.3 Practicas sobre Sistemas Operativos de Tiempo Real ............................................. 52 Capítulo IV Prototipo y Pruebas .......................................................................................... 56 4.1 Herramientas Software ............................................................................................... 56 4.2 Problemas encontrados en el desarrollo del sistema ................................................ 60 4.3 Procedimiento de Evaluación del Prototipo y Pruebas .............................................. 61 Capítulo V Conclusiones y Trabajos Futuros....................................................................... 72 5.1 Conclusiones .............................................................................................................. 72 5.2 Trabajos Futuros ......................................................................................................... 73 Referencias Bibliográficas .................................................................................................... 75 Índice de Ilustraciones Figura 2-1 Diagrama de Bloques, placa de Desarrollo Nios, Stratix II Edition................... 25 Figura 2-2 Placa de Desarrollo Nios, Stratix II Edition........................................................ 26 Figura 2-3 Sistema de procesador Nios II .......................................................................... 27 Figura 2-4 Núcleo Procesador NIOS II ............................................................................... 28 Figura 2-5 Conector Ethernet RJ-45 ................................................................................... 30 Figura 2-6 Conector Serial DB-9 ........................................................................................ 30 Figura 2-7 Conectores de Expansión PROTO1-PROTO2 ................................................ 30 Figura 2-8 Conector CompactFlash .................................................................................... 31 Figura 2-9 Conector PMC.................................................................................................... 31 Figura 2-10 Conector Mictor............................................................................................... 32 Figura 2-11 Conectores JTAG ............................................................................................ 33 I Figura 3-12 Diagrama modular del sistema ........................................................................ 35 Figura 3-13 Interfaz de descarga USB-Blaster ................................................................... 36 Figura 3-14 Diagrama de casos de uso servidor ................................................................ 38 Figura 3-15 Diagrama de casos de uso .............................................................................. 40 Figura 3-16 Diagrama de secuencia ................................................................................... 50 Figura 3-17 Diagrama de Clases Servidor.......................................................................... 51 Figura 3-18 Diagrama de Clases Cliente ............................................................................ 52 Figura 4-19 Diagrama modular de herramientas software ................................................. 57 Figura 4-20 Tarjeta de prueba conectada y configurada.................................................... 62 Figura 4-21 Funcionamiento de periféricos de entrada y salida ........................................ 63 Figura 4-22 Servidor en consola de comandos en espera de una conexión ..................... 63 Figura 4-23 Cliente en consola de comandos conectado al servidor ................................ 64 Figura 4-24 Cliente depurando en consola de comandos .................................................. 64 Figura 4-25 Ejecución de práctica de los Sistemas Operativos en Tiempo Real sobre la tarjeta de desarrollo .............................................................................................................. 65 Figura 4-26 Señal de video con retardo considerable ........................................................ 66 Figura 4-27 Señal de video con retardo disminuido .......................................................... 66 Figura 4-28 Proceso de ejecución de la aplicación de depuración remota ....................... 68 Figura 4-29 Configuración de cuatro equipos cliente y un equipo servidor ....................... 69 Figura 4-30 Resultado de evaluación con estudiantes....................................................... 71 Figura 4-31 Porcentaje del nivel de aceptación.................................................................. 71 Índice de Tablas Tabla 1 Aplicaciones de los Sistemas de Tiempo Real........................................................ 1 Tabla 2 Sistemas Operativos de Tiempo Real SOTR ........................................................ 15 Tabla 3 Caso de Uso: Ejecutar Servidor............................................................................. 38 Tabla 4 Caso de Uso: Detener Servidor ............................................................................. 39 Tabla 5 Caso de Uso: Lanzar Video ................................................................................... 39 Tabla 6 Caso de Uso: Configurar servidor.......................................................................... 41 Tabla 7 Caso de Uso: Conectar al Servidor ....................................................................... 41 Tabla 8 Caso de Uso: Abrir archivo ejecutable................................................................... 42 Tabla 9 Caso de Uso: Abrir código fuente .......................................................................... 42 Tabla 10 Caso de Uso: Conectar ........................................................................................ 43 Tabla 11 Caso de Uso: Cargar Ejecutable ......................................................................... 44 Tabla 12 Caso de Uso: Efectuar el comando Ejecutar....................................................... 44 Tabla 13 Caso de Uso: Ejecutar el comando Parar ........................................................... 45 Tabla 14 Caso de Uso: Ejecutar el comando Next ............................................................. 45 Tabla 15 Caso de Uso: Ejecutar el comando Step ............................................................. 46 Tabla 16 Caso de Uso: Fijar BreackPoint ........................................................................... 46 Tabla 17 Caso de Uso: Eliminar BreackPoint ....................................................................
Recommended publications
  • UG1046 Ultrafast Embedded Design Methodology Guide

    UG1046 Ultrafast Embedded Design Methodology Guide

    UltraFast Embedded Design Methodology Guide UG1046 (v2.3) April 20, 2018 Revision History The following table shows the revision history for this document. Date Version Revision 04/20/2018 2.3 • Added a note in the Overview section of Chapter 5. • Replaced BFM terminology with VIP across the user guide. 07/27/2017 2.2 • Vivado IDE updates and minor editorial changes. 04/22/2015 2.1 • Added Embedded Design Methodology Checklist. • Added Accessing Documentation and Training. 03/26/2015 2.0 • Added SDSoC Environment. • Added Related Design Hubs. 10/20/2014 1.1 • Removed outdated information. •In System Level Considerations, added information to the following sections: ° Performance ° Clocking and Reset 10/08/2014 1.0 Initial Release of document. UltraFast Embedded Design Methodology Guide Send Feedback 2 UG1046 (v2.3) April 20, 2018 www.xilinx.com Table of Contents Chapter 1: Introduction Embedded Design Methodology Checklist. 9 Accessing Documentation and Training . 10 Chapter 2: System Level Considerations Performance. 13 Power Consumption . 18 Clocking and Reset. 36 Interrupts . 41 Embedded Device Security . 45 Profiling and Partitioning . 51 Chapter 3: Hardware Design Considerations Configuration and Boot Devices . 63 Memory Interfaces . 69 Peripherals . 76 Designing IP Blocks . 94 Hardware Performance Considerations . 102 Dataflow . 108 PL Clocking Methodology . 112 ACP and Cache Coherency. 116 PL High-Performance Port Access. 120 System Management Hardware Assistance. 124 Managing Hardware Reconfiguration . 127 GPs and Direct PL Access from APU . 133 Chapter 4: Software Design Considerations Processor Configuration . 137 OS and RTOS Choices . 142 Libraries and Middleware . 152 Boot Loaders . 156 Software Development Tools . 162 UltraFast Embedded Design Methodology GuideSend Feedback 3 UG1046 (v2.3) April 20, 2018 www.xilinx.com Chapter 5: Hardware Design Flow Overview .
  • The OKL4 Microvisor: Convergence Point of Microkernels and Hypervisors

    The OKL4 Microvisor: Convergence Point of Microkernels and Hypervisors

    The OKL4 Microvisor: Convergence Point of Microkernels and Hypervisors Gernot Heiser, Ben Leslie Open Kernel Labs and NICTA and UNSW Sydney, Australia ok-labs.com ©2010 Open Kernel Labs and NICTA. All rights reserved. Microkernels vs Hypervisors > Hypervisors = “microkernels done right?” [Hand et al, HotOS ‘05] • Talks about “liability inversion”, “IPC irrelevance” … > What’s the difference anyway? ok-labs.com ©2010 Open Kernel Labs and NICTA. All rights reserved. 2 What are Hypervisors? > Hypervisor = “virtual machine monitor” • Designed to multiplex multiple virtual machines on single physical machine VM1 VM2 Apps Apps AppsApps AppsApps OS OS Hypervisor > Invented in ‘60s to time-share with single-user OSes > Re-discovered in ‘00s to work around broken OS resource management ok-labs.com ©2010 Open Kernel Labs and NICTA. All rights reserved. 3 What are Microkernels? > Designed to minimise kernel code • Remove policy, services, retain mechanisms • Run OS services in user-mode • Software-engineering and dependability reasons • L4: ≈ 10 kLOC, Xen ≈ 100 kLOC, Linux: ≈ 10,000 kLOC ServersServers ServersServers Apps Servers Device AppsApps Drivers Microkernel > IPC performance critical (highly optimised) • Achieved by API simplicity, cache-friendly implementation > Invented 1970 [Brinch Hansen], popularised late ‘80s (Mach, Chorus) ok-labs.com ©2010 Open Kernel Labs and NICTA. All rights reserved. 4 What’s the Difference? > Both contain all code executing at highest privilege level • Although hypervisor may contain user-mode code as well > Both need to abstract hardware resources • Hypervisor: abstraction closely models hardware • Microkernel: abstraction designed to support wide range of systems > What must be abstracted? • Memory • CPU • I/O • Communication ok-labs.com ©2010 Open Kernel Labs and NICTA.
  • Sel4: Formal Verification of an Operating-System Kernel

    Sel4: Formal Verification of an Operating-System Kernel

    seL4: Formal Verification of an Operating-System Kernel Gerwin Klein1;2, June Andronick1;2, Kevin Elphinstone1;2, Gernot Heiser1;2;3 1 1 1;2 1;2 David Cock , Philip Derrin ∗, Dhammika Elkaduwe ,z Kai Engelhardt 1;2 1;4 1 1;2 1;2 Rafal Kolanski , Michael Norrish , Thomas Sewell , Harvey Tuch y, Simon Winwood 1 NICTA, 2 UNSW, 3 Open Kernel Labs, 4 ANU [email protected] ABSTRACT We report on the formal, machine-checked verification of the seL4 microkernel from an abstract specification down to its C implementation. We assume correctness of compiler, assembly code, hardware, and boot code. seL4 is a third-generation microkernel of L4 provenance, comprising 8,700 lines of C and 600 lines of assembler. Its performance is comparable to other high-performance L4 kernels. We prove that the implementation always strictly follows our high-level abstract specification of kernel behaviour. This encompasses traditional design and implementation safety properties such as that the kernel will never crash, and it will never perform an unsafe operation. It also implies much more: we can predict precisely how the kernel will behave in every possible situation. 1. INTRODUCTION Almost every paper on formal verification starts with the observation that software complexity is increasing, that this Figure 1: Call graph of the seL4 microkernel. Ver- leads to errors, and that this is a problem for mission and tices represent functions, and edges invocations. safety critical software. We agree, as do most. Here, we report on the full formal verification of a critical system from a high-level model down to very low-level C kernel, and every single bug can potentially cause arbitrary code.
  • Operating System Support for Run-Time Security with a Trusted Execution Environment

    Operating System Support for Run-Time Security with a Trusted Execution Environment

    Operating System Support for Run-Time Security with a Trusted Execution Environment - Usage Control and Trusted Storage for Linux-based Systems - by Javier Gonz´alez Ph.D Thesis IT University of Copenhagen Advisor: Philippe Bonnet Submitted: January 31, 2015 Last Revision: May 30, 2015 ITU DS-nummer: D-2015-107 ISSN: 1602-3536 ISBN: 978-87-7949-302-5 1 Contents Preface8 1 Introduction 10 1.1 Context....................................... 10 1.2 Problem....................................... 12 1.3 Approach...................................... 14 1.4 Contribution.................................... 15 1.5 Thesis Structure.................................. 16 I State of the Art 18 2 Trusted Execution Environments 20 2.1 Smart Cards.................................... 21 2.1.1 Secure Element............................... 23 2.2 Trusted Platform Module (TPM)......................... 23 2.3 Intel Security Extensions.............................. 26 2.3.1 Intel TXT.................................. 26 2.3.2 Intel SGX.................................. 27 2.4 ARM TrustZone.................................. 29 2.5 Other Techniques.................................. 32 2.5.1 Hardware Replication........................... 32 2.5.2 Hardware Virtualization.......................... 33 2.5.3 Only Software............................... 33 2.6 Discussion...................................... 33 3 Run-Time Security 36 3.1 Access and Usage Control............................. 36 3.2 Data Protection................................... 39 3.3 Reference
  • Partitioned System with Xtratum on Powerpc

    Partitioned System with Xtratum on Powerpc

    Tesina de M´asteren Autom´aticae Inform´aticaIndustrial Partitioned System with XtratuM on PowerPC Author: Rui Zhou Advisor: Prof. Alfons Crespo i Lorente December 2009 Contents 1. Introduction1 1.1. MILS......................................2 1.2. ARINC 653..................................3 1.3. PikeOS.....................................6 1.4. ADEOS....................................7 2. Overview of XtratuM 11 2.1. Virtualization and Hypervisor........................ 11 2.2. XtratuM.................................... 12 3. Overview of PowerPC 16 3.1. POWER.................................... 16 3.2. PowerPC.................................... 17 3.3. PowerPC in Safety-critical.......................... 19 4. Main PowerPC Drivers to Virtualize 20 4.1. Processors................................... 20 4.2. Timer..................................... 21 4.3. Interrupt.................................... 23 4.4. Memory.................................... 24 5. Porting Implementation 25 5.1. Hypercall................................... 26 5.2. Timer..................................... 27 5.3. Interrupt.................................... 28 5.4. Memory.................................... 31 5.5. Partition.................................... 32 6. Benchmark 34 7. Conclusions and Future Work 38 Abstract Nowadays, the diversity of embedded applications has been developed into a new stage with the availability of various new high-performance processors and low cost on-chip memory. As the result of these new advances in hardware, there is a
  • Operating System Verification—An Overview

    Operating System Verification—An Overview

    Sadhan¯ a¯ Vol. 34, Part 1, February 2009, pp. 27–69. © Printed in India Operating system verification—An overview GERWIN KLEIN Sydney Research Laboratory, NICTA,∗ Australia, School of Computer Science and Engineering, University of New South Wales, Sydney, Australia e-mail: [email protected] Abstract. This paper gives a high-level introduction to the topic of formal, interactive, machine-checked software verification in general, and the verification of operating systems code in particular. We survey the state of the art, the advantages and limitations of machine-checked code proofs, and describe two specific ongoing larger-scale verification projects in more detail. Keywords. Formal software verification; operating systems; theorem proving. 1. Introduction The fastest, cheapest and easiest way to build something is properly the first time (Parker 2007). This engineer’s credo has made it into popular literature, but it seems to be largely ignored in the world of software development. In the late 1960s a software crisis was diagnosed on a summit in the Bavarian Alps (Naur & Randell 1969): Software was getting more and more complex, and we had no structured way of building it. We ended up with projects that took significantly longer than planned, were more expensive than planned, delivered results that did not fully address customer needs, or at worst were useless. This summit in the late 1960s is widely seen as the birth of the discipline of software engineering. Now, almost 40 years later, we have come a long way. There are numerous books on software engineering, a plenitude of methodologies, programming languages, and processes to choose from.
  • OKL4 Microkernel Reference Manual

    OKL4 Microkernel Reference Manual

    OKL4 Microkernel Reference Manual API Version 0316 Document Number: OK 10000:2006 (revision 12) Software Version: 3.0 Date: September 11, 2008 Copyright 2006–2008 Open Kernel Labs, Inc. Copyright 2006 National ICT Australia Limited This publication is distributed by Open Kernel Labs Pty Ltd, Australia. THIS DOCUMENT IS PROVIDED “AS IS” WITHOUT ANY WARRANTIES, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFIRNGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage, the copyright notice, the title of the publication and its date appear, and notice is given that copyright is by permission of the authors. To copy otherwise, to republish, to post on servers, or to redistribute to lists requires prior specific permission and/or a fee. Authors: Open Kernel Labs Contact Details: Open Kernel Labs Pty Ltd Attention: Open Kernel Labs Suite 3, 540 Botany Road Alexandria, NSW 2015 Australia email: [email protected] web: http://www.ok-labs.com/ 3 Contents Preface 15 1 Introduction 17 1.1 Outline of This Manual 18 1.2 Definitions 18 1.3 Notation 19 1.4 Credits 20 PART A—GENERIC INTERFACE A-1 Overview 23 A-1.1 The OKL4 Programming Environment 23 A-1.2 OKL4 API Elements 24 A-1.3 Compatibility between OKL4 Versions 24 A-1.4 Variants of the OKL4 API 25 A-1.5 Microkernel Extensions and
  • Lltzvisor: a Lightweight Trustzone-Assisted Hypervisor for Low-End ARM Devices

    Lltzvisor: a Lightweight Trustzone-Assisted Hypervisor for Low-End ARM Devices

    Hugo Miguel Eira Araújo lLTZVisor: A Lightweight TrustZone-assisted Hypervisor for low-end ARM Devices Outubro de 2018 Hugo Miguel Eira Araújo lLTZVisor: A Lightweight TrustZone-assisted Hypervisor for low-end ARM devices Dissertação de Mestrado em Engenharia Eletrónica Industrial e Computadores Trabalho efetuado sob a orientação do Doutor Sandro Pinto Outubro de 2018 Declaração do Autor Nome: Hugo Miguel Eira Araújo Correio Eletrónico: [email protected] Cartão de Cidadão: 14887613 Titulo da dissertação: lLTZVisor: A Lightweight TrustZone-assisted Hyper- visor for low-end ARM Devices Ano de conclusão: 2018 Orientador: Doutor Sandro Pinto Designação do Mestrado: Ciclo de Estudos Integrados Conducentes ao Grau de Mestre em Engenharia Eletrónica Industrial e Computadores Área de Especialização: Sistemas Embebidos e Computadores Escola de Engenharia Departamento de Eletrónica Industrial De acordo com a legislação em vigor, não é permitida a reprodução de qualquer parte desta dissertação. Universidade do Minho, 29/10/2018 Assinatura: Hugo Miguel Eira Araújo v Acknowledgements The accomplishment of this master’s thesis involved great contributions from sev- eral people, whom I will be eternally grateful. Foremost, I would like to express my gratitude to my advisor Dr. Sandro Pinto for giving me the opportunity to develop this groundbreaking work and for all the guidance and continuous support throughout this great journey. Thank you for all the confidence placed on me, and especially, for all the motivation and advices given during difficult times. I would like to also thank Dr. Adriano Tavares, my professor, whom I appreciate all the given advices and reviews. And of course, thanks for all the music tips that helped me to increase productivity.
  • Virtualization for Embedded Systems the How and Why of Small-Device Hypervisors M

    Virtualization for Embedded Systems the How and Why of Small-Device Hypervisors M

    developerWorks Technical topics Linux Technical library Virtualization for embedded systems The how and why of small-device hypervisors M. Tim Jones ([email protected]), Platform Architect, Intel Date: 19 Apr 2011 Summary: Today's technical news is filled with stories of server and desktop virtualization, Level: Intermediate but there's another virtualization technology that's growing rapidly: embedded virtualization. The embedded domain has several useful applications for virtualization, including mobile handsets, security kernels, and concurrent embedded operating systems. This article explores the area of embedded virtualization and explains why it's coming to an embedded system near you. Tags for this article: mobile_and_embedded_systems, resource_virtualization Not only are the markets and opportunities that virtualization creates exploding, but the variations of virtualization are expanding, Table of contents as well. Although virtualization began in mainframes, it found a key place in the server. Server utilization was found to be so small for a large number of workloads that virtualization permitted multiple server instances to be hosted on a single server for less What is embedded virtualization? cost, management, and real estate. Virtualization then entered the consumer space in the form of type-2 (or hosted) hypervisors, Attributes of embedded which permitted the concurrent operation of multiple operating systems on a single desktop. Virtualized desktops were the next virtualization innovation, permitting a server to host multiple clients over a network using minimal client endpoints (thin clients). But today, Examples of embedded virtualization is entering a new, high-volume space: embedded devices. hypervisors Applications of embedded This evolution isn't really surprising, as the benefits virtualization realizes continue to grow.
  • White Paper Motorola Evoke Teardown

    White Paper Motorola Evoke Teardown

    WHITE P A P E R Mobile Handset Teardown: Designing and Deploying with Mobile Virtualization The Path to Building Cheaper Smartphones and Smarter Featurephones October 21, 2009 Prepared by Bill Weinberg, Linux Pundit TABLE OF CONTENTS ABSTRACT .................................................................................................................................. 3 INTRODUCTION .......................................................................................................................... 4 WHO SHOULD READ THIS WHITE PAPER? ............................................................................ 4 MOBILE PHONE DESIGN INFLUENCES ................................................................................... 4 ECOSYSTEM COUPLING...............................................................................................................................4 WHY MOBILE VIRTUALIZATION? ...................................................................................................................5 THE IMPACT OF VIRTUALIZATION ON MOBILE HANDSET DESIGN .................................... 6 HARDWARE CONSOLIDATION .......................................................................................................................6 VIRTUALIZATION AND HANDSET BILL OF MATERIALS......................................................................................7 BOM ANALYSIS ..........................................................................................................................................8 TECHNICAL
  • Rootkits on Smart Phones: Attacks and Implications

    Rootkits on Smart Phones: Attacks and Implications

    Please do not remove this page Rootkits on Smart Phones: Attacks and Implications Bickford, Jeffrey; O’Hare, Ryan; Baliga, Arati; et.al. https://scholarship.libraries.rutgers.edu/discovery/delivery/01RUT_INST:ResearchRepository/12643455810004646?l#13643547520004646 Bickford, J., O’Hare, R., Baliga, A., Ganapathy, V., & Iftode, L. (2009). Rootkits on Smart Phones: Attacks and Implications. Rutgers University. https://doi.org/10.7282/T39W0JW4 This work is protected by copyright. You are free to use this resource, with proper attribution, for research and educational purposes. Other uses, such as reproduction or publication, may require the permission of the copyright holder. Downloaded On 2021/09/30 04:07:29 -0400 Rootkits on Smart Phones: Attacks and Implications Jeffrey Bickford, Ryan O’Hare, Arati Baliga, Vinod Ganapathy and Liviu Iftode Department of Computer Science Rutgers University ABSTRACT However, the increasing complexity of smart phones has also Smart phones are increasingly being equipped with operat- increased their vulnerability to attacks. Recent years have ing systems that compare in complexity with those on desk- witnessed the emergence of mobile malware, which are viruses top computers. This trend makes smart phone operating sys- and worms that infect smart phones. For instance, F-Secure tems vulnerable to many of the same threats as desktop op- reported an almost 400% increase in mobile malware within erating systems. a two year period from 2005-2007 [27]. Mobile malware typically use many of the same attack vectors as do malware This paper examines the threat posed by rootkits to smart for traditional computing infrastructures, but often spread phones. Rootkits are malware that stealthily achieve their via interfaces and services unique to smart phones, includ- goals by modifying operating system code and data, and ing Bluetooth, SMS and MMS.
  • Evaluation of OKL4

    Evaluation of OKL4

    Thesis basic level, 15 credits Evaluation of OKL4 Bachelor Program in Computer Science Mathias Bylund Course: CDT307 Supervisor SAAB Aerotech: Martin Strand Supervisor Mälardalens University: Moris Behnam Examiner: Thomas Nolte Date: 2009-04-16 1 This page is intentionally left empty. 2 Abstract Virtualization is not a new concept in computer science. It has been used since the middle of the sixties and now software companies has interested in this technology. Virtualization is used in server side to maximize the capacity and reduce power consumption. This thesis focuses on virtualization in embedded system. The technology uses a hypervisor or a virtual machine monitor as a software layer that provide the virtual machine and to isolate the underlying hardware. One of most interesting issue is that it supports several operating system and applications running on the same hardware platform and the hypervisor has complete control of system resources. The company Open Kernel Labs is one of the leading providers of embedded systems software virtualization technology and OKL4 is one of their products, which is based on L4 family of second-generation microkernels. In this thesis, we will evaluate the kernel contains, the performance, the security and the environment of the OKL4. Finally we conclude the advantages and disadvantages of the product and technology. 3 Sammanfattning Virtualisering har funnits i över 40 år men har på senare tid blivit ett hett ämne för företag. Det finns bland annat lösningar på serversidan för utnyttja dess kapacitet bättre och lagringsvirtualisering. Denna rapport handlar om virtualisering inom inbyggda system. Tekniken använder sig av hypervisor eller virtuell maskin som är ett mjukvarulager som tillhandahåller den virtuella miljön.