UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
1,186 Views
Registered: ‎07-17-2018

ZC706 BCP rebuild error

Jump to solution

I try to rebuild petalinux BSP on UG977.
I had error below. Do you guys know solution?

 

<Enviroment>

workstation :Ubuntu 16.04.4 LTS 64bit
PetaLinux tool:2017.4
BSP :ZC706 v2017.4

 

<error log>

jrce@ubuntu:~/zc706/xilinx-zc706-2017.4$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
[INFO] generating kconfig for Rootfs
Generate rootfs kconfig
[INFO] oldconfig rootfs
[INFO] generating petalinux-user-image.bb
INFO: bitbake petalinux-user-image
Loading cache: 100% |############################################| Time: 0:00:01
Loaded 3257 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:04
Parsing of 2466 .bb files complete (2434 cached, 32 parsed). 3259 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#######################################| Time: 0:00:14
Checking sstate mirror object availability: 100% |###############| Time: 2:45:37
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: fsbl-2017.4+gitAUTOINC+77448ae629-r0 do_configure: Function failed: do_configure (log file is located at /home/jrce/zc706/xilinx-zc706-2017.4/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/temp/log.do_configure.12499)
ERROR: Logfile of failure stored in: /home/jrce/zc706/xilinx-zc706-2017.4/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/temp/log.do_configure.12499
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| MISC_ARG is -yamlconf /home/jrce/zc706/xilinx-zc706-2017.4/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/fsbl.yaml
| APP_ARG is -app "Zynq FSBL"
| cmd is: xsct /home/jrce/zc706/xilinx-zc706-2017.4/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/app.tcl -ws /home/jrce/zc706/xilinx-zc706-2017.4/build/../components/plnx_workspace/fsbl -pname fsbl -rp /home/jrce/zynq/petalinux/tools/hsm/data/embeddedsw -processor ps7_cortexa9_0 -hdf /home/jrce/zc706/xilinx-zc706-2017.4/build/tmp/deploy/images/plnx_arm/Xilinx-plnx_arm.hdf -arch 32 -app "Zynq FSBL" -yamlconf /home/jrce/zc706/xilinx-zc706-2017.4/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/fsbl.yaml
| Starting xsdk. This could take few seconds... Picked up _JAVA_OPTIONS: -Duser.home=/home/jrce/zc706/xilinx-zc706-2017.4/build/tmp/xsctenv
| Eclipse:
| An error has occurred. See the log file
| /home/jrce/zc706/xilinx-zc706-2017.4/components/plnx_workspace/fsbl/.metadata/.log.
| Eclipse:
| GTK+ Version Check
| XSCTHELPER INFO: Empty WorkSpace
| Starting xsdk. This could take few seconds... Picked up _JAVA_OPTIONS: -Duser.home=/home/jrce/zc706/xilinx-zc706-2017.4/build/tmp/xsctenv
| Eclipse:
| An error has occurred. See the log file
| /home/jrce/zc706/xilinx-zc706-2017.4/components/plnx_workspace/fsbl/.metadata/.log.
| Eclipse:
| GTK+ Version Check
| 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 "/home/jrce/zc706/xilinx-zc706-2017.4/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/app.tcl" line 120)
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/jrce/zc706/xilinx-zc706-2017.4/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/temp/log.do_configure.12499)
ERROR: Task (/home/jrce/zynq/petalinux/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2389 tasks of which 1884 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/jrce/zynq/petalinux/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb:do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to build project

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Contributor
Contributor
963 Views
Registered: ‎07-17-2018

Re: ZC706 BCP rebuild error

Jump to solution

Hi all, the problem was solved. Thank you for replying.

 

I tryed to reinstall Ubuntu in virtual box.

Last time I installed Ubuntu server edition(CUI) and this time I install Ubuntu desktop edition(GUI).

 

That's all the difference this time and last time.

 

What's important difference Ubuntu GUI and CUI for petalinux?

 

Best Regards

Jrceokura

0 Kudos
8 Replies
Moderator
Moderator
1,140 Views
Registered: ‎12-04-2016

Re: ZC706 BCP rebuild error

Jump to solution

Hi 

 

Make sure you have enough space in the directory where you are building this project. Try clearing the disk space and see if it builds

 

 

Best Regards

Shabbir

Moderator
Moderator
1,108 Views
Registered: ‎02-07-2018

Re: ZC706 BCP rebuild error

Jump to solution

HI Jrceokura,

 

Try below commands, I hope it should solve. 

 

petalinux-build -x mrproper

petalinux-config   --> save and exit 

 petalinux-build

 

Thanks & regards

Aravind

Contributor
Contributor
1,078 Views
Registered: ‎07-17-2018

Re: ZC706 BCP rebuild error

Jump to solution

Hi shabbirk, thank you for your answer.

 

I make sure space use df command. Result is below.

It's a enough space to bulid project. It's bigger than the size that Minimum workstation requirements(5GB) on UG976.

 

-------------------------------------------------------

jrce@ubuntu:~/zc706$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 99G 36G 58G 39% /

-------------------------------------------------------

 

Best Regards

Jrceokura

0 Kudos
Moderator
Moderator
1,076 Views
Registered: ‎12-04-2016

Re: ZC706 BCP rebuild error

Jump to solution

Hi @jrceokura

 

See if this answer record helps you?

https://www.xilinx.com/support/answers/69812.html

 

 

Best Regards

Shabbir

Contributor
Contributor
1,069 Views
Registered: ‎07-17-2018

Re: ZC706 BCP rebuild error

Jump to solution

Hi Aravind, thank you for your answer.

 

I try commands you gave.

I can't solve the problem. Build error log is same.

 

Best Regards

Jrceokura

0 Kudos
Contributor
Contributor
1,053 Views
Registered: ‎07-17-2018

Re: ZC706 BCP rebuild error

Jump to solution

Hi Shabbir, thank you for your answer.

 

I try solution AR# 69812(commands is below). but I can't solve the problem. Build error log is same.

 

  -------------------------------------------------------

  vi .xsdbrc  => create new file, and add "configparams-sdk-launch-timeout"

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

  -------------------------------------------------------

 

Best Regards

Jrceokura

0 Kudos
Contributor
Contributor
1,035 Views
Registered: ‎07-17-2018

Re: ZC706 BCP rebuild error

Jump to solution

Hi all, I tryed to solve the problem by configuring Petalinux tool.

 

When I configure bootloader, error log that is identical with rebuild error log output.

 

<command I did>

petalinux-config -c bootloader

0 Kudos
Highlighted
Contributor
Contributor
964 Views
Registered: ‎07-17-2018

Re: ZC706 BCP rebuild error

Jump to solution

Hi all, the problem was solved. Thank you for replying.

 

I tryed to reinstall Ubuntu in virtual box.

Last time I installed Ubuntu server edition(CUI) and this time I install Ubuntu desktop edition(GUI).

 

That's all the difference this time and last time.

 

What's important difference Ubuntu GUI and CUI for petalinux?

 

Best Regards

Jrceokura

0 Kudos