Compartilhar via


How to Configure and Build a Run-Time Image for a CEPC (Windows CE 5.0)

Send Feedback

Before building a run-time image for a CEPC, you might need to change settings in the Platform Builder IDE. Whether you do depends on your CEPC hardware requirements and your development goals. Also, you might need to configure your run-time image to reside in a larger amount of RAM than the default amount of 28 MB specified the Config.bib file. If you want to support kernel debugging, profiling, or other build options, you must specify these options in the IDE.

Hardware and Software Assumptions

To track your progress in the following table, select the check box next to each step.

  Step Topic
1. Use the New Platform Wizard to select a design template and the initial components for your OS design.

For more information about the platform creation process, see Creating an OS Design with the New Platform Wizard.

Creating an OS Design
2. Customize your OS design by selecting items from the Catalog or deleting items from your OS design. Adding an Item from the Catalog
3. Configure settings for your OS design based on your development goals.

For more information about OS design settings that you can configure, see Platform Settings.

Modifying OS Design Settings
4. Check the dependencies of the Catalog items in your OS design.

You do not need to build your run-time image to view the dependencies.

How to Check the Dependencies of a Catalog Item
5. Modify the MEMORY section in the Config.bib file by setting the environment variable that specifies the amount of RAM on your CEPC hardware or the amount of RAM you want to simulate.

By default, the Config.bib file specifies 28 MB of RAM, and then OAL scans for additional memory at run time, for up to a total of 64 MB.

  • If your CEPC has 16 MB of RAM, or you want to simulate 16 MB of RAM, set the IMGRAM16 environment variable.
  • If your CEPC has 32 MB of RAM, or you want to simulate 32 MB of RAM, set the IMGRAM32 environment variable.
  • If your CEPC has 64 MB of RAM, or if you want to simulate 64 MB of RAM, from the Platform menu, choose Settings. Then, from the Build Options tab, select Run-time Image Can be Larger than 32 MB (IMGRAM64=1).
  • If your CEPC has 128 MB of RAM, or if you want to simulate 128 MB of RAM, set the IMGRAM128 environment variable.

For information about adding support for more than 64 MB of RAM, see Supporting or Simulating More than 64 MB of RAM.

Setting or Clearing an Environment Variable
6. Build the run-time image.
  • In the Output window, on the Build tab, verify that your build contains no errors.
Building a Run-Time Image
7. View the size of the run-time image. Viewbin Tool

See Also

How-to Topics | How to Decrease Run-Time Image Size on a CEPC | Binary Image Builder File | Configuring System Memory | OEMAddressTable

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.