![]() The above runs a 32-bit kernel, if you were already running 64-bit Raspbian use the arm64 kernel instead and replace qemu-system-arm with qemu-system-aarch64. netdev tap,id=net0,ifname=tap0,script=no,downscript=no \ device virtio-scsi-device -device scsi-hd,drive=hd \ drive file=/rpi/root.img,format=raw,id=hd,if=none,media=disk \ Sudo dpkg -install linux-image-5.10.0-21-armmp-lpae_5.10.162-1_bĬopy out the kernel and initrd from /boot to the host, then run QEMU with something like this: qemu-system-arm \ First install a virtualization-capable kernel, Raspian doesn't provide one but the regular Debian ARM distro does: wget Getting it running is a bit more work but in the end not too complicated (more instructions here). It also supports arbitrary CPU counts and memory sizes. I've had better success using the virt model which emulates a generic ARM system, but uses virtualization, rather than device emulation, which leads to lower CPU utilization on the host and much better I/O performance. It's also locked to 4 CPUs and 1 GB of memory. Check the /home/stephenpd/HDMI/xilinx_demo_hdmitx_petalinux/build/build.log file for more details.While the raspi3b model works well, it is quite inefficient and its network speeds are really low because it emulates the USB-Ethernet adapter. ![]() Summary: There was 1 ERROR message shown, returning a non-zero exit code.ĮRROR: Failed to build device-tree. home/stephenpd/HDMI/xilinx_demo_hdmitx_petalinux/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_compile NOTE: Tasks Summary: Attempted 3147 tasks of which 3138 didn't need to be rerun and 1 failed. *** 0512: raise CalledProcessError(retcode, process.args,Ġ514: return CompletedProcess(process.args, retcode, stdout, stderr)Įxception: subprocess.CalledProcessError: Command '' returned non-zero exit status 1.Įrror: /home/stephenpd/HDMI/xilinx_demo_hdmitx_petalinux/project-spec/configs/././components/plnx_workspace/device-tree/device-tree/zynqmp-pl-remoteport.dtsi:31.20-21 syntax errorĮRROR: Logfile of failure stored in: /home/stephenpd/HDMI/xilinx_demo_hdmitx_petalinux/build/tmp/work/zynqmp_generic-xilinx-linux/device-tree/xilinx-v2021.2 gitAUTOINC c0acd8f064-r0/temp/log.do_compile.265785ĮRROR: Task (/home/stephenpd/HDMI/xilinx_demo_hdmitx_petalinux/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_compile) failed with exit code '1' *** 0119: n(dtcargs, check = True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)Ġ122: includes = expand_includes("DT_INCLUDE", d)Ġ123: listpath = d.getVar("DT_FILES_PATH")įile: '/home/stephenpd/tools/petalinux_2021_2/components/yocto/buildtools/sysroots/x86_64-petalinux-linux/usr/lib/python3.8/subprocess.py', lineno: 512, function: runĠ508: # We don't call process.wait() as. *** 0131: devicetree_compile(dtspath, includes, d)Ġ135: for DTB_FILE in ls *.dtb *.dtbo doįile: '/home/stephenpd/HDMI/xilinx_demo_hdmitx_petalinux/components/yocto/layers/core/meta/classes/devicetree.bbclass', lineno: 119, function: devicetree_compileĠ116: dtcargs = ["-o", "".format(" ".join(dtcargs))) The stack trace of python calls that resulted in this exception/failure was:įile: 'exec_python_func() autogenerated', lineno: 2, function:įile: '/home/stephenpd/HDMI/xilinx_demo_hdmitx_petalinux/components/yocto/layers/core/meta/classes/devicetree.bbclass', lineno: 131, function: devicetree_do_compileĠ127: if not(os.path.isfile(dtspath)) or not(dts.endswith(".dts") or devicetree_source_is_overlay(dtspath)):Ġ128: continue # skip non-.dts files and non-overlay filesĠ130: continue # skip if can't determine if overlay Sstate summary: Wanted 155 Found 127 Missed 28 Current 1071 (81% match, 97% complete)ĮRROR: device-tree-xilinx-v2021.2 gitAUTOINC c0acd8f064-r0 do_compile: Error executing a python function in exec_python_func() autogenerated: ![]() NOTE: Resolving any missing task queue dependencies 5133 targets, 234 skipped, 0 masked, 0 errors. bb files complete (3467 cached, 9 parsed). Loaded 5125 entries from dependency cache. NOTE: Started PRServer with DBfile: /home/stephenpd/HDMI/xilinx_demo_hdmitx_petalinux/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 39733, PID: 265083 But after I add the zynqmp-pl-remote.dtsi to rebuild the DTB files, it output error:ĭevice-tree/device-tree/zynqmp-pl-remoteport.dtsi:31.20-21 syntax error, can you help me? When I petalinux-build to generate DTB files for qemu, it works well. I am using Version: DTC 1.5.0 and I want to co-simulation in qemu and vitis. The easiest way to install QEMU Arm is with xpm by using the binary xPack, available as xpack-dev-tools/qemu-arm from the registry. Hello, It is a great demo for me to studuy.
0 Comments
Leave a Reply. |