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: 
Scholar muravin
Scholar
3,105 Views
Registered: ‎11-21-2013

VIVADO 2014.1 - SDK in headless mode, cannot build

Hello All,

 

This is my first attempt to run the SDK 2014.1 in a headless mode as I understand appguru is a no-go with VIVADO 2014.1, Linux x64.

 

What am I missing here? A Linux package? Yet another bug in VIVADO or Eclipse?

 

I have created an xml file as an XSDK input script and it succesfully builds a) the project, b) the bsp and c) the app (Empty Appl.)

 

That is, I have followed:

http://www.xilinx.com/support/documentation/sw_manuals/xilinx2014_1/SDK_Doc/concepts/sdk_c_headless_mode.htm

 

As a result, after running " xsdk -script temp.xml --workspace temp_workspace "  I am having the following directory structure:

 

/temp_workspace/

/temp_workspace/eclipse_bsp

/temp_workspace/eclipse_app

/temp_workspace/eclipse_app/src

 

Furthermore, I copied the c/h files we are using for our software to be compiled into a Microblaze, and I am trying to build the application. I always get an error.

 

For example, if I build the application, after I run:

 

$ECLIPSE -vm $VM -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -build $APPNAME -data $WSPACE-vmargs -Dorg.eclipse.cdt.core.console=org.eclipse.cdt.core.systemConsole

I get an error in a pop-up Window (see below)

 

JVM terminated. Exit code=1
/opt/Xilinx/SDK/2014.1/tps/lnx64/jre/bin/java
-XX:MaxPermSize=256m
-Xms64m
-Xmx512m
-jar /opt/Xilinx/SDK/2014.1/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86_64
-launcher /opt/Xilinx/SDK/2014.1/eclipse/lnx64.o/eclipse
-name Eclipse
--launcher.library /opt/Xilinx/SDK/2014.1/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807/eclipse_1502.so
-startup /opt/Xilinx/SDK/2014.1/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 267d00a4
-application org.eclipse.cdt.managedbuilder.core.headlessbuild
-build eclipse_app
-data temp_workspace-vmargs
-Dorg.eclipse.cdt.core.console=org.eclipse.cdt.core.systemConsole
-vm /opt/Xilinx/SDK/2014.1/tps/lnx64/jre/bin/java
-vmargs
-XX:MaxPermSize=256m
-Xms64m
-Xmx512m
-jar /opt/Xilinx/SDK/2014.1/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar

 

BR

Vlad

Vladislav Muravin
0 Kudos
2 Replies
Scholar stephenm
Scholar
3,060 Views
Registered: ‎05-06-2012

Re: VIVADO 2014.1 - SDK in headless mode, cannot build

Attached is a headless mode script tat you can use as a reference. tjis will build a BSP, FSBL, and a hello world app. you can see the command used in my_SDKproj.xml

0 Kudos
Scholar muravin
Scholar
3,052 Views
Registered: ‎11-21-2013

Re: VIVADO 2014.1 - SDK in headless mode, cannot build

Steve,

 

Thanks for your response.

 

I jumped straight to 2014.2 once it came out, and just now finished bypassing new issues introduced by the latest version.

 

Your script is indifferent from mine but I am on Linux x64, and I wonder now, since the XML file no longer exported, how do I run the headless mode with VIVADO 2014.2?

 

SDK 2014.2 help offers no examples as related to 2014.2, the help is dated for 2014.1; can you please help out with that? Should I add hwh file now instead of xml?

 

Thanks!

Vlad

Vladislav Muravin
0 Kudos