Вы находитесь на странице: 1из 55

Windows XP Embedded

Paul Yang
Application Engineer
Applied Computing Group
Advantech Co. LTD.
Agenda

Background
Microsoft Windows Embedded Studio
FAQ
Conclusion
Reference
Background
XPE Design Goal
Binary Compatibility with Windows XP
Rich Operating System Functionality
Small Operating System Size
Modular and Compact
Embedded Enabling Features
Development Tool Support
Background (cont.)
Feature Windows XP Embedded Windows CE 4.2

Disk Space 5MB - 200 KB

API Support Full Win32 Best of Win32 plus CE Specific


enhancements

CPU X86 x86, MIPS, SHx, ARM, PPC


Support

Device 100% compatibility with XP Fine-tuned for size derivative of


Drivers Professional NT Driver

Real-Time Required 3rd Party Add-Ons Yes

Developmen Target Designer and Component Platform Builder / eMVT


t Tools Designer / Visual Studio
Background (cont.)

X86 No ARM, MIPS, SHx or x86


X86CPU
CPUArchitecture
Architecture
Only
Only??
Yes

Require Yes requires hard real-time OS


RequireReal-time
Real-time
Support
Support??
No
or via third-party
Using No customized Win32 applications
UsingExisting
ExistingWin32
Win32
Applications
Applications??
Yes

Windows
WindowsXP
XP Either Windows
WindowsCECE
Either
Embedded
Embedded .NET
.NET
Background (cont.)

Windows CE .NET Either Windows XP Embedded


Mobile Handheld Thin Client Retail POS
Mobile and IP Gateway ATM
Phones Set-Top Box Kiosk
Webpad Industrial Gaming
Digital Camera Controller Medical Devices
Media and
Entertainment
Appliance
Printer/
Scanner
Background (cont.)
Retail POS
Thin Clients
Gateway/Media Store
Set-Top-Box

Network Devices

Kiosk/ATM Game Platforms

Office Industrial
Automation Automation
MS Windows Embedded Studio
Target Designer
Component Designer
Component Database Manager
Design a Standard XPE Image
Create a Component
Optimize XPE Image Size
Target Designer
Component Designer
Component Database Manager
MS Windows Embedded Studio
(cont.)
Target Component Target
Analyzer Designer Designer
Hardware
Definition

Application App,
Components OS and EEF OS
OS
Components Imag
Imag
ee

Application
Binaries
XPe
Component
Database
MS Windows Embedded Studio
(cont.)
Design a Standard XPE Image
Identify Target Hardware
Create an Initial Configuration
Import *.pmq
Build XPE Image
MS Windows Embedded Studio
(cont.)
Identify Target Hardware
TAP
Win32 application
Win 2000 or XP
TA
16 bit application
Dos
MS Windows Embedded Studio
(cont.)
Devices.pmq
<CATEGORY Name="ACPI">
<DEVICE ConfigFlags="0">
<DEVICEDESC> </DEVICEDESC>
<FRIENDLYNAME>Intel(R) Pentium(R) 4 CPU 2.40GHz</FRIENDLYNAME>
<HARDWAREIDS>
<DEVICEID Order="1">ACPI\GenuineIntel_-_x86_Family_15_Model_2</DEVICEID>
<DEVICEID Order="2">*GenuineIntel_-_x86_Family_15_Model_2</DEVICEID>
<DEVICEID Order="3">ACPI\GenuineIntel_-_x86_Family_15</DEVICEID>
<DEVICEID Order="4">*GenuineIntel_-_x86_Family_15</DEVICEID>
<DEVICEID Order="5">ACPI\GenuineIntel_-_x86</DEVICEID>
<DEVICEID Order="6">*GenuineIntel_-_x86</DEVICEID>
</HARDWAREIDS>
<COMPATIBLEIDS>
<DEVICEID Order="1">ACPI\Processor</DEVICEID>
</COMPATIBLEIDS>
</DEVICE>
MS Windows Embedded Studio
(cont.)
Create an Initial Configuration
MS Windows Embedded Studio
(cont.)
Create an Initial Configuration
MS Windows Embedded Studio
(cont.)
Create an Initial Configuration
MS Windows Embedded Studio
(cont.)
Import *.pmq
MS Windows Embedded Studio
(cont.)
Build XPE Image
Add Components
FAT or NTFS
FAT Format or NTFS Format
Explorer Shell
NT Loader
Check Dependencies
Build Target Image
MS Windows Embedded Studio
(cont.)
MS Windows Embedded Studio
(cont.)
MS Windows Embedded Studio
(cont.)
MS Windows Embedded Studio
(cont.)
MS Windows Embedded Studio
(cont.)
Optimize XPE Image Size
Removable in Configuration
Audio
Qos
Terminal Service
USB
Volume and Logical Disk Manager
WAN Miniports and RAS
Legacy Device
MS Windows Embedded Studio
(cont.)
Optimize XPE Image Size
Un-Removable in Configuration
Required Hardware
Removable After FBA
FBA
MS Windows Embedded Studio
(cont.)
Audio Related
Audio Codecs
Legacy Audio Drivers
Media Control Devices
Microsoft Kernel Acoustic Echo Canceller
Microsoft Kernel Audio Splitter
Microsoft Kernel DLS Synthesizer
Microsoft Kernel DRM Audio Descrambler
Microsoft Kernel GS Wavetable Synthesizer
Microsoft Kernel System Audio Device
Microsoft Kernel Wave Audio Mixer
Microsoft Streaming Clock Proxy
Microsoft Streaming Service Proxy
Microsoft WINMM WDM Audio Compatibility Driver
Audio card (device-specific)
Game port audio card (device-specific)
MS Windows Embedded Studio
(cont.)
QoS Related
Microsoft Streaming Quality Manager Proxy
Packet Scheduler Miniport

