
EMB320 Windows CE 5.0 Image Configuration, Boot Loaders,And Security Jeff Glaum. Software Development Manager Glen Langer Program Manager Windows CE Core OS Team Microsoft Corporation MEDC DevCon 2005
EMB320 Windows CE 5.0 Image Configuration, Boot Loaders, And Security Jeff Glaum, Software Development Manager Glen Langer Program Manager Windows CE Core OS Team Microsoft Corporation

Microsoft MEDC Mobile Embedded DevCon 2005 May9-12,2005 Las Vegas Microsoft

着Windows Mobile Windows CE5.0 Windows Windows Hardware/privers OEM/HV Supplied BSP OEM Hardware and Standard PC (ARM,SH4,MIPS) Standard Drivers Hardware and Drivers Device Building Windows XP DDK Tools Platform Builder Windows Embedded Studio Lightweigh EDB SQL Server 2005 Express Edition Relational SQL Server 2005 Mobile Edition SQL Server 2005 Nativ Win32 MFC 8.0,ATL 8.0 Managed .NET Compact Framework .NET Framework server side ASP.NET Mobile Controls ASP.NET Windows Media Multimedia DirectX Location services MapPoint Development Tools Visual Studio 2005 Internet Security and Acceleration Server communications Exchange Server Messaging Live Communications Server Speech Server Device Update Agent Management Image Update Software Update Services Tools Systems Management Server Microsoft Operations Manager
Management Tools Communications & Messaging Device Update Agent Software Update Services Live Communications Server Exchange Server Internet Security and Acceleration Server Speech Server Image Update Location Services Multimedia MapPoint DirectX Windows Media Development Tools Visual Studio 2005 MFC 8.0, ATL 8.0 Native Win32 Managed Server Side Lightweight Relational EDB SQL Server 2005 Express Edition Data Programming Model Device Building Tools Hardware/Drivers Windows XP DDK Windows Embedded Studio Platform Builder OEM/IHV Supplied BSP (ARM, SH4, MIPS) OEM Hardware and Standard Drivers Standard PC Hardware and Drivers SQL Server 2005 Mobile Edition SQL Server 2005 ASP.NET Mobile Controls ASP.NET .NET Compact Framework .NET Framework Microsoft Operations Manager Systems Management Server

Agenda Introduction ⊙ Memory and Storage Technologies Windows CE 5.0 Image Configuration © Building an Image Boot Loaders ⊙ Boot Loader Security Resources MEDC Call to Action Q and A
Agenda Introduction Memory and Storage Technologies Windows CE 5.0 Image Configuration Building an Image Boot Loaders Boot Loader Security Resources MEDC Call to Action Q and A

Introduction Design Trade-Offs Image storage SRAM,Flash(NOR NAND),or Disk Execution Execute in Place (XIP)versus Relocatable Slower and cheaper versus faster and $ Compression Smaller image size(save cost)vs.slower loading but faster execution Boot Loader Complexity versus Performance Security How does Windows CE support this? Build process and tools
Introduction Design Trade-Offs Image storage SRAM, Flash (NOR & NAND), or Disk Execution Execute in Place (XIP) versus Relocatable Slower and cheaper versus faster and $$ Compression Smaller image size (save cost) vs. slower loading but faster execution Boot Loader Complexity versus Performance Security How does Windows CE support this? Build process and tools

Agenda Introduction Memory and Storage Technologies Windows CE 5.0 Image Configuration ⊙ Building an Image Boot Loaders Boot Loader Security Resources MEDC Call to Action Q and A
Agenda Introduction Memory and Storage Technologies Windows CE 5.0 Image Configuration Building an Image Boot Loaders Boot Loader Security Resources MEDC Call to Action Q and A

Memory And Storage Technologies Type significantly impacts cost and performance Each technology imposes different design constraints Note:The data for this section was derived from leading vendor publications for both NAND and NOR;Because of ongoing changes in flash memory technologies,this information is subject to change
Memory And Storage Technologies Type significantly impacts cost and performance Each technology imposes different design constraints Note: The data for this section was derived from leading vendor publications for both NAND and NOR; Because of ongoing changes in flash memory technologies, this information is subject to change

NAND Flash Memory Dates from the late 1980s Generally offers a lower cost per byte Higher storage capacity Block-accessed storage device with a serial interface Block-access method makes NAND unsuitable for execute in place(XIP) Images typically moved to RAM for execution
NAND Flash Memory Dates from the late 1980s Generally offers a lower cost per byte Higher storage capacity Block-accessed storage device with a serial interface Block-access method makes NAND unsuitable for execute in place (XIP) Images typically moved to RAM for execution

NAND Flash Memory Issue:Where does CPU access code from for initial pre-boot or for OS at boot time? Solutions Add NOR flash Use Hybrid flash New CPU designs use serial interface Issue:Susceptible to manufacturing flaws and possible run-time cell failures Solutions Hardware and/or software data error checking and correction logic(ECC) Wear-leveling techniques to limit number of erase cycles
NAND Flash Memory Issue: Where does CPU access code from for initial pre-boot or for OS at boot time? Solutions Add NOR flash Use Hybrid flash New CPU designs use serial interface Issue: Susceptible to manufacturing flaws and possible run-time cell failures Solutions Hardware and/or software data error checking and correction logic (ECC) Wear-leveling techniques to limit number of erase cycles

NAND Flash Memory Generally has shorter erase and write access times Comparable read access time Trade-Offs Lower cost-per-byte ratio and larger storage capacity,versus Additional system complexity and any additional expense in DRAM
NAND Flash Memory Generally has shorter erase and write access times Comparable read access time Trade-Offs Lower cost-per-byte ratio and larger storage capacity, versus Additional system complexity and any additional expense in DRAM