Vous êtes sur la page 1sur 52

Mobile Platform Usage of UEFI

and the Framework Technology

Isaac Oram
Mobile Platform Software Architect

EFIS002

© 2006 Intel Corporation


Agenda

y Intel Mobile Overview


y Current Mobile Framework Uses
y Mobile Framework Examples
y Mobile Platform Outlook

3
Intel Mobile Overview

y Intel Mobile Overview


– Intel Mobile BIOS Background
– Why is Framework Important
– Mobile Strategy for Framework Utilization
– Expectations
– Intended Mobile Results
y Current Mobile Framework Uses
y Mobile Framework Examples
y Mobile Platform Outlook

4
Intel Mobile Overview

Intel Mobile BIOS Background

y Silicon and technology enabling


– Silicon
– Initiatives
– Platforms
– Products
y Customer support
– Reference Specifications (EDS)
– BIOS Writer’s Guides (BWG)
– BIOS Specification Updates (BSU)
– Reference Code
– Customer Reference Board
y Mobile Complexity
– More than desktop, less than server
– More platform level interaction/vertical integration
– More of a closed box system

5
Intel Mobile Overview

Intel Mobile BIOS Background

y Silicon and technology enabling


– Silicon
– Initiatives
– Platforms
– Products
y Customer support
– Reference Specifications (EDS)
– BIOS Writer’s Guides (BWG)
– BIOS Specification Updates (BSU)
– Reference Code
– Customer Reference Board
y Mobile Complexity
– More than desktop, less than server
– More platform level interaction/vertical integration
– More of a closed box system

6
Intel Mobile Overview

Intel Mobile BIOS Background

y Silicon and technology enabling


– Silicon
– Initiatives
– Platforms
– Products
y Customer support
– Reference Specifications (EDS)
– BIOS Writer’s Guides (BWG)
– BIOS Specification Updates (BSU)
– Reference Code
– Customer Reference Board
y Mobile Complexity
– More than desktop, less than server
– More platform level interaction/vertical integration
– More of a closed box system

7
Intel Mobile Overview

Why is Framework Important

y Legacy BIOS impacting innovation


– Proprietary code bases limit sharing – PMM, PCI, BBS, EDD
– Option ROM infrastructure is limited
– Difficult to create industry standards for BIOS
y A public industry standard architecture is a solution
– Provides a vehicle to enable all customers
– Enables us to deliver more software support
– Intel® Platform Innovation Framework for EFI
– The architecture is available today
– The infrastructure is available today
– The basis for the UEFI/PIWG architecture
– Provides the minimum infrastructure
– Supports corporate intellectual property concerns
y Complementary to SMBIOS, ACPI, and OS driver models
– Supports current legacy interfaces, legacy software, current operating
systems

It is only software…
8
Intel Mobile Overview

Mobile Strategy For Framework


Utilization
1. Support Intel® Platform Innovation Framework
for EFI architecture specifications
– Eventually UEFI PIWG
– http://www.intel.com/technology/framework
2. Use EDK “Green H” source code
– Use of a common baseline:
– Validation leverage
– Code re-use
– http://www.tianocore.org
3. Use Self-Certification Testing to verify
compliance
– http://www.uefi.org

9
Intel Mobile Overview

Mobile Strategy For Framework


Utilization
1. Support Intel® Platform Innovation Framework
for EFI architecture specifications
– Eventually UEFI PIWG
– http://www.intel.com/technology/framework
2. Use EDK “Green H” source code
– Use of a common baseline:
– Validation leverage
– Code re-use
– http://www.tianocore.org
3. Use Self-Certification Testing to verify
compliance
– http://www.uefi.org

10
Intel Mobile Overview

Mobile Strategy For Framework


Utilization
1. Support Intel® Platform Innovation Framework
for EFI architecture specifications
– Eventually UEFI PIWG
– http://www.intel.com/technology/framework
2. Use EDK “Green H” source code
– Use of a common baseline:
– Validation leverage
– Code re-use
– http://www.tianocore.org
3. Use Self-Certification Testing to verify
compliance
– http://www.uefi.org

