[meta-xilinx] Can Xilinx SDK (XSDK - Eclipse IDE) be integrated    with Yocto SDK?

Andrey Filippov andrey at elphel.com
Wed Jan 25 15:37:33 PST 2017


Hello Brian,

You may look at our approach ( https://github.com/Elphel/elphel393 ) - we use Yocto and Eclipse with Zynq-based product, but not Yocto plugin or Xilinx SDK.

We use Eclipse with Yocto for Linux kernel (drivers) development. A Python program (https://github.com/Elphel/linux-elphel/blob/master/khelper.py) helps to detect - which kernel files are actually used in the current configuration (it first prepares source tree by resetting file access timestamps, then we separately run "bitbake linux-xlnx -c compile" and then run program again to find out - which files were used and update CDT .cproject file. When done - Eclipse would not produce any false-positives for errors and warnings - just for the legitimate ones.

The same approach we use for applications - similar setup for EclipseCDT projects.

We replace all "make" for build in CDT with wrapped bitbake commands, that eliminates mismatch between what is done with bitbake and what is done with toolchain called from Eclipse directly.

And we use the same Eclipse for FPGA development too:

FPGA (Verilog) project - https://github.com/Elphel/x393 : zero "black boxes", simulated with Icarus Verilog and Cocotb http://blog.elphel.com/2016/07/i-will-not-have-to-learn-systemverilog/

development environment - https://github.com/Elphel/vdt-plugin

Relevant parameters from the Verilog code are exported as C header files (http://blog.elphel.com/2016/03/synchronizing-verilog-python-and-c/) to be used with https://github.com/Elphel/linux-elphel

Andrey

 
---- On Wed, 25 Jan 2017 14:06:35 -0800 Brian Hutchinson<b.hutchman at gmail.com> wrote ---- 

I build custom SDK's with Yocto for various products and development 
teams around the globe for our company. 
 
To date, the application developers that install and use my Yocto 
based SDK have been using Makefile based build systems for their 
application code. 
 
I'm starting to get requests for IDE support. Yocto has a plugin for 
Eclipse so I can take a toolchain and sysroot from the SDK and make it 
work with Eclipse IDE. 
 
Can the same thing be done with Xilinx SDK/Eclipse IDE? Is there a 
way to make the IDE aware of the sysroot and toolchain etc.? 
 
In the past year I have picked up three flavors of Xilinx products to 
support. I've been able to make Yocto based custom SDK's (based on 
meta-xilinx) specific to these products that work fine with Makefile 
build systems for the Application but I'm not all that experienced yet 
with the Xilinux SDK way of doing things. 
 
I would like to continue to use the Yocto flow we've been using for 
years and treat these Xilinx platforms the same way I do everything 
else but also would like to be able to support folks that want to use 
the Xilinx SDK. 
 
Regards, 
 
Brian 
-- 
_______________________________________________ 
meta-xilinx mailing list 
meta-xilinx at yoctoproject.org 
https://lists.yoctoproject.org/listinfo/meta-xilinx 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20170125/bba5b2ee/attachment.html>


More information about the meta-xilinx mailing list