UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor ibmldev
Visitor
14,854 Views
Registered: ‎07-24-2013

Compiler specification for export of BSP

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?

0 Kudos
5 Replies
Xilinx Employee
Xilinx Employee
14,839 Views
Registered: ‎08-02-2007

Re: Compiler specification for export of BSP

Hi,

 

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

 

http://www.cs.indiana.edu/hmg/le/project-home/xilinx/ise_13.2/ISE_DS/EDK/sw/ThirdParty/bsp/vxworks6_3_v1_01_a/doc/vxworks6_3.pdf

 

--HS

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
Visitor ibmldev
Visitor
14,820 Views
Registered: ‎07-24-2013

Re: Compiler specification for export of BSP

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?

0 Kudos
Xilinx Employee
Xilinx Employee
14,795 Views
Registered: ‎08-02-2007

Re: Compiler specification for export of BSP

Hi,

 

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.

 

--Hem

 

 

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
Vxworks_14.3.png
Visitor ibmldev
Visitor
14,766 Views
Registered: ‎07-24-2013

Re: Compiler specification for export of BSP

Hem,

 

  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?

 

Thanks,

 

--Mark

0 Kudos
Visitor ic1002chenxu
Visitor
6,526 Views
Registered: ‎05-06-2015

Re: Compiler specification for export of BSP

Why is there no available other OS except xilkernel and standalone?

2015-05-07 13:32:20屏幕截图.png
0 Kudos