Intel® Technology Journal Volume 15, Issue 1, 2011
Total Page:16
File Type:pdf, Size:1020Kb
Intel® Technology Journal | Volume 15, Issue 1, 2011 Publisher Managing Editor Content Architect Richard Bowles Stuart Douglas Vincent Zimmer Michael Rothman Program Manager Technical Editor Technical Illustrators Stuart Douglas David Clark MPS Limited, a Macmillan Company Technical and Strategic Reviewers Jeff Bobzin Cecil Lockett Michael Turner Michael Brinkman Randy Murphy Todd Selbo Intel® Technology Journal | 1 Intel® Technology Journal | Volume 15, Issue 1, 2011 Intel Technology Journal Copyright © 2011 Intel Corporation. All rights reserved. ISBN 978-1-934053-43-0, ISSN 1535-864X Intel Technology Journal Volume 15, Issue 1 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 750-4744. Requests to the Publisher for permission should be addressed to the Publisher, Intel Press, Intel Corporation, 2111 NE 25th Avenue, JF3-330, Hillsboro, OR 97124-5961. E-Mail: [email protected]. This publication is designed to provide accurate and authoritative information in regard to the subject matter covered. It is sold with the understanding that the publisher is not engaged in professional services. If professional advice or other expert assistance is required, the services of a competent professional person should be sought. Intel Corporation may have patents or pending patent applications, trademarks, copyrights, or other intellectual property rights that relate to the presented subject matter. The furnishing of documents and other materials and information does not provide any license, express or implied, by estoppel or otherwise, to any such patents, trademarks, copyrights, or other intellectual property rights. Intel may make changes to specifications, product descriptions, and plans at any time, without notice. Fictitious names of companies, products, people, characters, and/or data mentioned herein are not intended to represent any real individual, company, product, or event. Intel products are not intended for use in medical, life saving, life sustaining, critical control or safety systems, or in nuclear facility applications. Intel, the Intel logo, Intel Atom, Intel AVX, Intel Battery Life Analyzer, Intel Compiler, Intel Core i3, Intel Core i5, Intel Core i7, Intel DPST, Intel Energy Checker, Intel Mobile Platform SDK, Intel Intelligent Power Node Manager, Intel QuickPath Interconnect, Intel Rapid Memory Power Management (Intel RMPM), Intel VTune Amplifier, and Intel Xeon are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Software and workloads used in performance tests may have been optimized for performance only on Intel microprocessors. Performance tests, such as SYSmark and MobileMark, are measured using specific computer systems, components, software, operations and functions. Any change to any of those factors may cause the results to vary. You should consult other information and performance tests to assist you in fully evaluating your contemplated purchases, including the performance of that product when combined with other products. For more complete information about performance and benchmark results, visit www.intel.com/benchmarks †Other names and brands may be claimed as the property of others. This book is printed on acid-free paper. Publisher: Richard Bowles Managing Editor: Stuart Douglas Library of Congress Cataloging in Publication Data: Printed in United States of America 10 9 8 7 6 5 4 3 2 1 First printing: October, 2011 2 | Intel® Technology Journal Intel® Technology Journal | Volume 15, Issue 1, 2011 INTEL® TECHNOLOGY JOURNAL UEFI Today: BOOTSTRAPPING THE CONTINUUM Articles Foreword ................................................................................................................................................................5 Beyond BIOS: Exploring the Many Dimensions of the Unified Extensible Firmware Interface ............................. 8 Silicon Enabling in a Modular Architecture ..........................................................................................................22 UEFI and the OEM and IHV Community .............................................................................................................40 Booting in an Instant ............................................................................................................................................68 UEFI Networking and Pre-OS Security ...............................................................................................................80 Debugging Firmware Based on the Unified Extensible Firmware Interface ...................................................... 102 Broad Use of UEFI in Hewlett Packard Systems ............................................................................................... 118 Table of Contents | 3 Intel® Technology Journal | Volume 15, Issue 1, 2011 4 | Intel® Technology Journal Intel® Technology Journal | Volume 15, Issue 1, 2011 FOREwORD by Doug Fisher Intel Vice President General Manager, Systems Software Division From its roots in 1997 to support Intel® Itanium® based servers and the first published Extensible Firmware Interface (EFI) specification around 2000, Unified Extensible Firmware Interface (UEFI) has now eclipsed legacy BIOS across all computing platforms from high performance servers to mobile devices to deeply embedded devices. The success of UEFI would not have been possible without industry support of the open source implementation and industry-guided platform firmware specification. UEFI as an open standard specification ensured that it received broad support and investment from across the industry to evolve as required to support technology changes in our industry, for example boot time requirements and an ever increasing focus on security. This issue of the Intel Technology Journal is completely focused on UEFI. The first article is an introduction to UEFI written by Mark Doran, Vincent J. Zimmer, and Michael A. Rothman; it provides both the details on the history of UEFI and how the specifications are managed within the UEFI Forum. The intent here is to not only better understand how UEFI is maintained as an open specification, but to also provide clarity on the usages and capabilities UEFI has made possible within our industry. Silicon enabling provides vendor-specific value-added features on the platform with key chipset and CPU enabling code for the latest hardware. UEFI Platform Initialization (PI) specifications support this capability. In “Silicon Enabling,” authors Isaac Oram, Tim Lewis, and Vincent J. Zimmer focus on building block elements in PI that are the cornerstone of silicon enabling that provides OEMs with consistent and sufficient interfaces to build real systems without precluding opportunities for differentiation. Regardless of how the computer industry has evolved over the years, the need for interoperability between the platform elements is unchanged. In “UEFI and the OEM and IHV Community,” authors Nathan Skalsky, Terry Kirch, Al Rickey, and Michael A. Rothman discuss how the UEFI standard introduces the composite pieces for such interoperability, and in so doing, illustrate how the end user benefits by both the OEM and IHV communities’ use of UEFI standards. Target platforms supported by UEFI span deeply embedded devices to massive server clusters and everything in-between. One common desire Foreword | 5 Intel® Technology Journal | Volume 15, Issue 1, 2011 across all of these domains is the desire to reduce the time it takes for the platform to initialize (boot). Authors Michael A. Rothman, and John Mese, in “Booting in an Instant” cover the elements associated with boot performance from various points of view in the technology value chain. They also discuss how the evolution of standards (such as UEFI) have resulted in boot performance enhancements, and give examples of how these technology elements were incorporated into products to provide meaningful results to the end user. The protection from security threats at all platform states, pre- and post- OS boot are increasingly important for our industry. In “UEFI Networking and Pre-OS security” authors Magnus Nystrom, Martin Nicholes, and Vincent J. Zimmer focus on how UEFI includes security in pre-OS state and networking for the platform boot process from local and remote media, assets to be protected, threats against those assets, and the various technologies that allow for their protection. They also go one step further to discuss forward-looking security capabilities and approaches enabled by UEFI. For software developers, debugging can be a challenge and robust debugging tools are essential at every phase of development. UEFI is no different, and can be very difficult especially for embedded devices where access is limited. Stefano Righi, Brian Richardson, Jiewen Yao, and Elvin Li in “Debugging Issues with UEFI” provide an overview of common debug solutions including hardware-based debugging, system checkpoints, and source-level debugging. Firmware-specific concepts such as status codes, DEBUG/ASSERT macros and the UEFI debug