Xilinx / meta-xilinx-tools

Yocto Project layer enables AMD Xilinx tools related metadata for MicroBlaze, Zynq, ZynqMP and Versal devices.
MIT License
53 stars 51 forks source link

xsctbase.bbclass: Run xsct in the background #3

Closed dawithers closed 6 years ago

dawithers commented 6 years ago

Add export DISPLAY=:0 before evaluation of xsct in order to run xsct in the background and prevent xserver errors that may go unnoticed during certain tasks and cause issues further down the line.

mharth commented 6 years ago

Can you provide more details on why you need to set to DISPLAY =:0, what errors did you observe ?

mnsgs commented 6 years ago

It looks to be the fix/workaround Manju proposed three months ago to the issue I raised towards the mailing list: https://lists.yoctoproject.org/pipermail/meta-xilinx/2017-September/003162.html . I am puzzled a proper fix is not yet provided - it is a pain for us to maintain fixes downstream and I thus hope it will soon be fixed upstream (as in this particular project).

Thanks, Martin

mharth commented 6 years ago

See https://lists.yoctoproject.org/pipermail/meta-xilinx/2018-January/003541.html This patch should resolve the issue

mharth commented 6 years ago

https://github.com/Xilinx/meta-xilinx-tools/commit/ad0ce7496f2a2330230e99c33670e22106cd9997

Newer xsct (2018.1) can be done little differently on rocko release using HOSTTOOLS https://github.com/Xilinx/meta-xilinx-tools/commit/65ee3acd1e3e5a79c8ab8ce5dec765c5fbb69875