Fastboot Techniques for x86 Architectures. Marcus Bortel Field Application Engineer QNX Software Systems



Similar documents
Chapter 2 System Structures

H ARDWARE C ONSIDERATIONS

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

Processor Architectures

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

How do I Check if My Computer is Compatible with Windows 7

PC Boot Considerations for Devices >8GB

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

UEFI on Dell BizClient Platforms

Operating Systems 4 th Class

Hard Disk Drive vs. Kingston SSDNow V+ 200 Series 240GB: Comparative Test

9/26/2011. What is Virtualization? What are the different types of virtualization.

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Running FileMaker Pro 5.0v3 on Windows 2000 Terminal Services

Lecture 6: Operating Systems and Utility Programs

Click to view Web Link, click Chapter 8, Click Web Link from left navigation, then click BIOS below Chapter 8 p. 395 Fig. 8-4.

Cisco MCS 7816-I3 Unified Communications Manager Appliance

BIOS Update Release Notes

Chapter 5 Cubix XP4 Blade Server

PC Build and Manual Part 1

How To Use Softxpand (A Thin Client) On A Pc Or Laptop Or Mac Or Macbook Or Ipad (For A Powerbook)

Apple Server Diagnostics User Guide. For Version 3X106

Special FEATURE. By Heinrich Munz

I/O. Input/Output. Types of devices. Interface. Computer hardware

Computer Systems Structure Input/Output

Chapter 3 Operating-System Structures

Example of Standard API

Cisco MCS 7825-H3 Unified Communications Manager Appliance

The Motherboard Chapter #5

Chapter 8: Installing Linux The Complete Guide To Linux System Administration Modified by M. L. Malone, 11/05

The PC Boot Process - Windows XP.

VMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED.

Running Windows on a Mac. Why?

Multimedia Systems Hardware & Software THETOPPERSWAY.COM

Devices and Device Controllers

evm Virtualization Platform for Windows

Chapter 8 Objectives. Chapter 8 Operating Systems and Utility Programs. Operating Systems. Operating Systems. Operating Systems.

Industry First X86-based Single Board Computer JaguarBoard Released

EUCIP - IT Administrator. Module 2 Operating Systems. Version 2.0

BIOS Update Release Notes

Chapter 4. System Software. What You Will Learn... Computers Are Your Future. System Software. What You Will Learn... Starting the Computer

Intel architecture. Platform Basics. White Paper Todd Langley Systems Engineer/ Architect Intel Corporation. September 2010

PC computer configurations & Windows optimizations (Updated November 2012)

Introduction to Operating Systems. Perspective of the Computer. System Software. Indiana University Chen Yu

Operating Systems (Linux)

Embedded System Deployment and Management

Chapter 5 Busses, Ports and Connecting Peripherals

Products. CM-i586 Highlights. Página Web 1 de 5. file://c:\documents and Settings\Daniel\Os meus documentos\humanoid\material_o...

A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e. Chapter 3 Installing Windows

Introduction to the NI Real-Time Hypervisor

A White Paper By: Dr. Gaurav Banga SVP, Engineering & CTO, Phoenix Technologies. Bridging BIOS to UEFI

Why Computers Are Getting Slower (and what we can do about it) Rik van Riel Sr. Software Engineer, Red Hat

Terminal Server Software and Hardware Requirements. Terminal Server. Software and Hardware Requirements. Datacolor Match Pigment Datacolor Tools

The Bus (PCI and PCI-Express)

A Brief Tutorial on Power Management in Computer Systems. David Chalupsky, Emily Qi, & Ilango Ganga Intel Corporation March 13, 2007

Computer Setup (F10) Utility Guide HP Compaq dx2200 Microtower Business PC

Phoenix SecureCore TM Setup Utility

EUCIP IT Administrator - Module 1 PC Hardware Syllabus Version 3.0

85MIV2 / 85MIV2-L -- Components Locations

Operating System Fundamentals Robert Power & Robert Ford

Frontiers in Cyber Security: Beyond the OS

Side Channel Analysis and Embedded Systems Impact and Countermeasures

Ultra Thin Client TC-401 TC-402. Users s Guide

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

H ARDWARE C ONSIDERATIONS

Storage. The text highlighted in green in these slides contain external hyperlinks. 1 / 14

Unit 4 Objectives. System Software. Component 4: Introduction to Information and Computer Science. Unit 4: Application and System Software Lecture 2

Full and Para Virtualization

Chapter 3. Operating Systems

SUMMARIES OF VIDEOS GRADE 11 SYSTEMS TECHNOLOGIES

IOS110. Virtualization 5/27/2014 1

Programming Interface. for. Bus Master IDE Controller. Revision 1.0

Chapter 8 Operating Systems and Utility Programs

DIABLO TECHNOLOGIES MEMORY CHANNEL STORAGE AND VMWARE VIRTUAL SAN : VDI ACCELERATION

Remote PC Guide Series - Volume 2a

Outline: Operating Systems

BIOS and CMOS. Overview. The Function of BIOS. The Bus

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture

PC Notebook Diagnostic Card

AwardBIOS Setup Utility

Understanding the Performance of an X User Environment

Paragon Recovery Media Builder

Lecture 2: Computer Hardware and Ports.

Chapter 2 Features of Embedded System

Obj: Sec 1.0, to describe the relationship between hardware and software HW: Read p.2 9. Do Now: Name 3 parts of the computer.

INSTALLATION GUIDE ENTERPRISE DYNAMICS 9.0

Types Of Operating Systems

Parallels Desktop 4 for Windows and Linux Read Me

