[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=ed033c868b87852b07957a4400f3b744c00aef5d6470346ea1a59b6d3e03075e [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/d
Re: [meta-xilinx] How to boot the ZynqMP?
Hi Mike, > -Original Message- > From: Mike Looijmans [mailto:mike.looijm...@topic.nl] > Sent: Thursday, August 31, 2017 10:52 AM > To: Brian Hutchinson ; Manjukumar Harthikote Matha > > Cc: Giordon Stark ; Jean-Francois Dagenais > ; meta-xilinx@yoctoproject.org > Subject: Re: [meta-xilinx] How to boot the ZynqMP? > > On 30-08-17 22:20, Brian Hutchinson wrote: > > I too have been wrestling with generating the required images to boot > > the > > ZCU102 from SD Card using the Yocto + meta-xilinx + meta-xilinx-tools > > method. > > > > I'm totally striking out. And I'm working with a Xilinx FAE and > > striking out! No problem at all doing this kind of thing for ZCU107 > > or Zedboard but > > ZCU102 is different beast for sure. > > > > I have Ubuntu 16.04 box, I've tried yocto 2.2.1 (morty) and 2.3 (pyro) > > and I get the same result ... my builds die with: > > > ... > > | DEBUG: Executing shell function do_deploy > > | install: cannot stat > > '/home/hutch/yocto_2.2.1- > morty_zcu102/layers/poky/build/tmp/work/zcu102_zynqmp-poky-linux/pmu- > firmware/2017.1+gitAUTOINC+122565ec40-r0/build/pmu-firmware/Release/pmu- > firmware.elf': > > No such file or directory > > > Most likely the problem is that the "Release" directory was not created yet. > I have > seen this race condition several times in makefiles. > As a workaround, add a do_compile_prepend with "mkdir Release" or so. > > However, this seems to happen in the "do_install" phase, so that's probably > not the > case here. > > Another issue can be that actually the "compile" failed. Most of Xilinx' > tools don't > return error codes, so bitbake thinks everything went fine but it didn't > actually > produce outputs. And since do_compile was okay, it won't run again and install > keeps failing. > > Add a do_compile_append() that contains something like: > test -e Release/pmu-firmware.elf > and that would cause do_compile to fail if there's no output. > I think this patch fixes the issue you are mentioning https://github.com/Xilinx/meta-xilinx-tools/commit/ecb804aeb5f23156e36e32085a229883944b0b47 Thanks, Manju -- ___ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx
Re: [meta-xilinx] [meta-xilinx-tools]Nothing PROVIDES 'python3-pyyaml-native'.
Hi Brett, > -Original Message- > From: meta-xilinx-boun...@yoctoproject.org [mailto:meta-xilinx- > boun...@yoctoproject.org] On Behalf Of Brett R. Nicholas > Sent: Wednesday, August 30, 2017 7:51 PM > To: meta-xilinx@yoctoproject.org > Subject: [meta-xilinx] [meta-xilinx-tools]Nothing PROVIDES > 'python3-pyyaml-native'. > > Hi there, > > > I'm trying to build a (once working) Yocto distribution for the Zedboard. > When I went > back to the project, and attempted to build core-image-minimal I get this > error: > > brett: build $ bitbake core-image-minimal Loading cache: 100% > |### > #| Time: 0:00:00 Loaded 2616 entries from > dependency cache. > Parsing recipes: 100% > |### > ###| Time: 0:00:00 Parsing of 1923 .bb files > complete (1918 cached, 5 parsed). 2621 targets, 153 skipped, 0 masked, 0 > errors. > NOTE: Resolving any missing task queue dependencies > ERROR: Nothing PROVIDES 'python3-pyyaml-native'. Close matches: > python-pyyaml-native > python3-py-native > python-py-native > ERROR: Required build target 'core-image-minimal' has no buildable providers. > Missing or unbuildable dependency chain was: ['core-image-minimal', > 'virtual/bootloader', 'virtual/dtb', 'python3-pyyaml-native'] > > Summary: There were 2 ERROR messages shown, returning a non-zero exit code. > > > > I've seen this post here > (https://lists.yoctoproject.org/pipermail/meta-xilinx/2017- > April/002717.html). Can I still apply this patch if I am not using the > meta-petalinux > layer? Please let me know how I can patch it. > Use http://cgit.openembedded.org/meta-openembedded/tree/meta-python layer, it should get the pyyaml dependency Thanks, Manju -- ___ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx