Comparison on BIOS between UEFI and Legacy

Similar documents
Solutions for the Intel Platform Innovation Framework for EFI July 26, Slide 1

Aptio 5.x Status Codes

Introduction to Intel Boot Loader Development Kit (Intel BLDK) Intel SSG/SSD/UEFI

AMI Product Catalog. A Leader in Storage and Computing Innovations Worldwide

Debugging under Unified Extensible Firmware Interface (UEFI): Addressing DXE Driver Challenges

AMD Ryzen Threadripper NVMe RAID Quick Start Guide RC Release Version 1.0

UEFI and IoT: Best Practices in Developing IoT Firmware Solutions

BIOS User Guide RACING P1A

BIOS. Chapter The McGraw-Hill Companies, Inc. All rights reserved. Mike Meyers CompTIA A+ Guide to Managing and Troubleshooting PCs

System Firmware and Device Firmware Updates using Unified Extensible Firmware Interface (UEFI) Capsules

Chapter 6 Cubix SP1 Blade Server

March Getting Started with the Intel Desktop Board DQ77MK UEFI Development Kit

System Prep Applications A Powerful New Feature in UEFI 2.5

UEFI and PCI bootkits. Pierre Chifflier PacSec 2013

Introduction to Configuration. Chapter 4

Windows 8 BIOS Boot settings

ASUSTeK. X455LD Bios Setup Menu Specification. June 12, 2014 Revision: 1.0 Document No.:001.

Using the UEFI Shell. October 2010 UEFI Taipei Plugfest Insyde Software

Designing Interoperability into IA-64 Systems: DIG64 Guidelines

PreBoot Provisioning Solutions with UEFI

BIOS Setup. User s Guide. (For Skylake-W Platform) Rev.1.1

LENOVO THINKSTATION P520C, P520, P720, & P920 WINDOWS 10 INSTALLATION

IMPLEMENTATION OF EXTENSIBLE FIRMWARE INTERFACE

Introduction to the Personal Computer

Fastboot Techniques for the x86 Architecture. Ben Biron QNX Software Systems

AMIBIOS8 Check Point and Beep Code List

Tailoring TrustZone as SMM Equivalent

PL-I Assignment Broup B-Ass 5 BIOS & UEFI

GA-G1975X Post Code Definition

Chapter 2: Managing Hardware Devices

BIOS Update Release Notes

RTD cpumodule LX-Series Migration Guide

ARM Trusted Firmware ARM UEFI SCT update

Computer Setup (F10) Utility Guide HP Business Desktops dx5150 model

Serenity Virtual Station 2004

BIOS Update Release Notes

Chapter 4 Using BIOS 1

Standardized Firmware for ARMv8 based Volume Servers

System Configuration Guide

Managing your real hardware: Installation, Boot, Hardware changes. Olivier Crémel Staff Engineer

A Tour Beyond BIOS Using the Intel Firmware Support Package with the EFI Developer Kit II

BIOS Update Release Notes

BIOS Update Release Notes

Introduction CHAPTER 1

BIOS Update Release Notes

UEFI BIOS Setup Main Menu Advanced Menu Chipset Menu Security Menu Boot Menu Performance Menu...

BIOS SETUP UTILITY Main Smart Advanced H/W Monitor Boot Security Exit. v02.54 (C) Copyright , American Megatrends, Inc.

BIOS Update Release Notes

The ROBO-8710VLA package should cover the following basic items

v02.54 (C) Copyright , American Megatrends, Inc.

Past, Present, and Future Justin Johnson Senior Principal Firmware Engineer

BIOS Update Release Notes

AMIBIOS8 Check Point and Beep Code List

Hard Disk Organization. Vocabulary

Note: The configurations and factory defaults described here are for BIOS version

Note: The configurations and factory defaults described here are for VL-EPIC-25 BIOS version 1.02.

Introduction CHAPTER 1

Tutorial - How to upgrade firmware on Phison S9 controller MyDigitalSSD using a Windows PE environment

RAID Setup. RenderCube XL Rev. 2 Single CPU

SOM Qseven Spec. System On Module. USER Manual V1.0

x D-Sub port, supporting a maximum resolution of 1920x Maximum shared memory of 1 GB

BIOS SETUP UTILITY Main Smart Advanced H/W Monitor Boot Security Exit. v02.54 (C) Copyright , American Megatrends, Inc. BIOS SETUP UTILITY

PART - IV: BROAD SPECIFICATIONS OF HARDWARE / PERIPHERALS AND SOFTWARE

v02.54 (C) Copyright , American Megatrends, Inc.

BIOS SETUP UTILITY Main Advanced H/W Monitor Boot Security Exit. v02.54 (C) Copyright , American Megatrends, Inc. BIOS SETUP UTILITY

Wiwynn SV User Guide

NVR-CV. Network Video Recorder Hot-Swappable Tray for 3.5 HDD x 4 or 2.5 HDD x 4 Gigabit Ethernet x 2 COM x 2, USB2.0 x 6. VGA x 1, DVI-D x 1

BIOS SETUP UTILITY Main Smart Advanced H/W Monitor Boot Security Exit. v02.54 (C) Copyright , American Megatrends, Inc.

Assembly Language for x86 Processors 7 th Edition. Chapter 2: x86 Processor Architecture

Firmware Implementation Techniques to Achieve Windows 8 Fast Boot

Celeron EPIC Computer with GUI and Dual Ethernet SBC4685

G41M-S3. EuPReady. Product Brief. Detail Specification. Intel G41+ ICH7 Chipsets

Homework. Reading. Machine Projects. Labs. Exam Next Class. None (Finish all previous reading assignments) Continue with MP5

UEFI and the Security Development Lifecycle

AMD RAID Installation Guide

BIOS SETUP UTILITY Main Smart Advanced H/W Monitor Boot Security Exit. v02.54 (C) Copyright , American Megatrends, Inc. BIOS SETUP UTILITY

An Introduction to Platform Security

About the Presentations

AMD NVMe/SATA RAID Quick Start Guide for Windows Operating Systems

OS And Hardware. Computer Hardware Review PROCESSORS. CPU Registers. CPU Registers 02/04/2013

BTEC Level 3 Unit 2. Computer Components

UEFI Support for Memtest86+ Patricio Chilano Mateo

C A S P E R USER GUIDE V ERSION 10

Advanced x86: BIOS and System Management Mode Internals Boot Process. Xeno Kovah && Corey Kallenberg LegbaCore, LLC

ECE 471 Embedded Systems Lecture 12

How To Reinstall Grub In Windows 7 With Cd Rom

BIOS Update Release Notes

RAID Configuration. Workstation Creator! Rev3

V10.4 Unified Firmware Update. Release Notes & Installation Instructions

Platform CPU. Chipset Memory. Featuring the Intel P55 Express Chipset. Expansion Slot. Audio LAN. Rear Panel I/O. Connector.