11
Intel Mobile Overview

Mobile Strategy For Framework


Utilization
1. Support Intel® Platform Innovation Framework
for EFI architecture specifications
– Eventually UEFI PIWG
– http://www.intel.com/technology/framework
2. Use EDK “Green H” source code
– Use of a common baseline:
– Validation leverage
– Code re-use
– http://www.tianocore.org
3. Use Self-Certification Testing to verify
compliance
– http://www.uefi.org
3 Pronged Approach
12
Intel Mobile Overview

Common Baseline

Intel BIOS Vendor Customer

EDK Foundation Code

Open Source Intel 13 BIOS Vendor Customer


Intel Mobile Overview

Defined Architecture

Intel BIOS Vendor Customer

UEFI and Framework Architectures

Open Source Intel 14 BIOS Vendor Customer


Intel Mobile Overview

Add Silicon

Intel BIOS Vendor Customer

Silicon Silicon Silicon


Component Component Component
Modules Modules Modules

Intel Silicon Code

Open Source Intel 15 BIOS Vendor Customer


Intel Mobile Overview

Add Additional Features

Intel BIOS Vendor Customer

Platform Drivers Platform Drivers Platform Drivers

Silicon Silicon Silicon


Hardware Hardware Hardware
Component Component Component
Modules Modules Modules
Modules Modules Modules

Custom or Purchased

Open Source Intel 16 BIOS Vendor Customer


Intel Mobile Overview

Verify

Intel BIOS Vendor Customer

Platform Drivers Platform Drivers Platform Drivers

Silicon Silicon Silicon


Hardware Hardware Hardware
Component Component Component
Modules Modules Modules
Modules Modules Modules

SCT Verify Interface Implementations

Open Source Intel 17 BIOS Vendor Customer


Intel Mobile Overview

Expectations

y Binary-only distribution model won’t work in BIOS


– Early board/silicon issues
– Frequent changes throughout product lifecycle
y Framework offers opportunities
– Implement silicon support once, not once per BIOS code
base
– Reduce or eliminate integration efforts
– Improve support for power on, launch gating issues, etc
y Long term outlook
– Core BIOS functionality = source + binary
– IHV/ISV features, extended features – may move to
binary

18
Intel Mobile Overview

Intended Mobile Results


Reference Code
MRC
Power Management
ACPI

ICH
MCH
Initiatives
Standards

More Reference Code


19
Intel Mobile Overview

Intended Mobile Results


Reference Code
MRC Fix
Power Management
ACPI
Bug Test
ICH
MCH
Initiatives Deliver
Standards

Faster Silicon Support


20
Intel Mobile Overview

Intended Mobile Results


Reference Code
MRC Fix
Power Management
ACPI
Bug Test
ICH
MCH
Initiatives Deliver
Standards

Develop, Integrate, Validate, Product

Innovate Integrate, Validate, Product

Improved Products
21
Intel Mobile Overview

Mobile Framework Goals Summary

y Customer Support for Intel Silicon


y Move to an Industry Standard
y More, Better, Faster

Framework Allows Increased Customer


Support and Enabling
22
Current Mobile Framework Uses

y Intel Mobile Overview


y Current Mobile Framework Uses
– Use Classifications
– Customer Reference Boards
– Concept Designs
– Mobile Designs
y Mobile Framework Examples
y Mobile Platform Outlook

23
Current Mobile Framework Uses

Framework Use Classifications

y Intel Mobile Silicon Support Modules


– Provide key silicon code
– Changes returned to Intel
– Processor and chipset
y Mobile Framework Reference Code
– New Initiatives and Technologies
– Not specifically tied to Intel Silicon
– Industry standards
y Binary Products
– RAID, Robson – eventually replace option ROM
– BIOS images

24
Current Mobile Framework Uses

Mobile Customer Reference Board

y Ships with a Framework implementation


y BIOS Vendor support vehicle
y Customer reference design for HW and SW
y Prototyping and software development
y Validation of silicon, compatibility, platform
and initiatives

CRB Key to Delivering Silicon


25
Current Mobile Framework Uses

Concept Designs

Used for Prototype and Validation Designs

26
Current Mobile Framework Uses

Mobile Designs

y Shipping Products y Future Reference Code


– ICH
– MCH
– Processor Power
Management
– Intel® Active
Management
Technology
– TPM 1.2
– Thermal
–…
Framework is in use Proving and
Shipping Intel Mobile Silicon
27
Reference Code Examples

y Intel Mobile Overview


y Current Mobile Framework Uses
y Reference Code Examples
– ICH8M Reference Code
– Power Management Reference Code
y Mobile Platform Outlook

28
Reference Code Examples

ICH8M Example
IchInit (BWG, BSU)
DMI

PCI Bus
PciExpress
LCI
GLCI GbE PHY*
PATA

Intel® PCIE x1
Expresscard
Expresscard
SM Bus 2.0
GPIO
ICH8M
Power Management

SPI
SPI Flash
Flash WLAN

LPC I/F
Super
Super I/O
I/O HD Audio

CODEC
TPM
TPM

FWHx
FWHx

29
Reference Code Examples

ICH8M Example
IchInit (BWG, BSU)
DMI

PCI Bus
PciExpress
LCI
GLCI GbE PHY*
PATA

Intel® PCIE x1
Expresscard
Expresscard
SM Bus 2.0
GPIO
ICH8M
Power Management

SPI
SPI Flash
Flash WLAN

LPC I/F
Super
Super I/O
I/O HD Audio

CODEC
TPM
TPM

FWHx
FWHx

IchSmiDispatcher
SmmAccess
30
Reference Code Examples

ICH8M Example
IchInit (BWG, BSU)
DMI

PCI Bus
PciExpress
LCI
GLCI GbE PHY*
PATA

Intel® PCIE x1
Expresscard
Expresscard
SMBus SM Bus 2.0 ICH8M
GPIO
Power Management

SPI
SPI Flash
Flash WLAN

SPI LPC I/F


Super
Super I/O
I/O HD Audio

CODEC
TPM
TPM

FWHx
FWHx

IchSmiDispatcher
SmmAccess
31
Reference Code Examples

ICH8M Example
IchInit (BWG, BSU)
DMI
PataController
(UEFI) PCI Bus
PciExpress
LCI
SataController GLCI GbE PHY*
PATA
(UEFI)
Intel® PCIE x1
Expresscard
Expresscard
SMBus SM Bus 2.0 ICH8M
GPIO
Power Management

SPI
SPI Flash
Flash WLAN

SPI LPC I/F


Super
Super I/O
I/O HD Audio

CODEC
TPM
TPM

FWHx
FWHx

IchSmiDispatcher
SmmAccess
32
Reference Code Examples

ICH8M Example
Existing Interfaces Documented in:
EFI_IDE_CONTROLLER_INIT_PROTOCOL Framework IDE Controller Initialization Specification

EFI_LEGACY_INTERRUPT_PROTOCOL Framework Compatibility Support Module Specification

EFI_SMM_USB_DISPATCH_PROTOCOL Framework System Management Mode Core Interface Specification

EFI_SMM_SX_DISPATCH_PROTOCOL Framework System Management Mode Core Interface Specification

SMM_SW_DISPATCH_PROTOCOL Framework System Management Mode Core Interface Specification

EFI_SMM_GPI_DISPATCH_PROTOCOL Framework System Management Mode Core Interface Specification

EFI_SMM_ICHN_DISPATCH_PROTOCOL Framework System Management Mode Core Interface Specification

EFI_SMM_POWER_BUTTON_DISPATCH_ Framework System Management Mode Core Interface Specification


PROTOCOL

EFI_SMM_PERIODIC_TIMER_DISPATCH_ Framework System Management Mode Core Interface Specification


