EvgeniiDidin

Results 19 comments of EvgeniiDidin

Hi Joshua, Further instructions implies that buildroot was somehow configured(with **kernel** enabled) and built. There are three steps how-to enable UIO driver in buildroot: **_1) Enable UIO in kernel._** In...

Hi Joshua, Missing "/dev/uio0" and "maps" directory means that UIO is not working properly. Could you please search for "uio" messages in dmesg output and share the result of the...

Hi Joshua, I took a look in the boot log and found that Kernel was built against uclibc toolchain: ``` Linux version 5.10.80 ([email protected]) (arc-linux-gcc (ARCv2 ISA Linux uClibc toolchain...

Hi @joshualin-petaio , Could you please answer next two questions: 1) According the bootlog it seems that nsimosci_hs_idu.dts file is used in your configuration. Is there any particular reason for...

Hi @joshualin-petaio, In the host-side part of the driver we have polling mechanism as a backup if irq is not presented. Please check if platform_poll() function is called. For device->host...

Hi Joshua, On the host-side there is a thread, which is calling "remoteproc_get_notification" in a while loop. If there is a message from the device, remoteproc_get_notification will catch and handle...

Hi Joshua, Polling is a backup mechanism and it occupies enough host CPU resources, so it is not preferable to use it in production. UIO IRQ probably should be a...

Hi Joshua, If IRQs are correctly comming from the EV, polling can be commented out. One thing confuses me is that host is getting UIO IRQ even if device didn't...

Hi Joshua, Sorry for being silent for some time. Regarding your last question about IRQ masking/unmsking. I didn't find a place where IRQ are masked in open-amp/libmetal. Could you please...

Hi @joshualin-petaio, If I understood you correctly, uio_read runs in a while loope because this check: https://elixir.bootlin.com/linux/latest/source/drivers/uio/uio.c#L591 is false. Could you please check the contents of **idev->event** and **listener->event_count**? Also,...