2016.4-2017.2 PetaLinux: Build failed due to "error "timeout while establishing a connection with SD

AR# 69812


ERROR: fsbl-2017.1+gitAUTOINC+3813f14966-r0 do_compile: Function failed: do_compile (log file is located at /home/wang/fpga_workspace/linux_sw/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.1+gitAUTOINC+3813f14966-r0/temp/log.do_compile.18247)
ERROR: Logfile of failure stored in: /home/wang/fpga_workspace/linux_sw/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.1+gitAUTOINC+3813f14966-r0/temp/log.do_compile.18247
Log data follows:
| DEBUG: Executing python function xsct_externalsrc_compile_prefunc
| NOTE: fsbl: compiling from external source tree /home/wang/petalinux/tools/hsm/data/embeddedsw
| DEBUG: Python function xsct_externalsrc_compile_prefunc finished
| DEBUG: Executing shell function do_compile
| Starting xsdk. This could take few seconds... Eclipse:
| An error has occurred. See the log file
| /home/wang/fpga_workspace/linux_sw/components/plnx_workspace/.metadata/.log.
| XSCTHELPER INFO: Empty WorkSpace
| Starting xsdk. This could take few seconds... Eclipse:
| An error has occurred. See the log file
| /home/wang/fpga_workspace/linux_sw/components/plnx_workspace/.metadata/.log.
| timeout while establishing a connection with SDK
|     while executing
| "error "timeout while establishing a connection with SDK""
|     (procedure "getsdkchan" line 111)
|     invoked from within
| "getsdkchan"
|     (procedure "projects" line 35)
|     invoked from within
| "projects -clean -type $type -name $name"
|     (procedure "clean_n_build" line 2)
|     invoked from within
| "clean_n_build bsp $params(bspname)"
|     invoked from within
| "if { $params(ws) ne "" } {
|     #Local Work Space available
|     setws $params(ws)
|     if { [catch {importprojects $params(ws)} result] } {
|         puts "XSCTHELPER IN..."
|     (file "/home/wang/fpga_workspace/linux_sw/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.1+gitAUTOINC+3813f14966-r0/app.tcl" line 120)
| WARNING: /home/wang/fpga_workspace/linux_sw/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.1+gitAUTOINC+3813f14966-r0/temp/run.do_compile.18247:1 exit 1 from 'eval xsct /home/wang/fpga_workspace/linux_sw/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.1+gitAUTOINC+3813f14966-r0/app.tcl -ws /home/wang/fpga_workspace/linux_sw/build/../components/plnx_workspace -pname fsbl -rp /home/wang/petalinux/tools/hsm/data/embeddedsw -do_compile 1'
| ERROR: Function failed: do_compile (log file is located at /home/wang/fpga_workspace/linux_sw/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.1+gitAUTOINC+3813f14966-r0/temp/log.do_compile.18247)
ERROR: Task (/home/wang/petalinux/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2368 tasks of which 1857 didn't need to be rerun and 1 failed.

以上错误的解决方案:

Solution

The following work-arounds can be used to overcome this issue

1) Increase the timeout in XSCT.

  • Create a file with name .xsdbrc in the $HOME directory
  • Add the line below in the .xsdbrc file

configparams-sdk-launch-timeout 180

2) Clean up using the following commands:

 rm -rf ~/.Xil
rm -rf ~/.Xilinx

Note: This error could be due to a resource constraint on the PC.

The minimum configuration required for PetaLinux tool installation is 8 cores and 8GB RAM (This is not corrected in 2016.4-2017.2 (UG1144) documentation).

Ideally one project should be built at a time.

If you want to run projects in parallel, set parallel threads and configure execution in petalinux-config->Yocto Settings to lower values which match your system configuration.


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值