ERROR: Function failed: do_configure

AR# 69812
2016.4-2017.2 PetaLinux: Build failed due to "error “timeout while establishing a connection with SDK”’

PetaLinux build can fail with the following timeout error in XSCT:
DEBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: Executing shell function do_configure
MISC_ARG is -yamlconf /tmp/4x10GE-2017.09.12-16.17.33/work/plnx_aarch64-xilinx-linux/fsbl/2017.2+gitAUTOINC+122565ec40-r0/fsbl.yaml
APP_ARG is -app “Zynq MP FSBL”
cmd is: xsct /tmp/4x10GE-2017.09.12-16.17.33/work/plnx_aarch64-xilinx-linux/fsbl/2017.2+gitAUTOINC+122565ec40-r0/app.tcl -ws /home/bryanloz/ZCU102_4PES/4x10GE-Switch/Petalinux/4x10GE/build/…/components/plnx_workspace -pname fsbl -rp /proj/petalinux/released/Petalinux-v2017.2/petalinux-v2017.2_0619_1/tools/hsm/data/embeddedsw -processor psu_cortexa53_0 -hdf /tmp/4x10GE-2017.09.12-16.17.33/deploy/images/plnx_aarch64/Xilinx-plnx_aarch64.hdf -arch 64 -app “Zynq MP FSBL” -yamlconf /tmp/4x10GE-2017.09.12-16.17.33/work/plnx_aarch64-xilinx-linux/fsbl/2017.2+gitAUTOINC+122565ec40-r0/fsbl.yaml
Starting xsdk. This could take few seconds… Eclipse:
An error has occurred. See the log file
/home/bryanloz/ZCU102_4PES/4x10GE-Switch/Petalinux/4x10GE/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/bryanloz/ZCU102_4PES/4x10GE-Switch/Petalinux/4x10GE/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 “::sdk::set_user_repo_path_sdk” line 16)
invoked from within
“::sdk::set_user_repo_path_sdk $params(set)”
(procedure “repo” line 27)
invoked from within
“repo -set $path”
invoked from within
"if { $params(ws) ne “” } {
#Local Work Space available
setws $params(ws)
if { [catch {importprojects $params(ws)} result] } {
puts “XSCTHELPER IN…”
(file “/tmp/4x10GE-2017.09.12-16.17.33/work/plnx_aarch64-xilinx-linux/fsbl/2017.2+gitAUTOINC+122565ec40-r0/app.tcl” line 120)
WARNING: /tmp/4x10GE-2017.09.12-16.17.33/work/plnx_aarch64-xilinx-linux/fsbl/2017.2+gitAUTOINC+122565ec40-r0/temp/run.do_configure.22432:1 exit 1 from ‘eval xsct /tmp/4x10GE-2017.09.12-16.17.33/work/plnx_aarch64-xilinx-linux/fsbl/2017.2+gitAUTOINC+122565ec40-r0/app.tcl -ws /home/bryanloz/ZCU102_4PES/4x10GE-Switch/Petalinux/4x10GE/build/…/components/plnx_workspace -pname fsbl -rp /proj/petalinux/released/Petalinux-v2017.2/petalinux-v2017.2_0619_1/tools/hsm/data/embeddedsw -processor psu_cortexa53_0 -hdf /tmp/4x10GE-2017.09.12-16.17.33/deploy/images/plnx_aarch64/Xilinx-plnx_aarch64.hdf -arch 64 ${APP_ARG} ${MISC_ARG}’
ERROR: Function failed: do_configure (log file is located at /tmp/4x10GE-2017.09.12-16.17.33/work/plnx_aarch64-xilinx-linux/fsbl/2017.2+gitAUTOINC+122565ec40-r0/temp/log.do_configure.22432)

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

  1. 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
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值