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

3778 단어 zynq
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.18247Log 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.

    좋은 웹페이지 즐겨찾기