Terminal Related
Terminal Server Device Redirector
Terminal Server Keyboard Driver
Terminal Server Mouse Driver
MS Windows Embedded Studio
(cont.)
USB Related
Generic USB Hub
HID Keyboard Device
HID-compliant consumer control device
USB Composite Device
USB Human Interface Device
USB Root Hub
USB Open Host Controller (chipset-specific in most cases)
USB Universal Host Controller (chipset-specific in most cases)
MS Windows Embedded Studio
(cont.)
Volume and Logical Disk Manager
Related
Logical Disk Manager
Volume Manager

WAN Miniports and RAS Related


RAS Async Adapter
WAN Miniport (IP)
WAN Miniport (L2TP)
WAN Miniport (PPPOE)
WAN Miniport (PPTP)
MS Windows Embedded Studio
(cont.)
Legacy Device Related
Communications Port
Printer Port
ECP Printer Port
Direct Parallel
Printer Port Logical Interface
Standard 101/102-Key or Microsoft Natural PS/2 Keyboard
Microsoft PS/2 Mouse
Floppy disk drive
Standard floppy disk controller
PCI to ISA Bridge (chipset-specific in most cases)
ISAPNP Read Data Port
MS Windows Embedded Studio
(cont.)
Required Hardware
System timer
Direct memory access controller
System CMOS/real time clock
System board
Numeric data microprocessor
Programmable interrupt controller
Any microprocessor-specific components
Microcode Update Device
MS Windows Embedded Studio
(cont.)
FBA
Delete After FBA Complete
System Disk \ Windows \ FBA
At most 2 MB
FAQ
Q: Database Setup cannot be
installed successfully?

A: Change Administrator password.


FAQ (cont.)
Q: How to create a licensed image
without 90-180 evaluation day?

A: Fill the Product ID in


Setting Run-time Image
Licensing
FAQ (cont.)
Q: Nothing in Start menu?

A: Select from User Interface Core


Component
FAQ (cont.)
Q: Component not found?

A: Tools Option Advanced


Minimum Visibility
FAQ (cont.)
Q: How to clone a image with unique
SID?

A: Add System Cloning Tool


Component
FAQ (cont.)
FAQ (cont.)

Q: How to delete Repository and


Component in database?
A: 1. Close TD and CD
2. Open Component Database Manager
3. Delete from Component and Repository
Sub-Frame
FAQ (cont.)
Q: How to compress Image size?

A: 1. Format the Destination Disk to


NTFS Compressed
2. Transfer XPE Image to the Disk
3. Uncompress ntldr File
FAQ (cont.)
Q: How to make CF bootable?
Boot Problem !
A: 1. Boot in Dos
2. Fdisk CF to FAT-16
3. Execute NTBOOT
4. Re-format CF to FAT-32 or NTFS
in Win 2000 or Win XP
FAQ (cont.)
Q: CF Size vs. XP Image Size?

Test Case 1 Test Case 2 Test Case 3

CF Size 128 MB 128 MB 128 MB


(122 MB) (122 MB) (122 MB)
Image Size 119 MB 116 MB 110 MB

Free Size 2.55 MB 5.8 MB 12.2 MB

Result SaveHive FBA Failed All ok!


Failed
Run XPE ok!
FAQ (cont.)

Q: What is Macro Component?

A: Bundles together the functionality


of several individual
components.
FAQ (cont.)
Q: How to create a Macro Component?
FAQ (cont.)
Q: How to create a Macro Component?
FAQ (cont.)

Q: How to make an application


automatic run after logon?
Property Value
Filepath Ex. %11%MyApp.exe
Flags 0 = Run
1 = RunOnce
2 = RunOnceEx

Valuename Any Characters String


FAQ (cont.)
FAQ (cont.)

Q: How to create a driver component?

A: 1. Import *.inf
2. Create Repository to store the
corresponding files
PS. If Step 1 failed, see next page to add
component manually.
FAQ (cont.)

Q: How to create a driver component?

A: 1. Add 2 files
*.inf %17% (C:\WINDOWS\inf\)

*.sys %12% (C:\WINDOWS\system32\drivers\)


FAQ (cont.)

Q: How to create a driver component?

A: 2. Add 2 resources Ex. Intel 100 VE


PnPDevice
PnPID(819):"PCI\VEN_8086&DEV_1050&SUBSYS_728C1462"

Service Data
Intel 100 VE-based PCI Fast Ethernet Adapter XP Driver
FAQ (cont.)
Conclusion
Powerful
10,000+ Components
Rapid
Reduce time-to-market
Reliable
Reference

MSDN Training Course


2545A_00, 2545A_01, 2545A_02, 2545A_03,
2545A_04, 2545A_05, 2545A_06, 2545A_07
Windows XP Embedded Basics Hands-On Lab
MSDN Online Library
Newsgroup
microsoft.public.windowsxp.embedded

microsoft.public.windowsxp.embedded.techprev
iew
Ravi Gopal, Windows XP Embedded Overview
Reference (cont.)

Microsoft Corporation, Which to Choose:


Comparing Microsoft Windows CE .NET and
Windows XP Embedded, Microsoft Windows
Embedded White Paper, July 2003.

Вам также может понравиться