Download Intel® Boot Loader Development Kit V2.0

Transcript
Contents—Intel® BLDK
Contents
1.0
About This Manual ..................................................................................................... 5
1.1
Audience ............................................................................................................ 5
1.2
Related Documents and Tools ............................................................................... 5
1.3
Notational Conventions and Terminology ................................................................ 7
2.0
Product Overview ...................................................................................................... 9
2.1
Introduction to the Intel® BLDK ............................................................................ 9
2.2
Different Components of the Intel® BLDK ............................................................... 9
3.0
Intel® BLDK and Intel® UDK2010 ............................................................................ 11
3.1
Open Source Availability..................................................................................... 11
3.2
Intel® BLDK Features ........................................................................................ 11
4.0
Architecture ............................................................................................................ 13
4.1
Platform Initialization Sequences ......................................................................... 13
4.1.1 Security (SEC) Phase .............................................................................. 13
4.1.2 Pre-EFI Initialization (PEI) Phase .............................................................. 14
4.1.3 Driver Execution Environment (DXE) Phase................................................ 14
4.1.4 Boot Device Select (BDS) Phase ............................................................... 14
4.2
Boot Process..................................................................................................... 14
4.3
Types of Intel® BLDK Files.................................................................................. 15
4.4
Protocol and Drivers .......................................................................................... 16
4.5
UEFI Services ................................................................................................... 17
5.0
Intel® BLDK BSF - Introduction ............................................................................... 20
6.0
Debugging ............................................................................................................... 21
6.1
Software Debugging with the Intel® UEFI Development Kit Debugger Tool ................ 21
6.1.1 Software Debugging on Windows* ............................................................ 21
6.1.1.1 Host Machine Setup ................................................................. 22
6.1.1.2 Target Machine Setup ............................................................... 23
6.1.1.3 Starting a Debug Session .......................................................... 23
6.1.1.4 Using the Software Debugger .................................................... 23
6.1.2 Software Debugging on Linux*................................................................. 27
6.1.2.1 Host Machine Setup .................................................................. 28
6.1.2.2 Target Machine Setup................................................................ 29
6.1.2.3 Starting a Debug Session ........................................................... 29
6.1.2.4 Using the Software Debugger ..................................................... 31
6.2
Platform Level Debugging using JTAG/ITP............................................................. 35
7.0
OS Bring-up ............................................................................................................. 36
7.1
OS Hand-Off Requirements................................................................................. 36
A
Additional Information ............................................................................................ 37
A.1
Image Build Process Flow (EDK-II centric) and Firmware Image Creation.................. 37
A.1.1 AutoGen Stage....................................................................................... 38
A.1.2 $(MAKE) Stage ...................................................................................... 39
A.1.3 ImageGen Stage .................................................................................... 40
A.2
How to Build a UEFI Driver ................................................................................. 42
A.3
EDKII Platform Configuration Database (PCD) ....................................................... 44
A.4
How to modify the binary image using the Intel® BLDK Development Application ....... 45
January 2012
Document Number: 325926-003
Intel® Boot Loader Development Kit
Version 2.0 — UEFI Standard Based User Guide
3