2016.4-2017.2 PetaLinux: Build failed due to "error "timeout while establishing a connection with SD
2018-03-14 11:00
1736 查看
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 issue1) 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 1802) Clean up using the following commands: rm -rf ~/.Xil
rm -rf ~/.XilinxNote: 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.
相关文章推荐
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005
- 模拟器不能运行 Failed to start emulator: Cannot run program "/home/kroaity/Downloads/android-sdk-linux//tools/emulator": error=2
- DRP问题集结(二)---【Error】JavaWeb: 严重: Failed to initialize end point associated with ProtocolHandler ["ht
- 【Error】JavaWeb: 严重: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]
- Retrieving the COM class factory for component with CLSID … failed due to the following error: 80070005.
- a network-related or instance-specific error occurred while establishing a connection to sql
- Retrieving the COM class factory for component with CLSID {000209FF-XXX} failed due to the following error: 80070005 Access is denied.
- COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
- ClickOnce报错的解决:VS 2010 RTM returns Error: "Cannot publish because a project failed to build"
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
- Failed to apply package protection with error 0xC0014061 "The protection level, ServerStorage, cannot be used when savin
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vqeCP7/Django/
- ClickOnce报错的解决:VS 2010 RTM returns Error: "Cannot publish because a project failed to build"
- Windows Phone Deployment Error - "Deployment optimization failed due to an invalid assembly"
- linux -mongodb 启动问题(Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed : )
- Action.c(28): Error -27796: Failed to connect to server "xxxx": [10060] Connection timed out 问题分析 分类
- Installing the PostgreSQL gem with 'gem pq' fails with ERROR: Failed to build gem native extension
- 【已解决】Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-GFFuD_/ipython/
- Error while preforming database login with the "sqlserver" driver Unable to create...
- a network-related or instance-specific error occurred while establishing a connection to sql server