8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 1/21
实验一 Windows 内核定制
1 实验目的
掌握如何利用PLATFORM BUILDER 创建一个项目工
程,添加组建模块,编译镜像程序。
2 预备知识
具备基本的计算机知识。了解嵌入式开发的基本流程。
3 准备事项
软件:PLATFORM BUILDER
硬件:PXA255开发平台一套
4 实验步骤
Install Windows CE .NET Platform Builder 4.2
Install Platform Builder 4.2
Please follow the instruction to Install Platform Builder.
Platform Builder is not included and must be purchased separately. If a retail
version is not available, please download Microsoft® Windows® CE .NET 4.2Evaluation Edition for 120 day free trial from
http://www.microsoft.com/downloads/details.aspx?FamilyId=C60F61C1-6
23B-481B-83B8-031129CF1594&displaylang=en
* The installation of Evaluation Edition can be different from the installation
of retail version.
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 2/21
1. Insert Microsoft Windows CE .NET disk 1 to CD-ROM. Autorun will start setup
program. Click “Install.”
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 3/21
2. Click “Next” Button.
3. Select “I accept the terms in the license agreement,” then click “Next.”
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 4/21
4. Fill out Customer Information, then click “Next.”
5. Select “Custom(Tools and OS)” setup type, then click “Next.”
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 5/21
6. Select the folder where you want to install Platform Builder, then click
“Next.”.
7. In Custom Setup configuration window, select CPU TYPE to ARMV, ARMV4I
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 6/21
8. Start installation when Custom Setup is completed.
9. Install wizard will start installation and copy necessary files.
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 7/21
10. Installation is completed.
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 8/21
Install X-Hyper255B BSP(Board Support Package)
To port Window CE. NET to X-Hyper255B, BSP is required. The BSP includes
Eboot(Bootloader), kernel, Device driver, and configuration.
Install the BSP supplied by Hybus.
1. In BSP directory of a supplied CD, X-Hyper255B_v1.0.msi can be found.
It is the installation file of X-Hyper255B BSP. Run X-Hyper255B_v1.0.msi
to start installation.
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 9/21
2. Installation will start.
3. When the installation is completed, X-Hyper255B directory will be created
in WINCE420\PLATFORM\ directory and BSP will be created in Third party
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 10/21
of Platform Builder.
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 11/21
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 12/21
Building Windows CE .NET for X-Hyper255B
Create a new Platform.
1. Select File->New Platform to start “New Platform Wizard.”
2. Select “X-HYPER255B: ARMV4” platform in BSP Configuration.
3. “Internet Appliance” is selected as an example in Platform Configuration
and XHYPER255B_TEST is entered as Platform name.
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 13/21
4. Select available features in “Application & Media.”
5. Select available features in “Networking & Communications.”
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 14/21
6. Finish “New Platform Wizard.”
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 15/21
Setting the Platform for X-Hyper255B
The below window will appear when the new platform is created successfully.
Configure the platform setting about X-Hyper255B before creating a Kernel
image.
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 16/21
1. Select “Settings..” of XHYPER255B_TEST features.
2. Configure the general tab of “Platform Settings.”
3. Configure the Build Options tab in “Platform Settings.”
Select “Enable Eboot Space in Memory” and “Enable Full Kernel Mode.”
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 17/21
* Must select Enable Eboot Space in Memory & Enable Full Kernel Mode even
when compiling in Debug Mode
* Select Enable CE Target Control Support, Enable KITL, and Enable
Kernel Debugger to use KITL Debug.
KITL and CS8900 driver cannot be used at the same time. When using
KITL, remove CS8900 driver and build Kernel. Otherwise, KITL and
CS8900 driver will conflict and booting will not proceed.
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 18/21
4. Add “View Application” to view Image files and PDF files.
Catalog -> Core OS -> Applications – End User -> Image Viewer
Catalog -> Core OS -> Applications – End User -> PDF Viewer
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 19/21
5. Add “MMC Driver”.
Catalog -> Device Drivers -> Storage Devices ->
Secure Digital/Multimedia Card
Because MMC cannot be plugged-in, install it before booting.
After booting, MMC Card directory will be created
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 20/21
Building Kernel Image
Select Build-> Generate Platform Headers.
Select Build->Build Platform.
Create an image when Build is finished without any error.
8/10/2019 Windows CE - ARM Processors
http://slidepdf.com/reader/full/windows-ce-arm-processors 21/21