PROTOCOL

EFI_RESET_ARCH_PROTOCOL Framework Driver Execution Environment Core Interface


Specification
EFI_TIMER_ARCH_PROTOCOL Framework Driver Execution Environment Core Interface
Specification
PEI_SMBUS_PPI SMBus PPI Specification

EFI_SMBUS_HC_PROTOCOL SMBus Host Controller Specification

EFI_SMM_CONTROL_PROTOCOL Framework System Management Mode Core Interface Specification

EFI_PCI_HOT_PLUG_INIT_PROTOCOL Framework Hot-Plug PCI Initialization Protocol Specification

33
Reference Code Examples

ICH8M Example

New Interfaces: Purpose Phase Optional

Ich8M.h #defines for chipset registers All No

DXE_ICH_POLICY_PROTOCOL API for ICH reference code DXE No


configuration “knobs”
IchLibrary.h Useful library functions All Yes

EFI_ACTIVE_BIOS_PROTOCOL API for switching ICH BIOS area DXE Yes


between LPC, PCI, and SPI

EFI_SERIAL_GPIO_PROTOCOL API for controlling ICH serial GPIO DXE Yes


hardware
EFI_SMM_IO_TRAP_DISPATCH_PROTO API for sharing IO trap hardware SMM Yes
COL

34
Reference Code Examples

ICH8M Example

Required Modules Purpose Phase


IchInit BIOS Writer’s Guide configuration DXE
SmartTimer Provides timer architectural protocol DXE
implementation
SmmControl Provides SMM services to core DXE
Reset Provides reset architectural protocol RT
implementation
IchSmiDispatcher Allows SMI handlers to register for ICH SMI SMM
sources

35
Reference Code Examples

ICH8M Example

Optional Modules Purpose Phase


IchInit Enables ATA recovery media PEI
Uhci Provides USB recovery media support PEI
Smbus Provides SMBus abstraction/services PEI/DXE
ActiveBios Provides ability to switch memory mapping of DXE
LPC/SPI/PCI to 16MB below 4GB
LegacyInterrupt Legacy boot support DXE
PciHotPlug Hot plug initialization DXE
IdeController EFI 1.10 PATA driver BDS
SataController EFI 1.10 SATA driver BDS
MobileRaid Legacy RAID option ROM CSM
IoTrap Allows sharing of limited IO trapping hardware SMM
IchS3Save Mechanism to capture dynamic state for S3 SMM
resume

36
Reference Code Examples

ICH Summary

y Flexible use of modules


y Platform policy configuration knobs
y Useful as a reference for legacy
development
y Documented interfaces
y Integration documentation

37
Reference Code Examples

Power Management Example

y Intel expends a large effort developing and


validating power management to provide
the Intel® Centrino® mobile technology
experience
y Legacy reference code design is mature
y Framework uses same design and
validation
y Framework interfaces enable easy
integration of more complete code
– SMM core - Software SMI support – S3 – ACPI
support

38
Reference Code Examples

Reference Code Key Points

y We could not do this before


– Too BIOS specific
– Too many different BIOS designs
y Implementation still evolving
– Too complex
y Working
– Customers are benefiting from this code today

Mobile is Leveraging Framework to do


more
39
Mobile Platform Outlook

y Intel Mobile Overview


y Current Mobile Framework Uses
y Mobile Framework Examples
y Mobile Platform Outlook
– Platform Feature Overview
– Robson as a Platform Feature

40
Mobile Platform Outlook

Intel Platforms

y Intel® Centrino® mobile technology pioneered


the platform trend
y Software was key to the platform from the
beginning
y Trend is for increasing software
y SW + HW = BIOS impact
– Efforts to minimize have been only partially successful –
BIOS remains critical for many platform features

41
Mobile Platform Outlook

Robson Platform Feature

y Robson is an example of a platform


technology that requires a platform solution
y Intel Product
– Reference code for BIOS enabling, not for OPROM
– Intellectual property considerations

