Benefits of UEFI in Manufacturing and Test Intel Corporation Software and Services Group.
-
Upload
cole-parrish -
Category
Documents
-
view
218 -
download
1
Transcript of Benefits of UEFI in Manufacturing and Test Intel Corporation Software and Services Group.
Benefits of UEFI in Manufacturing and Test
Intel CorporationSoftware and Services Group
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 3Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Agenda
• UEFI in Manufacturing Environment
• Example Use of UEFI in Manufacturing
• Test Advantages through UEFI
• Industry Benefits and Support
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 4Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
PLATFORM HARDWARE
PLATFORM SPECIFIC FIRMWARE
UEFI BOOT SERVICES UEFIRUNTIMESERVICES
UEFI OS LOADER
(OTHER)SMBIOS
ACPI
INTERFACESFROM
OTHERREQUIRED
SPECS
Mem
ory
Tim
er DriverDriver
UEFI orFramework
Drivers
BootDevices
Protocols +Handlers
OPERATING SYSTEM
Legacy OS LOADER
Compatibility
UEFI API
MotherboardROM/FLASH
OptionROM
OptionROM
OptionROM
UEFI Drivers UEFIDrivers
UEFI OSLoader
UEFI SYSTEMPARTITION
UEFIDrivers
OS PARTITION
UEFI Layered ImplementationUEFI in a Manufacturing Environment
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 5Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
• MFG environment migrated to EFI
• MFG test code loaded by UEFI
• UEFI test code directly interfaces with the HW.
Normal OSBoot MFG test
code
Hardware
UEFI
factory
EFI shell
UEFI in a Manufacturing Environment
OSLoader
UEFI
Hardware
Relationship of Manufacturing Use of UEFI versus OS boot
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 6Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Factory Flow
• Boot to network over PXE– Initial hardware power-up test with EFI MTA– Run within Shell with python scripts
• Configure cards, Nvram and Drives– From firmware setup using UEFI driver
Configuration protocols and EFI based utilities • Boot to WinPE*
– System test and hardware verification for Windows – Pull configuration desired for system from RIS over
LAN– Reseal installation at factory
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 7Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Manufacturing Test Automation (MTA) of UEFI platform
Test Executive
T64.EFI
Test ServicesLibrary
.EFI
Test PackageFile(.pkg)
Command lineArguments
TestModule
Help .hlp
record
execute
Parse
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 8Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
• UEFI shell• Common Utilities (edit, pci, dmem, mm drivers,
dmpstore, dblk, devices, etc.)• Libc• EFI Lib• Network Stack (Tcpip, Dhcp,Ftp, Ping etc)• Configuration of system with Nvram variables
and boot manager– Automatic loading of drivers not in flash– Executing test environment directly without
unnecessary loading of unused drivers.• Python script interpreter
EFI Toolkit “Tools for the Factory”
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 9Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
UEFI Driver Diagnostics
• UEFI Driver Model Drivers (OptionROM code) can have built in diagnostics
• Each driver can expose a 4 tiered test– Standard test– Extended test– Manufacturing test– Maximum test
• IHV silicon/card provider should have Diagnostic protocol as part of UEFI driver
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 10Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
UEFI Driver Configuration
• UEFI Driver Model Drivers (OptionROM code) may have configuration protocol
• Each driver can have different configs– Set options– Validate options– Force defaults
• IHV silicon/card provider should have configuration protocol as part of UEFI driver
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 11Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Advantages of using UEFI interface
• Loading of test environment via UEFI– Unnecessary to write additional code to load test code– Reuse of UEFI drivers (from Silicon providers and EDK)– Use EFI shell (interactive)– EFI shell freely available with source on Tianocore.org– Written in high level C code– Test environment the same across architectures
• Flat memory model– Memory can be tested with less interference– All memory is available (UEFI can be relocated)
• Full control of the system– Very low driver interference– No interrupts required except for EFI timer– UEFI test software has direct contact with hardware
• CPU in Physical mode with no address translation• No OS kernel interference for I/O or memory access• Only one core used, other cores in Sipi rendezvous loop
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 12Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Test Time advantages (Motherboard)
• Reduced pretest time (booting to UEFI)– Need only bare minimum drivers to load or run EFI Shell– Unnecessary to load drivers not used to load test environment
• Faster test time– i.e. boot from LAN(pxeboot) with built in lan drivers
• Requires fewer reboots (can be 0) • Run stop or disconnect on UEFI drivers used during test
instead of reboot• Can still boot to OS
– Just load the UEFI OS Loader from shell or boot manager
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 13Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Test portability
• Test code can compile for all platforms– IA-32, Intel® Itanium® Platform, Intel® 64
• UEFI test environment can be identical between architectures (cross compiled)
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 14Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Test Binary Locations
• EFI has built in network stack• EFI images can run from:
– The firmware image– Local Media (HDD, USB, CD\DVD ROM)– Network share
• Choosing non local media:– No impact on customer image– No risk of corrupting files– Station re-imaging is eliminated
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 15Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Example: Advanced Components Division
(ACD) and Chipset Platform Validation(CPV) using UEFI
• Impact of testing Advanced Host Controller Interface (AHCI) with UEFI driver– 10,658 capacity improvement per module– 32K capacity improvement per 3 modules– One module cost 1.5$ + floor space. Estimated
savings >2M$– Factory has no floor space to add more module
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 16Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
EFI Standard Test Vision
• EFI Standard Test Interface– Industry standard interface for a “test module” to
communicate with a “test engine”• Leverage validation product• Eliminate duplicate work
– Tests from multiple companies interoperate• IHVs provide tests for their components• OEMs provide tests for their boards
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 17Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
EFI Standard Test Vision
• Currently being worked through UEFI Forum– Influence your future– Everyone is invited
• some are contributors to UEFI already
• Open source test executive– Allows for customization:
• Configuration information• Data collection• Operator interactions
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 18Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Developer thoughts
IntelDeveloper
ForumFall 2001
Legacy: Requires specialized knowledgeLegacy: Requires specialized knowledge
–– Expertise gained through experienceExpertise gained through experience
EFI: FastEFI: Fast--track enabledtrack enabled–– EFI Specification SetEFI Specification Set
–– Sample CodeSample Code
–– TrainingTraining
Learning CurveLearning Curve
EFI eliminates Legacy deficiencies
Legacy Deficiencies Eliminated by EFI
Portable Source Code and Portable Source Code and ExecutablesExecutables
Drivers written in C, no assembler needed Drivers written in C, no assembler needed or allowedor allowed
EFI Byte Code (EBC) executables EFI Byte Code (EBC) executables --architecturearchitecture--neutralneutral
Flat memory modelFlat memory model
Standardized compression algorithmStandardized compression algorithm
Debug using native code (IA32, IPF)Debug using native code (IA32, IPF)
13
WrapWrap--Up: Modularity & ServersUp: Modularity & Servers
Code base reuse and modularity enables Code base reuse and modularity enables faster time to market with new hardware faster time to market with new hardware platformsplatforms
PIWG architecture enables make vs. buy PIWG architecture enables make vs. buy –– PEI , DXE, Drivers, etcPEI , DXE, Drivers, etc……
Internal company code sharing opportunitiesInternal company code sharing opportunities–– Across diverse architectures Across diverse architectures –– e.g., embedded e.g., embedded
and serverand server
Maximize flexibility in product choice pointsMaximize flexibility in product choice points
Framework supports fast TTM and cross-architecture code sharing.
Framework Modularity and HP ServersFramework Modularity and HP Servers
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 19Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Web Resources
• www.UEFI.org– UEFI Specification
• www.TianoCore.org– Open Source (EFI Developers Kit, Shell, etc…)– Mailing lists for help and reporting issues
• www.Intel.com/Technology/Framework– Intel’s Framework Specs
• www.Intel.com/Technology/EFI– Intel’s EFI website
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 20Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Q & A
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 21Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008UEFI / Framework Training 2008 Slide 22Copyright © 2006-2008 Intel Corporation
•Other trademarks and brands are the property of their respective owners
Back up