Share via


Config.bib Checklist (Windows CE 5.0)

Send Feedback

The following is a checklist of items that must appear in Config.bib to produce a multiple XIP image:

  • Define the XIP.

    All XIP regions must be in the order in which they appear in Config.bib.

  • Establish the XIP chain by adding the following lines to the MEMORY section from the sample Config.bib.

    The reserve section for the chain file must be the first region in the image.

    #define XIPLOC_PHYSICAL A02C0000  ;  Location of the chain
    RESERVE  $(XIPLOC_PHYSICAL)   00002000   ;   CHAIN
    pdwXIPLoc 00000000 $(XIPLOC_PHYSICAL) FIXUPVAR
    
  • Set the following lines in Config.bib in the CONFIG section.

    XIPSCHAIN= $(XIPLOC_PHYSICAL)
    
  • Define the required fixup variables in the MEMORY section: pdwXIPLoc.

    This is defined in the sample Config.bib.

  • Reserve a region of RAM for that code and set the fixup variable to point to it, if you are using a RAM region for the flash code like the sample OAL does.

    FLASHFN    8c082000  00001000  RESERVED
    dwFshFnRsvd 00000000 8c082000 FIXUPVAR
    

    Fix the dwFshFnRsvd variable so that it is at the same address as the region reserved for the chain file. In the code, add the value of ROM_CHAIN_OFFSET to the variable to dereference the chain location. This should look like dwFshFnRsvd += ROM_CHAIN_OFFSET in the code.

If you begin with the sample Config.bib, most of the programming is done for you.

See Also

Building an Image with Multiple XIP Regions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.