Re: [External Mail]Re:Re: RPTUN and RPMSG

2024-01-26 Thread
the remote NuttX binary in ROMFS of the master NuttX then prepare rptun hooks and then leave the lifecycle details to rptun/openamp? Regards, yf Original From:"汪博文"< wangbow...@xiaomi.com.INVALID ; Date:2024/1/26 14:38 To:"yfliu2008"< yfliu2...@qq.com.INVAL

Re: [External Mail]RPTUN and RPMSG

2024-01-25 Thread
Hi, yf NuttX.RPTUN abstracts the OpenAMP.RemoteProc and the OpenAMP.RpmsgVirtio NuttX.Rpmsg wraps the OpenAMP.Rpmsg and add more rpmsg api. I guess you want to ask whether Rpmsg can support different transport layer such as SPI/UART/I2C. Acctually, Rpmsg was designed to be compatible with

Re: [External Mail][Quarantine]GPIO drivers

2024-01-16 Thread
Hello, I'm Bowen Wang and nice to answer your question. Please correct me If I understand wrong. I think you want to use the relay framework in nuttx/drivers/power/relay/relay.c and relay_gpio.c, which are added by me in PR: power/relay: add relay driver framework for NuttX by CV-Bowen · Pull

Re: epoll oddities following setup/teardown optimizations

2023-09-19 Thread
N is correct, and > it works on Linux and used to work on NuttX. Now I will never get any > POLLIN event no matter how much data is sent from the other side. > > > Regards > > Marten Svanfeldt > > > From: 汪博文 > Sent: Tuesday, Septemb

Re: epoll oddities following setup/teardown optimizations

2023-09-19 Thread
om "setup" to "teardown" > list (so that the fd is re-setup the next epoll_wait) not only on > successful poll_notify but on _any_ poll_notify independent of if > (filtered) revents is changed or not. Otherwise internal state changes in > the underlying drive

RE: epoll oddities following setup/teardown optimizations

2023-09-19 Thread
Hi, I has a fix fs_epoll: add critical section for teardown process and reset the eph… by CV-Bowen ・ Pull Request #10706 ・ apache/nuttx (github.com) about this problem. But I couldn’t find your GitHub ID, so I’m notifying you through email. Could you

RE: epoll oddities following setup/teardown optimizations

2023-09-18 Thread
Hi, I did the epoll optimization last year. And your analysis is right. The new epoll implementation has BUG and I has reproduced this issue locally based on your description. I’m very sorry that this issue has affected your nuttx upgrade. I will fix this issue as soon as possible. Thanks.