- Supports 6th Generation Intel Core i7/i5/i3/pentium /Celeron Processors (Socket

TZ68A+ UEFI BIOS Manual

Personal computer hardware From Wikipedia, the free encyclopedia (Redirected from Computer hardware)

Steps To Format Laptop Windows Xp And Install Windows 7 Dell

About unchecked management SMM & UEFI. Vulnerability. Patch. Conclusion. Bruno Pujos. July 16, Bruno Pujos

Embedded BIOS. Features and Board Support Packages congatec AG 1

V10.18 Unified Firmware Update. Release Notes & Installation Instructions

A Tour Beyond BIOS Using the Intel Firmware Support Package 1.1 with the EFI Developer Kit II

Building Better Firmware Experience An OEM Perspective

BIOS Update Release Notes

Transcription:

Comparison on BIOS between UEFI and Legacy Abstract The BIOS (Basic Input/Output System) connects the hardware with the system software. The system BIOS is between the system hardware and the system software, defining a firmware interface to ensure the computer available for use after power-on into OS environment. The legacy BIOS was developed two decades ago, and although it had improved a lot since then, basically it was based on the structure of 16-bit processor mode, 1 MB addressable space, PC AT 1 hardware dependencies, etc. Nowadays PC hardware platforms have had amazing changes and OS has also evolved from the early MS DOS1.0 to today Windows 7, Windows 8, and so on. But, as a Key component, BIOS in the whole system still keeps its original scheme without many changes for the past twenty years, which has become a serious obstacle for PC advancement. Thus, a new firmware structure was presented to meet the current powerful OS and hardware complexity, providing us a PC device with high performance and low power consumption. In order to upgrade PC advancement, an initial effort to solve these concerns was made by Intel, defining a new BIOS firmware interface, called EFI (Extensible Firmware Interface) in Spring 2000 IDF (Intel Developer s Forum). EFI is viewed as a significantly improved replacement of the old legacy BIOS firmware interface making PC faster and more efficient. The EFI specification is now managed by the Unified EFI Forum and is officially known as UEFI (Unified EFI). BIOS Evolution History Why we need to have a new BIOS structure? Due to the dissatisfaction of old PC performance, we need a powerful BIOS to provide us a better environment to support PC hardware and software, and further to make PC stronger. EFI BIOS is proposed as the solution at the time. After continually changing in BIOS structure over years, UEFI BIOS has become a new trend of BIOS in the PC industry. Now let s take a look at the difference between the designs of these two kinds of BIOS. 1 Trademark acknowledge: PC-AT is a registered trademark of International Business Machines Corp. Windows is a registered trademark of Microsoft Corp. Intel is a registered trademark of Intel Corp. All product and company names are trademarks or registered trademarks of their respective holders. 2012 MilDef Crete Inc. All rights reserved. Page 1

Check with their Boot-Up Process Comparison on BIOS between UEFI and Legacy First, we check their boot-up process from power-on to operating system loading. On the Legacy BIOS: When you press the power button on a computer, the BIOS in this machine starts to perform the following procedures before getting into OS environment. 1. Initialization: Simply initialize CPU, Chipsets, standard parts of the computer system for basic preload work. All these actions are intended to use FDD (controlled by Super I/O) or CD Drive (controlled by IDE/USB) to rescue BIOS boot block in case of BIOS boot failure. 2. POST(Power On Self Test): Execute a diagnostic/reliability test of the system hardware components, VGA, RAM and other option ROM programs, etc. in order to make sure a good quality of components before working for you. 3. Keep a record of the system Configuration: According to its own system resource table, BIOS will check the whole system to see what devices are installed to the computer. It might show on the screen which device is detected and register it on resource table for future reference. 4. Provide Interrupt Service Routines: Hardware is active by interrupt, and Software utilizes the interrupt vector to find its respective hardware to work for it, so BIOS prepares an interrupt vector table for OS or Apps to call in the future. 5. Boot the operating system: After finishing the system check-up and resource allocations, BIOS begins to search for a boot device in a pre-set boot sequence to load OS for use. On the UEFI BIOS: UEFI BIOS development is based on the specification interface of UEFI defined by Unified EFI Forum. Its Power-on process stages are presented as below: 1. SEC Phase (Security): SEC is the first stage after Power-On, and its main task is to move SP (Stack Pointer) of CPU to CPU internal cache, i.e. Cache as RAM. Later it can proceed on different verifications for security according to the requirement for the system. 2012 MilDef Crete Inc. All rights reserved. Page 2

2. PEI Phase (Pre-EFI Initialization): This stage is similar to the Legacy BIOS on initialization, beginning to initialize CPU, Chipset and Memory in preparation for setting up an environment for the next stage to load device drivers. 3. DXE Phase (Driver Execution Environment): Most parts of system initialization are performed at this phase. DXE s main purpose is to set up a communication platform between EFI drivers and their hardware so that they can go on the necessary initialization by their configurations such as dual core, quad core, PCI, USB, SATA, etc., starting to be initialized at this time. 4. BDS Phase (Boot Device Select): In the BDS phase, users can enter Set-Up Menu to choose a device as a boot device when it is detected on the boot sequence. 5. TSL Phase (Transient System Load): After Operating System is loaded, OS then takes over to control the whole system. In addition, you can also choose to enter UEFI Shell in BSD phase in order to get into a simple command line for debugging or maintenance. Overview on Diagram Flow-Chart for Both BIOS Here shows on boot-up process in graphs for your better understanding of their flow. Diagram for Legacy BIOS Operational Model on below 2 : Simple Init for CPU Chipset Super I/O USB Not fully init; Provide the basic code for BIOS recovery Memory module Keyboard Mouse Serial port and Printer port Plug&Play Card Other Devices build up interrupter vector table, ACPI table, resource table OS-Present App Boot Dispatcher Final OS Environment Power-on BIOS Boot Block Simple Init BIOS Component Init and POST OS Boot Shut Down 2 Adapted from the site: http://jay-fva.blogspot.tw/2010/12/uefi-%e4%bb%8b%e7%b4%b9.html 2012 MilDef Crete Inc. All rights reserved. Page 3

Diagram for EFI BIOS Operational Model on below 3 : The Comparison on ingredients between Legacy and UEFI BIOS 4 : Note: ISV = Independent Software Vendor. IHV = Independent Hardware Vendor. The Benefit of UEFI BIOS 1. Enhance BIOS efficiency The Legacy BIOS still keeps the way of 16 bit execution mode while CPU has entered 32/64 bit era. In this way, new CPUs must retain this 16 bit mode internally to 3 The diagram is quoted from AMI (American Megatrends Incorporated) training course. 4 The table is quoted from AMI (American Megatrends Incorporated) training course. 2012 MilDef Crete Inc. All rights reserved. Page 4

downgrade its efficiency for its backward compatibility on the old BIOS. However, after UEFI BIOS was presented, it tried to enter Protected Mode (Flat Mode) from Real Mode as soon as possible and to allow BIOS to access all resources on the system immediately after a machine power-on. Such processes make it possible that a computer boot-up becomes faster than ever. 2. Easy for Development and Maintenance. 99% of UEFI BIOS codes are built in high-level C language, so it is better to maintain or create new functions for developers than those using assembly code in the old BIOS. 3. Provide Flexible Interface Environment to reduce compatibility occurrence for later software upgrade. EFI driver has a flexible driver module architecture, which can expand driver and interface continuously without needs to rewrite the whole code, so it is not necessary to consider compatibility issue after system upgrade. 4. Avoid using absolute address UEFI BIOS uses the way to load EFI driver during DXE phase to initialize hardware devices, other than hardware code access so that makes device installation more portable and flexible on the different systems. This also avoids unnecessary address conflict to cause a compatible problem. Backward Compatible Issue of UEFI BIOS to the Legacy OS A general UEFI BIOS mostly includes a CSM module (Compatibility Support Module) to support the Legacy OS and Legacy Option ROMs. If you try to install old hardware modules in the system, you d better choose an OS with the legacy support to get less compatibility issues. Conclusion UEFI is an industry specification, which is referred to as having more flexible, extensible and portable characteristics to communicate between hardware and software. If we have a system with an UEFI BIOS, UEFI OS Installation and UEFI drivers, you will find less compatible problems and easier for later system upgrade. For PC, however, in the industry and military world, old option cards applied are still very popular. If someone hopes to use new UEFI BIOS to obtain benefits as mentioned above, they will finally find that the big problems of compatibility could be worse than ever in the legacy BIOS. Author Smile Chang, Software Manager, R & D Department, MilDef Crete Inc. 2012 MilDef Crete Inc. All rights reserved. Page 5