Personal tools

VAR-SOM-MX25 Windows Image Build

From Variscite Wiki

Jump to: navigation, search

Image Build



The remaining steps to build an OS image follow the standard procedures described in the Platform Builder documentation. For more information, refer to the “Building a Run-Time Image” topic in the Windows Embedded CE 6.0 Help.

1 Build the BSP for the First Time

  • Open the sample solution.
  • Select the desired build type discussed in Section 3.1, “Image Build Type”.
  • Using the Build > Global Build Settings menu, configure the build options as follows:
    • Select Copy Files to Release Directory After Build
    • Select Make Run-Time Image After Build
  • Select Build > Advanced Build Commands > Sysgen to start the build process.

For a release build type, the resulting OS image files are placed in the following directory depending upon the OS design that is being used:

WINCE600\OSDesigns\VAR_MX25_REL\RelDir\ VAR_MX25_P_ARMV4I_Release

For a debug build type, the resulting OS image files are placed in the following directory:

WINCE600\OSDesigns\ VAR_MX25_REL\RelDir\ VAR_MX25_P_ARMV4I_Debug

2 Clean Build for the BSP

By default, the Platform Builder performs incremental builds of the BSP components, even during the Sysgen build procedure. It may be desirable under certain circumstances to force a clean build for the BSP. A clean build of the all the Freescale BSP components can be accomplished as follows:

  • Select Copy Files to Release Directory After Build.
  • Unselect Make Run-Time Image After Build.
  • Select Build > Advanced Build Commands > Rebuild Current BSP and Subprojects to perform a clean build of the BSP platform directory (including the SOC libraries) and complete the creation of a new OS image.

3 Incremental BSP Build

The Sysgen build phase results in pre-built OS component binaries being copied to the release directory for the current build configuration. It is not necessary to perform a Sysgen again unless components are being added or removed from the OS design. Instead, the user can perform an incremental build of the Freescale BSP components to quickly build an updated OS image as follows:

  • Open a solution.
  • Select the desired build type discussed in Section 3.1, “Image Build Type”.
  • Using the Build > Global Build Settings menu, configure the build options as follows:
  • Select Copy Files to Release Directory After Build
  • Select Make Run-Time Image After Build
  • Select Build > Advanced Build Commands > Build Current BSP and Subprojects to perform an incremental build of the BSP platform directory (including the SOC libraries) and complete the creation of an OS image.