Hi Martin,

> -----Original Message-----
> From: meta-xilinx-boun...@yoctoproject.org [mailto:meta-xilinx-
> boun...@yoctoproject.org] On Behalf Of Martin Siegumfeldt
> Sent: Thursday, August 31, 2017 5:02 PM
> To: meta-xilinx@yoctoproject.org
> Subject: [meta-xilinx] meta-xilinx-tools fails on "device-tree-generation" 
> script
> 
> Hi,
> 
> I am seeing the same issue, despite xvfb being installed. I am able run 
> xsdb/xsdk
> outside the build context.
> 
> martin@martin-Precision-5510:~/work/zcu102_os/build$ bitbake core-image-
> minimal
> Parsing recipes: 100%
> |###################################################################
> ####################################################################
> ####################################################################
> ###################################| Time: 0:00:51
> Parsing of 1799 .bb files complete (0 cached, 1799 parsed). 2597 targets, 167
> skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> 
> Build Configuration:
> BB_VERSION        = "1.35.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "ubuntu-17.04"
> TARGET_SYS        = "aarch64-poky-linux"
> MACHINE           = "zcu102-zynqmp"
> DISTRO            = "poky"
> DISTRO_VERSION    = "2.3+snapshot-20170831"
> TUNE_FEATURES     = "aarch64"
> TARGET_FPU        = ""
> meta
> meta-poky         = "master:489e2e3243d7acdcb9c1f9de110139b6636d5594"
> meta-oe
> meta-python       = "master:28d2c9b4474844516a9e8328bb497cdf3bec88ef"
> meta-xilinx       = "master:74a0d90e52cca346d05a69bbd628c6ec9e49fbcb"
> meta-xilinx-tools = "master:34e96ca0dfd2cfe101d07bc6db06fc9ae1629ce4"
> 
> NOTE: Fetching uninative binary shim from
> http://downloads.yoctoproject.org/releases/uninative/1.7/x86_64-nativesdk-
> libc.tar.bz2;sha256sum=ed033c868b87852b07957a4400f3b744c00aef5d6470346ea1
> a59b6d3e03075e
> 
> [10]+  Stopped                 bitbake core-image-minimal
> martin@martin-Precision-5510:~/work/zcu102_os/build$ vim ../meta-
> xilinx/conf/machine/include/machine-xilinx-default.inc
> martin@martin-Precision-5510:~/work/zcu102_os/build$ fg
> bitbake core-image-minimal
> Initialising tasks: 100%
> |###################################################################
> ####################################################################
> ####################################################################
> ################################| Time: 0:00:02
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> Currently  2 rCurrently  2 running tasks (1514 of 2461)  61%
> |###################################################################
> ####################################################################
> ####
> ERROR: device-tree-generation-xilinx+gitAUTOINC+43551819a1-r0 do_compile:
> Function failed: do_compile (log file is located at
> /home/martin/work/zcu102_os/build/tmp/work/zcu102_zynqmp-poky-linux/device-
> tree-generation/xilinx+gitAUTOINC+43551819a1-r0/temp/log.do_compile.18302)
> ERROR: Logfile of failure stored in:
> /home/martin/work/zcu102_os/build/tmp/work/zcu102_zynqmp-poky-linux/device-
> tree-generation/xilinx+gitAUTOINC+43551819a1-r0/temp/log.do_compile.18302
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | gcc: error: /home/martin/work/zcu102_os/build/tmp/work/zcu102_zynqmp-poky-
> linux/device-tree-generation/xilinx+gitAUTOINC+43551819a1-r0/build/device-tree-
> generation/system-top.dts: No such file or directory
> | gcc: warning: '-x assembler-with-cpp' after last input file has no effect
> | gcc: fatal error: no input files
> | compilation terminated.
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at
> /home/martin/work/zcu102_os/build/tmp/work/zcu102_zynqmp-poky-linux/device-
> tree-generation/xilinx+gitAUTOINC+43551819a1-r0/temp/log.do_compile.18302)
> ERROR: Task (/home/martin/work/zcu102_os/poky/../meta-xilinx-tools/recipes-
> bsp/device-tree/device-tree-generation_git.bb:do_compile) failed with exit 
> code '1'
> NOTE: Tasks Summary: Attempted 1719 tasks of which 6 didn't need to be rerun 
> and
> 1 failed.
> 
> Summary: 1 task failed:
>   /home/martin/work/zcu102_os/poky/../meta-xilinx-tools/recipes-bsp/device-
> tree/device-tree-generation_git.bb:do_compile
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> 
> martin@martin-Precision-5510:~/work/zcu102_os/build$ cat
> /home/martin/work/zcu102_os/build/tmp/work/zcu102_zynqmp-poky-linux/device-
> tree-generation/xilinx+gitAUTOINC+43551819a1-r0/temp/log.do_configure
> DEBUG: Executing shell function do_configure
> MISC_ARG is  -yamlconf
> /home/martin/work/zcu102_os/build/tmp/work/zcu102_zynqmp-poky-linux/device-
> tree-generation/xilinx+gitAUTOINC+43551819a1-r0/device-tree-generation.yaml
> APP_ARG is  -app "device-tree"
> cmd is: xsct /home/martin/work/zcu102_os/build/tmp/work/zcu102_zynqmp-poky-
> linux/device-tree-generation/xilinx+gitAUTOINC+43551819a1-r0/dtgen.tcl -ws
> /home/martin/work/zcu102_os/build/tmp/work/zcu102_zynqmp-poky-linux/device-
> tree-generation/xilinx+gitAUTOINC+43551819a1-r0/build -pname device-tree-
> generation -rp /home/martin/work/zcu102_os/build/tmp/work/zcu102_zynqmp-
> poky-linux/device-tree-generation/xilinx+gitAUTOINC+43551819a1-r0/git -
> processor psu_cortexa53_0 -hdf
> /home/martin/work/zcu102_os/build/tmp/deploy/images/zcu102-zynqmp/Xilinx-
> zcu102-zynqmp.hdf -arch 64  -app "device-tree"  -yamlconf
> /home/martin/work/zcu102_os/build/tmp/work/zcu102_zynqmp-poky-linux/device-
> tree-generation/xilinx+gitAUTOINC+43551819a1-r0/device-tree-generation.yaml
> Could not start Dummy XServer, please make sure Xvfb is available on the 
> system
> DEBUG: Shell function do_configure finished
> DEBUG: Executing python function do_qa_configure
> DEBUG: Python function do_qa_configure finished
> 

Something in upstream has changed causing DISPLAY variable not being passed 
from environment. They all fail saying Xvfb is not available. You can see the 
log.do_configure or log.do_compile

I will send a summarized email shortly on another thread  "How to boot the 
ZynqMP" 


Thanks,
Manju
-- 
_______________________________________________
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to