Error building Xen device tree for qemuarm64

Edward Pickup

Hi all,

I have encountered an error while building the arm64 version of the xen 4.16 recipe in meta-virtualisation, using the master version of poky and meta-virtuaisation.
I was wondering if anyone was familiar with the issue or knew how to fix it. The error is as follows:

ERROR: xen-image-minimal-1.0-r0 do_write_xen_qemuboot_dtb: ExecutionError('/home/edwpic01/work/master-update-xen/build/metavirt-host-arm64-4.16-release.prj/tmp/work/qemuarm64-poky-linux/xen-image-minimal/1.0-r0/temp/run.do_write_xen_qemuboot_dtb.3679135', 2, None, None)
ERROR: Logfile of failure stored in: /home/edwpic01/work/master-update-xen/build/metavirt-host-arm64-4.16-release.prj/tmp/work/qemuarm64-poky-linux/xen-image-minimal/1.0-r0/temp/log.do_write_xen_qemuboot_dtb.3679135 .

I believe the relevant part of the log is as follows:

| [NOTE]: '3' lopper operation files will be processed
| [INFO]: dtb output format detected, writing /home/edwpic01/work/master-update-xen/build/metavirt-host-arm64-4.16-release.prj/tmp/work/qemuarm64-poky-linux/xen-image-minimal/1.0-r0/deploy-xen-image-minimal-image-complete/xen-image-minimal-qemuarm64-20211026121502.qemuboot.dtb
| [INFO]: writing output dtb: /home/edwpic01/work/master-update-xen/build/metavirt-host-arm64-4.16-release.prj/tmp/work/qemuarm64-poky-linux/xen-image-minimal/1.0-r0/deploy-xen-image-minimal-image-complete/xen-image-minimal-qemuarm64-20211026121502.qemuboot.dtb
| /home/edwpic01/work/master-update-xen/build/metavirt-host-arm64-4.16-release.prj/tmp/work/qemuarm64-poky-linux/xen-image-minimal/1.0-r0/xen-image-minimal-1.0/output.dts: ERROR (explicit_phandles): /apb-pclk:phandle: bad length (1) phandle property
| /home/edwpic01/work/master-update-xen/build/metavirt-host-arm64-4.16-release.prj/tmp/work/qemuarm64-poky-linux/xen-image-minimal/1.0-r0/xen-image-minimal-1.0/output.dts: ERROR (explicit_phandles): /intc@8000000:phandle: bad length (1) phandle property
| /home/edwpic01/work/master-update-xen/build/metavirt-host-arm64-4.16-release.prj/tmp/work/qemuarm64-poky-linux/xen-image-minimal/1.0-r0/xen-image-minimal-1.0/output.dts: ERROR (explicit_phandles): /pl061@9030000:phandle: bad length (1) phandle property
| ERROR: Input tree has errors, aborting (use -f to force output)
| WARNING: exit code 2 from a shell command.

The above error was the result from building on x86_64-linux, target system was aarch64-poky-linux, running on a qemuarch64 machine, itself running on x86_64 linux.
As mentioned this was done on the master version of meta-virtualisation.
The bitbake command to generate this was bitbake xen-image-mininal.
The error is also present when building the xen 4.14 and xen 4.15 arm64 versions, and is not present on the arm32 or x86 builds for xen.
If anyone knows the cause of the error, the information would be appreciated.


IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Join to automatically receive all group messages.