12100 SW Tualatin Rd Tualatin Oregon 97062
(503) 747-2261
Info@VersaLogic.com
www.VersaLogic.com
Problem:
How to install a bootable Windows XP Embedded (XPe) image on CompactFlash (CF) for use
with a VersaLogic Single Board Computer (SBC) using a USB dongle.
Background:
See the
VersaLogic OS Compatibility Chart
to see which VersaLogic computers operate under
XP Embedded. The article assumes that you have already prepared an XPe
image that meets
your needs (see
VT1608 - Developing a Windows XP Embedded Image
).
An XPe image can also be installed on CF via the IDE interface. For instructions, see
knowledge base article
VT1393
.
Solution:
To perform this procedure, you will need the following:
Development system with
a USB dongle, Windows XPe, SP1, SP2, and Feature Pack
2007.
XPe image built to operate on the VersaLogic SBC.
Target system (VersaLogic SBC) with a USB connector or CF adapter. The adapter can
be an on-board CF socket or a peripheral (such as the VersaLogic CFA-1) connected to
the IDE interface.
1.
On the development machine, prepare the CF module with the ufdprep.exe utility
according to
Step 1 of the Microsoft article "Booting XPe from USB"
(http://msdn.microsoft.com/en-us/library/aa940960(WinEmbedded.5).aspx). The
procedure assumes that you have created a working XPe image. The ufdprep.exe
program is part of Feature Pack 2007 and can be found in the utilities folder.
2. On the development machine, copy the image onto the CF module in a USB dongle.
You can do this by dragging and dropping the directory structure of your image onto the
CF module or from the command prompt with the command:
xcopy
image_directory \*.*
drive_letter: /e /h /f
For example, if your XPe image is in a directory named Build
and the CF module is
designated as the E: drive:
xcopy Build\*.* E: /e /h /f
3. Plug the CF into the target machine. You can either move the USB dongle to the target
or remove the CF module and plug it into an IDE CF socket or adapter.
Note: If you
intend
to boot from USB, the image must include support for USB booting.
4. Configure CMOS Setup to boot from CF device (either the USB dongle or the IDE
channel). See knowledge base article
VT1403 - Can't Boot from CompactFlash
if you
encounter problems.
5. Boot the target machine. The First Boot Agent will run and the board
will automatically
reboot into the XP Embedded environment.
Related Articles: