On 7/2/24 1:58 PM, Thompson, Corey via lists.yoctoproject.org wrote:
Hello.

I'm in the process of upgrading my organization's development
environment from 2023.2 to 2024.1 and encountered this issue.  We can
easily work around it with a patch in our layers, but I thought I'd
bring it to your attention.

It looks like in 2024.1 qemu-system-aarch64-multiarch received some
changes, one of which was to exit(1) in response to --help:

https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-core/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch#L42

In our environment this is causing a failure when we use "runqemu"
without the "nographic" option. For us, it makes it to this line:

https://github.com/Xilinx/poky/blob/rel-v2024.1/scripts/runqemu#L1391

How are you executing runqemu that is triggering the help? Assuming you are NOT passing in "--help", then the condition:

(not PMU_args and not PLM_args) will be triggered

zynqmp, versal, and versal-net REQUIRE you to pass PMU or PLM arguments to use the multiarch runner. The multiarch qemu scripting was updated to address this because people were seeing dead-lock errors when run without the correct arguments.

(note, these arguments should come from your machine .conf file, and the corresponding QB_OPT. If you inherit the zynqmp-generic or versal-generic (or versal-net-generic) the defaults are already configured for you. (same if you are generating your custom machine.conf using gen-machineconf.)

subprocess.check_output() detects that the command exited with non-zero
status and throws an exception.

If I simply patch that qemu-system-aarch64-multiarch script to exit(0)
then our regular workflow works again.

As of right now this is intentional, unless I've got a clear workflow where it's triggered and should not be.

--Mark

Thanks,
Corey





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5438): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5438
Mute This Topic: https://lists.yoctoproject.org/mt/107005905/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to