4-1-4 Serial ATA SATA. A. Intel ICH8R (1) SATA (1) SATA (2) BIOS SATA (3) RAID BIOS RAID (4) SATA (5) SATA

Freescale Semiconductor, I

Chapter 3: Operating-System Structures. Common System Components

UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.

Networking Operating Systems (CO32010)

applicomio Profibus-DP

HP EliteBook and ProBook Notebook PCs - Upgrading from Windows 7 to Windows 8

Embedded Software development Process and Tools: Lesson-4 Linking and Locating Software

BTEC First Diploma for IT. Scheme of Work for Computer Systems unit 3 (10 credit unit)

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

Transcription:

Fastboot Techniques for x86 Architectures Marcus Bortel Field Application Engineer QNX Software Systems

Agenda Introduction BIOS and BIOS boot time Fastboot versus BIOS? Fastboot time Customizing the boot process Fastbooting with a BIOS Demo: Advantech??? fastboot Conclusion 2 QNX Software Systems Co.

Introduction x86 architecture: typically associated with industrial PCs, desktops, servers, and other PC configurations Traditional barriers to using x86 in deeply embedded applications: Power consumption recent developments have mitigated this Long boot times due to reliance on BIOS x86 systems rely on boot firmware called the Basic Input Output System (BIOS) Provides a wide range of device compatibility Detects the system configuration at boot time Not necessary for embedded systems since hardware platform is pre-defined Fastboot replaces BIOS boot for very fast board startup 3 QNX Software Systems Co.

BIOS Boot Time The BIOS: a mini OS responsible for interfacing with hardware BIOS boot code has the greatest effect on boot time Executes on power up; detects and initializes attached devices Devices include keyboard, mouse, interrupt controllers, video card, CPU, cache, RAM, PCI devices, USB devices, sensors, disk drives Besides initialization, the BIOS must also handle Variations in quantity (e.g. RAM) or features (e.g. CPU support for 64-bit addressing) Execute boot code extension for each device with a BIOS-expansion ROM Completion time is device dependent; varies with configuration The Good: booting from the BIOS allows a system design to support a wide range of hardware configurations and devices The Bad: Flexibility comes at the cost of slower boot time 4 QNX Software Systems Co.

Fastboot Time Fastboot is fast mostly because of the things that it doesn t do: Eliminates the need to support a variable hardware configuration Eliminates need to scan devices and do on-the-fly interrupt assignments Doesn t need to consider processor features or variable RAM Developer can make fastboot even faster: Boot from a linearly addressed storage device (EEPROM or Flash) Defer resource allocation Fastboot can support mini drivers Mini-divers allow communication with devices before system is fully running Example: supports the need to signal a device on a shared bus within a small time limit 5 QNX Software Systems Co.

BIOS Boot Time versus Fastboot Time Clock settle time BIOS start up timing Power On Self Test Graphics HW / Startup Msg Device Inventory/ PNP Initial Power On Test 0 ms > 100 ms Startup Message Device discovery, initialization 200 500 ms Clock settle time Fast Boot IO Requests Mini driver Message buffer IO Requests Other Drivers and Applications Boot loader initialized Full driver Boot loader running Kernel initialized Initial Power On Code Copy OS Image, Initialize OS, Handle IO Requests OS Running 0 ms 50 ms 200 500 ms 6 QNX Software Systems Co.

Customizing the Boot Process In a fastboot configuration, the developer is responsible for routing interrupts Hard-code interrupt assignments so they are known at compile time Assign interrupts to improve performance Dedicate channels to high-traffic interrupts and share interrupt lines among low-traffic interrupts Sharing IRQs incurs a run-time cost Deferring PCI resource allocation Both memory and I/O resources can be allocated after boot; the resource requirements are obtained by probing the PCI device. PCI interrupts, like ISA interrupts, are configured by the developer so that the interrupt assignments are known at compile time Booting from flash or EEPROM helps to improve boot times Reduces the complexity of the boot code Avoids slower BIOS calls required to read an image from disk 7 QNX Software Systems Co.

The Fastboot Process Initial Program Loader (IPL) phase Handles basic initialization, locates OS image, copies Startup portion of the OS image, and jumps to it Startup phase Finishes hardware initialization, copies rest of the OS image to RAM, and populates OS data structures Developer must now perform steps that the BIOS previously handled Advantage: Developer can choose what needs to be done Disadvantage: Requires developer time and effort 8 QNX Software Systems Co.

Fastbooting with a BIOS Fully customized boot loader means development time and money Initialize the memory controller, CPU, and cache; enable access to high memory; and enter protected mode. For this intialization fastboot loader doesn t perform these steps any faster than a BIOS Researchers at Intel have investigated some ways to reduce boot times of BIOS-based booting: Paper entitled Fastboot BIOS lists several potential optimizations 1 Recommendations include bypassing device inventory and hardcoding device initialization, interrupts, etc. Similar to Fastboot process and may be sufficient Strikes a balance between reduced boot times and developer effort 1 Kartoz, Dice, and Hattaway, Intel Corporation. Fastboot BIOS: An Investigation of BIOS Speed Enhancement Featuring the Intel Atom Processor (September 2008). http://download.intel.com/design/intarch/papers/320497.pdf 9 QNX Software Systems Co.

Conclusion A fastboot-based system will boot significantly faster than a BIOSbased system BIOS isn t needed in embedded applications based on platforms that use Intel Atom Discarding the BIOS requires developer effort For a visual demonstration see YouTube video: QNX fast boot on Intel Atom / Advantech SOM-6760 http://www.youtube.com/results?search_query=qnx+advantech&aq=f 10 QNX Software Systems Co.

Q&A Marcus Bortel MBortel@qnx.com