Canceled: 2022 ACRN Project Technical Community Meeting: @ Monthly 3rd Wednesday 4PM (China-Shanghai), Wednesday 10AM (Europe-Munich), Tuesday 1AM (US-West Coast)
Zou, Terry
Cancel this month’s TCM, thanks.
Special Notes: If you have Zoom connection issue by using
web browser, please install & launch Zoom application, manually input the meeting ID (320664063)
to join the Zoom meeting.
Agenda & Archives:
Project ACRN: A flexible, light-weight, open source reference hypervisor for IoT devices
We invite you to attend a monthly "Technical Community" meeting where we'll meet community members and talk about the ACRN project and plans.
As we explore community interest and involvement opportunities, we'll (re)schedule these meetings at a time convenient to most attendees:
Or visit Github wiki if you can’t access Google doc: https://github.com/projectacrn/acrn-hypervisor/wiki/ACRN-Committee-and-Working-Group-Meetings#technical-community-meetings
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
shibi590268@...
Fuzhong,
I checked the acrn kernel with tag release_1.4. That seems to work with latest acrn hypervisor tag release_2.7. Hence i patched the code to the latest kernel 5.10/preempt-rt and it worked. Consider this as my suggestion it would be good if the virtio-gpio patch is carried over to the latest kernels in the future.
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
Is it? But v1.4 is pretty old right. Would there be any impact on the performance of we go for this release version?
I could find the same macros present in the master branch. Please let me understand what is the difference between them as far as virtio gpio is concerned. Is there any possibility that virtio gpio be supported in future releases?
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
Liu, Fuzhong
Hi Checked with ACRN expert, following ACRN virtio devices work well with V1.4; but not maintained any more. devicemodel/include/virtio.h
* ACRN virtio device IDs */ #define VIRTIO_DEV_RPMB 0x8601 #define VIRTIO_DEV_HECI 0x8602 #define VIRTIO_DEV_AUDIO 0x8603 #define VIRTIO_DEV_IPU 0x8604 #define VIRTIO_DEV_TSN 0x8605 #define VIRTIO_DEV_HYPERDMABUF 0x8606 #define VIRTIO_DEV_HDCP 0x8607 #define VIRTIO_DEV_COREU 0x8608 #define VIRTIO_DEV_GPIO 0x8609 #define VIRTIO_DEV_I2C 0x860a
https://github.com/projectacrn/acrn-hypervisor/tree/release_1.4/ https://github.com/projectacrn/acrn-kernel/tree/release_1.4
BR. Fuzhong
From: acrn-users@... <acrn-users@...>
On Behalf Of shibi590268@...
Sent: Monday, May 9, 2022 6:06 PM To: acrn-users@... Subject: Re: [acrn-users] Using Virtio-gpio in guest VM
On Mon, May 9, 2022 at 02:43 PM, Liu, Fuzhong wrote:
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: ACRN configurator failing to start in master branch
Xie, Nanlin
Hi,
We are using new configurator to replace old configurator in the v3.0, it is in progress, but you could have a try with below guide: https://github.com/projectacrn/acrn-hypervisor/blob/master/misc/config_tools/configurator/README.md
Best wishes! Nanlin
From: acrn-users@... <acrn-users@...>
On Behalf Of Liu, Fuzhong
Sent: Monday, May 9, 2022 3:58 PM To: acrn-users@... Subject: Re: [acrn-users] ACRN configurator failing to start in master branch
Hi Please help to raise one git issue with following link:
BR. Fuzhong
From:
acrn-users@... <acrn-users@...>
On Behalf Of shibi590268@...
Hello rn@acrn-NUC6CAYH:~/acrn-work/acrn-hypervisor/misc/config_tools/config_app$ sudo python3 acrn_configurator.py [sudo] password for acrn: Traceback (most recent call last): File "acrn_configurator.py", line 34, in <module> from views import CONFIG_APP File "/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/views.py", line 26, in <module> from launch_config.launch_cfg_gen import get_launch_item_values ImportError: cannot import name 'get_launch_item_values' from 'launch_config.launch_cfg_gen' (/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/../launch_config/launch_cfg_gen.py)
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
shibi590268@...
On Mon, May 9, 2022 at 02:43 PM, Liu, Fuzhong wrote:
lspci -xxxxvvvv attached lspci info
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
Liu, Fuzhong
Please share lspci -xxxxvvvv
BR. Fuzhong
From: acrn-users@... <acrn-users@...>
On Behalf Of shibi590268@...
Sent: Monday, May 9, 2022 4:43 PM To: acrn-users@... Subject: Re: [acrn-users] Using Virtio-gpio in guest VM
Please find the attachments. config, dmesg and lspci.
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
shibi590268@...
Please find the attachments. config, dmesg and lspci.
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
Liu, Fuzhong
Hi Please share the kernel config and dmesg log of User VM which included the driver.
Thanks!
BR. Fuzhong
From: acrn-users@... <acrn-users@...>
On Behalf Of shibi590268@...
Sent: Saturday, May 7, 2022 9:57 AM To: acrn-users@... Subject: Re: [acrn-users] Using Virtio-gpio in guest VM
Hi Geoffroy,
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: ACRN configurator failing to start in master branch
Liu, Fuzhong
Hi Please help to raise one git issue with following link:
BR. Fuzhong
From: acrn-users@... <acrn-users@...>
On Behalf Of shibi590268@...
Sent: Wednesday, May 4, 2022 1:12 PM To: acrn-users@... Subject: [acrn-users] ACRN configurator failing to start in master branch
Hello rn@acrn-NUC6CAYH:~/acrn-work/acrn-hypervisor/misc/config_tools/config_app$ sudo python3 acrn_configurator.py [sudo] password for acrn: Traceback (most recent call last): File "acrn_configurator.py", line 34, in <module> from views import CONFIG_APP File "/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/views.py", line 26, in <module> from launch_config.launch_cfg_gen import get_launch_item_values ImportError: cannot import name 'get_launch_item_values' from 'launch_config.launch_cfg_gen' (/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/../launch_config/launch_cfg_gen.py)
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
shibi590268@...
Hi Geoffroy,
I checked in the latest version of kernels(i.e., 5.18) which included the driver in question. I compiled the kernel with CONFIG_GPIO_VIRTIO=y. I see the same behavior as before. The virtio-gpio gets emulated as a PCI device. Should there be some examples or some references that was used while evaluating the virtio gpio, please share that. Thanks in Advance
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
shibi590268@...
Is CONFIG_VIRTIO_IOMMU needed for using GPIO_VIRTIO in guest VM?
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
shibi590268@...
Could someone please reply and help me
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
ACRN configurator failing to start in master branch
shibi590268@...
Hello
I am getting the below error when launching the acrn_configurator.py. How to get rid of this error. ACRN-hypervisor branch: master commit:e491773f5e0a97d36b03180306458c47c196aada Error: rn@acrn-NUC6CAYH:~/acrn-work/acrn-hypervisor/misc/config_tools/config_app$ sudo python3 acrn_configurator.py
[sudo] password for acrn:
Traceback (most recent call last):
File "acrn_configurator.py", line 34, in <module>
from views import CONFIG_APP
File "/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/views.py", line 26, in <module>
from launch_config.launch_cfg_gen import get_launch_item_values
ImportError: cannot import name 'get_launch_item_values' from 'launch_config.launch_cfg_gen' (/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/../launch_config/launch_cfg_gen.py)
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Booting to ACRN (Yocto) image is getting struck at WARNING: no console will be available to OS
Liu, Fuzhong
Hi Shrikant Please boot into native to check the grub version of Yocto rootfs; then help to share the grub version and grub menu info on git issue:7342 Thanks!
BR. Fuzhong
From: acrn-users@... <acrn-users@...>
On Behalf Of HALLUR, SHRIKANT
Sent: Monday, May 2, 2022 9:32 PM To: acrn-users@... Subject: Re: [acrn-users] Booting to ACRN (Yocto) image is getting struck at WARNING: no console will be available to OS
Hi Fuzhong,
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Booting to ACRN (Yocto) image is getting struck at WARNING: no console will be available to OS
HALLUR, SHRIKANT
Hi Fuzhong,
Issue https://github.com/projectacrn/acrn-hypervisor/issues/7342 is closed and ACRN working well with Linux but still issue persists with Yocto. Please help with this. Regards, Shrikant U H
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
Yes, that’s the driver in question. I do not know if we have a version of it for the latest kernel, let’s see what the kernel team has to say about it.
Geoffroy
From: acrn-users@... <acrn-users@...>
On Behalf Of shibi590268@...
Sent: Monday, May 2, 2022 1:09 pm To: acrn-users@... Subject: Re: [acrn-users] Using Virtio-gpio in guest VM
Hi
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
shibi590268@...
Hi
I want to use little latest kernel. Do you mean this driver gpio-virtio.c. Is following the config that you are pointing to?
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
I don’t see this anywhere in the 5.10 version, while it was there in the 4.19/preempt-rt. I suspect that means it’s a driver that was never upstreamed (or is still in the process of being upstreamed).
Is using the 4.19 kernel an option for you?
Does anyone from the kernel team know if there is a version of that driver for the 5.10 preempt-rt kernel?
Thanks, Geoffroy
From: acrn-users@... <acrn-users@...>
On Behalf Of shibi590268@...
Sent: Monday, May 2, 2022 9:44 am To: acrn-users@... Subject: Re: [acrn-users] Using Virtio-gpio in guest VM
Hi
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Re: Using Virtio-gpio in guest VM
shibi590268@...
Hi
I am using the ACRN patched rt kernel from https://github.com/projectacrn/acrn-kernel.git with 5.10/prempt-rt branch to use it in RTVM. I am unable to locate CONFIG_VIRTIO_GPIO=Y in the config. Is there any separate patch available for this? Attached is the .config file
|
|||||||||||||||||||||||||||||
|