Search code examples
configurationkernelvxworkstoolchain

What are the output files of the VxWorks Workbench kernel configuration GUI


I'm trying to generate a VxWorks 6.9.4.8 kernel configuration that is identical to another kernel workbench project. The Workbench 3.3.6 only allows GUI configuration.

Is there an underlying kernel configuration file, produced by the GUI, which can be replaced?

After updating the kernel configuration using the Workbench GUI, I see the following files have changed:

  • linkSyms.c,
  • prjComps.h,
  • prjConfig.c, and
  • prjParams.h

I guess my question is, which one, if any uniquely identifies the kernel as built?


Solution

  • prjComps.h will contain all the component's names, as you have chosen in your kernel configuration GUI.

    First step to create new Kernel configuration based on some other Kernel configuration is to use GUI configurator and add the missing component in prjComps.h, Better use some diff tool like 'beyond compare', and keep reducing the differences by adding/removing the components. Remember not to edit this file directly, but via GUI configurator only. As the tool calculates the dependent component and adds/removes them. Second step is to create the new prjParams.h as above.

    The Workbench actually allows to use command line to edit Kernel configuration via vxprj tool in vxworks 6.9(this tool has been replaced by "wrtool" in vxworks 7), you can right click on the Image project and chose 'Open Wind River vxWorks 6.9 Developement Shell'.

    If you want to add a component for e.g. telnet client (INCLUDE_TELNET_CLIENT) , you can use the following command

     vxprj component add INCLUDE_TELNET_CLIENT 
    

    To remove a component

     vxprj component remove INCLUDE_TELNET_CLIENT 
    

    For more of vxprj tool, you can look up the documentation in the workbench itself.