-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I get zephyr-domU working with xen? #42
Comments
Regarding helloworld_xen-arm64 you can find more info here Regarding zephyr.bin - it'd nice if you describe how have you got zephyr.bin? |
@mengtanhzc I have suggestions, that your issue is caused by old bug in qemu timer handling. We had this problem also with Zephyr Dom0 and tried to upstream a patch, but maintainers prepared their own and added it in mainline. You can check this and verify if your Qemu version contains it - https://patchew.org/QEMU/[email protected]/ |
Many thanks!! I'm new to Xen and using it on Qemu for now. I'll try meta-xt on RPI later. Here's how I built zephyr:
I didn't change the And here is the relevant configuration for qemu:
here is the qemuboot.dtb: https://gist.github.com/mengtanhzc/1b180cc65335aad93fb86f727eaeb0cd |
Thanks for the key info! However, the output of zephyr is still not visible. It seems to be in a "blocked" state:
|
Hi, I followed the wiki you gave and built the helloworld_xen-arm64. But it throws an exception at mask_evtchn()<plat/xen/events.c @ 210>. log:
Do you still have the |
Try gic_version="v2" Also I've updated wiki. |
I modified it to gicv2 and booted with qemu with gicv2 and it still doesn't work.
And I was previously using QEMU(GICv3) to try the helloworld_xen-arm64 provided by meta-xt-prod-devel-rpi5. Furthermore, I would be grateful if you could provide me with additional information about Xen. I'm wondering if it's possible to use UEFI+GRUB+XEN on an ARM64 board? |
Hello. Have you encountered the following problem? I modified the RAM area of Zephyr:
and now I get an error when I run it.
0xa9bf7bfd is:
|
I made a mistake that has led to these bugs... The memory layout should be modified based on the DTB by using LIBXL_DEBUG_DUMP_DTB, and the system clock frequency should be modified. |
Hello dear community.
I am currently booting xen with qemu, linux as dom0 and trying zephyr domU.
According to the Zephyr documentation( https://docs.zephyrproject.org/latest/boards/xen/xenvm/doc/index.html), I tried to run the basic Zephyr sample, but nothing works and it causes qemu to hang (can't switch to the qemu monitor via
Ctrl-a c
).I tried helloworld_xen-arm64 provided by meta-xt-prod-devel-rpi5. It works fine, and xen prints debug logs.
But I haven't found the source code for helloworld_xen-arm64. So it's not clear how it works.
Is it possible that zephyr's memory address layout conflicts with qemu? Do you have any suggestions for this problem?
Thanks a lot!
The text was updated successfully, but these errors were encountered: