[meta-xilinx] Problem with runqemu zcu102-zynqmp
SMITH Peter T
peter.t.smith at alstom.com
Tue Mar 14 07:32:39 PDT 2017
Found the problem, caused by adding
INHERIT += "rm_work"
To local.conf, with that removed all is well. I don't understand why but it works.
From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-bounces at yoctoproject.org] On Behalf Of SMITH Peter T
Sent: 14 March 2017 14:00
To: meta-xilinx at yoctoproject.org
Subject: Re: [meta-xilinx] Problem with runqemu zcu102-zynqmp
Bit more information, runqemu seems to override some stuff and then looks for tunctl in a directory that does not exist !
From: meta-xilinx-bounces at yoctoproject.org<mailto:meta-xilinx-bounces at yoctoproject.org> [mailto:meta-xilinx-bounces at yoctoproject.org] On Behalf Of SMITH Peter T
Sent: 14 March 2017 13:37
To: meta-xilinx at yoctoproject.org<mailto:meta-xilinx at yoctoproject.org>
Subject: [meta-xilinx] Problem with runqemu zcu102-zynqmp
Hi
I am using master branches of poky and meta-xilinx and trying to build core-image-minimal for zcu102-zynqmp machine.
When I try to use QEMU (the Xilinx one) I get the following error, has anyone seen this or can help.
I have tried bitbake qemu-helper-native to no avail.
peter at peter-VirtualBox:/sdd/peter/Yocto/CSPRT/build$ runqemu zcu102-zynqmp
runqemu - INFO - Assuming MACHINE = zcu102-zynqmp
runqemu - INFO - Running MACHINE=zcu102-zynqmp bitbake -e...
runqemu - INFO - MACHINE: zcu102-zynqmp
runqemu - INFO - DEPLOY_DIR_IMAGE: /sdd/peter/Yocto/CSPRT/build/tmp/deploy/images/zcu102-zynqmp
runqemu - INFO - Running ls -t /sdd/peter/Yocto/CSPRT/build/tmp/deploy/images/zcu102-zynqmp/*.qemuboot.conf...
runqemu - INFO - CONFFILE: /sdd/peter/Yocto/CSPRT/build/tmp/deploy/images/zcu102-zynqmp/core-image-minimal-zcu102-zynqmp-20170314114555.qemuboot.conf
runqemu - INFO - Overriding conf file setting of STAGING_DIR_NATIVE to /sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native from Bitbake environment
runqemu - INFO - Overriding conf file setting of STAGING_BINDIR_NATIVE to /sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin from Bitbake environment
runqemu - INFO - Continuing with the following parameters:
KERNEL: []
MACHINE: [zcu102-zynqmp]
FSTYPE: [cpio.gz.u-boot]
ROOTFS: [/sdd/peter/Yocto/CSPRT/build/tmp/deploy/images/zcu102-zynqmp/core-image-minimal-zcu102-zynqmp-20170314114555.rootfs.cpio.gz.u-boot]
CONFFILE: [/sdd/peter/Yocto/CSPRT/build/tmp/deploy/images/zcu102-zynqmp/core-image-minimal-zcu102-zynqmp-20170314114555.qemuboot.conf]
runqemu - INFO - Running /sbin/ip link...
runqemu - INFO - Setting up tap interface under sudo
[sudo] password for peter:
Sorry, try again.
[sudo] password for peter:
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/Error: Unable to find tunctl binary in '/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin', please bitbake qemu-helper-native.lock...
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/Error: Unable to find tunctl binary in '/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin', please bitbake qemu-helper-native.lock failed: [Errno 2] No such file or directory: "/tmp/qemu-tap-locks/Error: Unable to find tunctl binary in '/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin', please bitbake qemu-helper-native.lock"
runqemu - INFO - Created tap: Error: Unable to find tunctl binary in '/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin', please bitbake qemu-helper-native
runqemu - INFO - Running sudo /sdd/peter/Yocto/CSPRT/sources/poky/scripts/runqemu-ifdown Error: Unable to find tunctl binary in '/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin', please bitbake qemu-helper-native /sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native
sudo runqemu-ifdown <tap-dev> <native-sysroot-basedir>
Traceback (most recent call last):
File "/sdd/peter/Yocto/CSPRT/sources/poky/scripts/runqemu", line 1178, in <module>
ret = main()
File "/sdd/peter/Yocto/CSPRT/sources/poky/scripts/runqemu", line 1169, in main
config.setup_network()
File "/sdd/peter/Yocto/CSPRT/sources/poky/scripts/runqemu", line 936, in setup_network
self.setup_tap()
File "/sdd/peter/Yocto/CSPRT/sources/poky/scripts/runqemu", line 909, in setup_tap
tapnum = int(tap[3:])
ValueError: invalid literal for int() with base 10: "or: Unable to find tunctl binary in '/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin', please bitbake qemu-helper-native"
Peter Smith
Principal Engineer, Chief Engineering, Grid Solutions
T +44 1785 786406
________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20170314/4b7b8663/attachment.html>
More information about the meta-xilinx
mailing list