VxWorks Source Build and Image Projects

VxWorks Source Build and Image Projects

Learning Objectives

After this section you will be able to:

  • Create a VSB
  • Create a VIP
  • Understand the different configuration options for a VSB and VIP

The center of every VxWorks project is the VxWorks source build and image projects.

The VSB and VIP have a variety of customization options to suit any project type.

VSB configuration options

The VSB project facility provides an extensive set of options that you can select to configure a VSB project.

  • BSP-specific optimizations (such as floating-point support)
  • System Viewer instrumentation
  • Real-time processes
  • Object management
  • Symmetric multiprocessor (SMP)
  • Debug mode
  • Advanced options

Parallel Builds

VxWorks Parallel Build

The parallel builds feature uses Make to create extra threads of execution and invoke the compiler or other build rules in those extra threads.

This process makes use of both RAM and the CPU, and relies on the Symmetric Multiprocessor scheduler.

This option can be disable in the build console as it can consume a lot of system resources.

VIP Standard Profile Options

During the last step of creating a VIP you must select a configuration profile. These will add or remove kernel libraries from the image, giving you a quick starting point.

PROFILE_BOOTAPP

This profile adds RAM-based bootloader functionality to a standard VxWorks image.

PROFILE_BOOTROM

This profile adds ROM-based bootloader functionality to a standard VxWorks image.

PROFILE_DEVELOPMENT

This profile adds development and debugging components to the VxWorks image.

PROFILE_HARDENED

This profile will configure a VxWorks kernel image with security-hardened features.

PROFILE_MINIMAL

This profile will tune the configuration with the goal of producing the smallest possible VxWorks kernel image.

  • In VxWorks you might see the term STANDALONE referring to a profile, a library, and more. This term means that the project is embedded and does not need a network connection to run.