Modifying the Binary Image Builder Files

After you have added the environment variable for multiple XIP support, you must modify the Config.bib and Platform.bib binary image builder files to specify files and settings that are required to build an image with multiple XIP regions.

To modify the .bib files for your image with multiple XIP regions

  1. In Microsoft® Notepad or another text editor, open %_WINCEROOT%\Public\<Platform name>\RelDir\CEPC_X86Release\Config.bib.

  2. In the Config.bib file, verify that the following regions are specified:

    Region name Region type
    NK RAMIMAGE
    DRIVERS RAMIMAGE
    RAM RAM

    Note   DRIVERS is included as an example of how to specify a region. You can add additional regions by following this example. When you add additional regions, make sure to adjust the address for the RAM region accordingly.

  3. In the Config.bib file, in the CONFIG section, verify that the following values are set:

    Value Description
    AUTOSIZE=ON Adjusts the start address of RAM to the end of the last XIP region.
    ROM_AUTOSIZE=ON Automatically sizes each separate XIP region.
    DLLADDR_AUTOSIZE=ON Automatically sizes the DLL address space across multiple XIP regions.
  4. To save your changes to the Config.bib file, from the File menu, choose Save.

  5. In Notepad, open %_WINCEROOT%\Public\<Platform name>\RelDir\CEPC_X86Release\Platform.bib.

  6. Locate the Files section at the end of platform.bib and add the following entries at the end of the Files section:

    gwes.exe     $(_FLATRELEASEDIR)\gwes.exe       DRIVERS  SH
    filesys.exe    $(_FLATRELEASEDIR)\filesys.exe     DRIVERS  SH
    

    These entries will tell romimage.exe to place the Graphics, Windowing, and Events Subsystem (GWES), and the File System in DRIVERS and to load these applications from this location in memory.

  7. To save your changes to platform.bib, from the File menu, choose Save.

See Also

How to Create an Image with Multiple XIP Regions | Config.bib Customization | Config.bib Checklist | Binary Image Builder File | MODULES Section | XIP Chain

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.