11-14-2013 01:03 PM
If we export an XPS project to SDK tool, part of what is auto-generated is "libxil.a" and its source code (.c/.h files). The source can be compiled in Workbench using the gnu toolchain, but not if we try to use diab toolchain. The source appears to be specific to the gnu toolchain (conditional #ifdef includes etc. that only succeed in the gnu-based project). The question: is there a way to specify which compiler the auto-generated code is for? We want to use diab, not gnu.
The Board Support Package Properties dialog has some items we might modify, but what are the legitimate values for the compiler field, and does that have to be specified anywhere else as well?
I feel pretty sure this can be done, because the Xilinx reference BSP for VxWorks uses the diab toolchain (!). How was this done?
11-15-2013 09:58 PM
To summarize, you would want to use diab compiler rather than gnu.
To do this, you have to modify the makefile generated in SDK. This is provided in the page 4 of this doc
11-18-2013 09:57 AM
This refers to a BSP for VxWorks 6.3 (rather outdated). I think we are using version 14.3 of the Xilinx tools (14.something, anyway). We can't find a way to have the SDK automatically generate a VxWorks 6.9 BSP -- or any VxWorks BSP of any version whatsoever, only the "standalone" BSP seems to be selectable. How can we automatically generate a VxWorks 6.9 BSP? And once that's done, I think it would be easy to change the toolchain (this can be done either as you suggest by modifying the makefile or by specifying the toolchain when creating a new project in Workbench).
Has Xilinx removed the capability of having the SDK generate a VxWorks BSP?
11-22-2013 05:04 PM
SDK still allows to generate a BSP for Vxworks. The version however is Vxworks 6.7
This is given in the page 1 of http://www.xilinx.com/support/documentation/sw_manuals/xilinx14_3/oslib_rm.pdf
So if you have a PPC based design, you should be able to select Vxworks 6.7 in SDK.
This is seen here attached with this post.
12-02-2013 07:47 AM
Thanks for the additional information. Our board is based on the Zync board ZC702, so we are using the ARM processor. Is the same thing possible for this architecture?