42
Mobile Platform Outlook

Robson Hardware

Robson is a platform based, non-volatile memory,


disk caching technology
• Connects via PCI-E interface
• Intel hardware controller CPU
• HDD Writes are cached in NAND
flash, and are later written to HDD
• HDD Reads are cached in NAND Opt. DRAM
flash Graphics GMCH
• Offers scalable non-volatile
memory sizes
• NAND complexity PCI-E
ICHxM SATA
Robson HDD
HW

NAND NAND

43
Mobile Platform Outlook

Robson Software

y BIOS Changes per DFOROM Specification


– PCI 3.0 Firmware (portions)
– OPROM entry change
– INT 19 change
– EDD/pass-through functions
y DFOROM/OPROM
– Large resource requirements
– Multiple hooks
y OS Driver
– All functions are managed by the Robson driver and Intel®
Matrix Storage Manager driver

44
Mobile Platform Outlook

Legacy vs. UEFI vs. Framework


Feature Legacy UEFI Framework
Binary Delivery Yes Yes Yes
Provide Required Functionality Yes Yes Yes

Existing BIOS can boot legacy OS No N/A No

Existing BIOS can boot UEFI OS N/A Yes Yes

Pre-boot unlimited (size/resources) No Yes Yes

BIOS UI Integration No No Yes


Pre-boot/OS driver code sharing No Yes Yes
ACPI/SMM/SMBIOS/etc N/A N/A N/A

45
Mobile Platform Outlook

Platform Software

y Platform features increasing


y Platform software increasing
y Platform firmware solutions required
y Legacy support required
– Until industry fully adopts UEFI and/or
Framework
– Until something is unreasonable to implement

Framework Advantages Will Grow


46
Summary

y Framework Allows Increased Customer


Support and Enabling
y Framework is in use Proving and Shipping
Intel Mobile Silicon
y Mobile is Leveraging Framework to do more
y Framework Advantages Will Grow

47
UEFI Testing Event
y In Dupont WA – Week of December 11
y Purpose
– Provide the an opportunity to allow implementers of
UEFI to test their implementations among the UEFI
community
– Testing of UEFI systems and platforms with UEFI Add in
Cards in different configurations for UEFI compliance as
well
– Testing install and boot to a variety of UEFI Operating
systems
y Contact laurie.fleisher@intel.com
y More on this event: www.uefi.org

Your
Your Opportunity
Opportunity to
to Test
Test your
your
A
A unique
unique event
event
Implementation
Implementation
48
Essential References and
Resources
y Technical book from Intel Press:
Beyond BIOS: Implementing the Unified
Extensible Firmware Interface with Intel’s
Framework
by Vincent Zimmer, Michael Rothman, and Robert Hale
For more info: www.intel.com/intelpress

49
Additional EFI /Framework Sessions
Moscone West 2006:
Session EFI # Company Time
Open Source Extensible Firmware Interface (EFI) S005 Intel Done
Developer Kit - What it is and How to Use it
New Firmware Development at Hewlett Packard Hewlett
S001 Done
using EFI and the Framework Packard
Intel Advanced Technology in the Enterprise: Intel & IBM
S004 Done
UEFI Firmware & IBM
Mobile Platform Usage of UEFI and the Intel Mobile
S002 5:00 Wed
Framework Technology

Benefits of Unified Extensible Firmware Interface S003 Intel 8:00 Thu


(UEFI) with Microsoft and Other OS
Q&A open forum C001 Intel 11:00 Thu

More web based info: www.TianoCore.org


www.uefi.org
www.intel.com/technology/framework
50
Please fill out the
Session Evaluation Form
Session presentation available in Content Catalog on the
IDF web site –
when prompted enter:
Username: idf
Password: fall2006
(Please note these are case sensitive)

Thank You for your input, we use it to improve


future Intel Developer Forums

Join us at the Spring 2007 IDF on March 20-22 in San Francisco!!

51
52

Vous aimerez peut-être aussi