How to Link/Load DKM projects with Kernel Image(VIP) project so that i can call the Entry point function of DKM project(application) from Kernel Image project's "usrAppInit.c" to get the application started automatically at boot time? Could some one please describe steps or point me to any documentation?
Linking DKM Projects to Kernel Image(VIP) project as a Sub project/Extra Module in VxWorks Workbench4
3.6k Views Asked by Sukum At
2
There are 2 best solutions below
0

An other solution to this problem without having the projects clubbed, Need to specify the DKM application's partial image ".o" object file path to the EXTRA_MODULES Macro rather than ".out" path. If for example the application is "myApp" , "myapp_partialImage.o" path should be specified in the Macro. Multiple paths can be specified in the Macro with the space if Multiple app needs to be linked
Using this approach, when you build the VIP, it will first build the child DKM projects (which will generate the .out files) then the VIP, generating a vxworks image that includes the .out files