-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Emulate OpenMPTCProuter on RPI4 using qemu-system-arm #2000
Comments
Images are full disk images. Rootfs and kernel images are also availables in downloads directory. |
About CPU i know i won't get the best performances but i would like to try it. So i should set the ext4-factory image as drive ( as qemu parameter this is the script i would use to run the qemu vm:
i followed the openwrt guide on arm but as the guide shows i expected to find a zImage in the downloads directory to use as kernel image |
True rootfs is only generated for x86_64 and can be used for Docker. |
Setting the drive as the combined image doesn't boot on qemu.
but i don't think si the right way to do that. ( i resized always the combined image because qemu errors:
) i tried all this with both arm and aarch64 qemu-systems in version 3.10 and 6.0.0 |
However using the openwrt kernel for armvirt i think a lot of things are missing, for example i have no ethernet vitual interface if i use ifconfig. This is the output:
|
You can't use OpenWrt kernel as at least MPTCP patch is missing. |
I supposed that, but it's weird that even using the openmptcprouter's kernel inside the combined image doesn't boot.
|
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days |
i got some "results" ... upgrading qemu to 6.2.0 and running the following script with qemu, something changed.
Qemu seems to boot but stop the emulation after running /sbin/init. Here the log:
|
i forgot to say that i tested this not using native emulation, because i want to test it as vm before using it on rpi4. |
After some tests i find out that it's an OpenWrt issue.
But this will emulate the virt machine, so if you want run qemu KVM on RPI, the CPU var should be set as "host". (i didn't test this yet, but i will try soon) |
I have installed a raspberry PI OS 64bit running on a RPI4 I'm trying to figure out how to configure qemu-system-arm using the precompiled images.
The provided precompiled images should have kernel and rootfs combined, but how i should set the kernel and the drive images in qemu from them ?
The text was updated successfully, but these errors were encountered: