Re: gpio ist not seen in the acrn hypervisor in the whl 10
It seems like the basic GPIO controller is not even detected, which can be caused by a driver that’s missing. Have you ever been able to use the GPIO interface on that board using a native Linux (no ACRN)?
If so, we could start by comparing the kernel configs (at least the ones pertaining to GPIO) and see if we should enable some options in the acrn-kernel for you.
Geoffroy
From: acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Sent: Thursday, October 28, 2021 1:27 pm To: acrn-users@... Subject: Re: [acrn-users] gpio ist not seen in the acrn hypervisor in the whl 10
Hi Geoffory, In my case,
ls I use the tutorial here, https://www.ics.com/blog/gpio-programming-using-sysfs-interface
But it did not work out for me Thanks, Jianjie Lin
Von:
acrn-users@... <acrn-users@...>
Im Auftrag von Geoffroy Van Cutsem
Hi Jianjie,
There isn’t much useful info in the log that you attached in your previous email. Can you expand a bit on how you have tried to use this? Do you see the any GPIO controller (e.g.:
ls
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi Fuzhong,
Thank you very much for your reply. In cannot see gpio pins in sor and HV? I tried with serval methods, but apparently, it did not work out. We try to use this gpio pin to control the motor as an automotive application. I attached the boot log.
If you need to any information about the whiskey lake, I am pleasure to offer those information. Thank you . Best, Jianjie Lin
Von:
acrn-users@... <acrn-users@...>
Im Auftrag von Liu, Fuzhong
Hi Jianjie Not see the gpio pins in sos or HV?
Could you please share full HV boot log about your issue?
Thanks!
BR. Fuzhong From:
acrn-users@... <acrn-users@...>
On Behalf Of Geoffroy Van Cutsem
Hi Jianjie,
I do not have any experience with the GPIO subsystem I’m afraid, @Xie, Nanlin, can you ask someone on the engineering team to help look at this?
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi Acrn community,
After we successfully deployed the acrn hypervisor in the whiskey board 10, we found we could not see the gpio pins inside the acrn hypervisor, which apparently should be included. Do you know the reason?
Thank you Best, Jianjie Lin
|
|