Re: [External Mail]RE: [EXT] Re: RPMsg FS on NuttX and Linux

2024-06-27 Thread 汪博文
Hi Andre,

I changed my email account and sent again.

Kind regards,
Wang Bowen


Bowen Wang, wangbow...@xiaomi.com

From: Andre Heinemans<mailto:andre.heinem...@nxp.com>
Date: 2024-06-27 18:02
To: dev@nuttx.apache.org<mailto:dev@nuttx.apache.org>
Subject: [External Mail]RE: [EXT] Re: RPMsg FS on NuttX and Linux
[外部邮件] 此邮件来源于小米公司外部,请谨慎处理。若对邮件安全性存疑,请将邮件转发给mi...@xiaomi.com进行反馈

Hi Bowen,

It seems that the attachment didn’t come through. Could you send them again?

For us it is sufficient that Linux can host the server side. The goal is to 
supply some storage space to Nuttx and our system (i.MX95) does not have any 
physical storage attached to the NuttX core.

Kind regards,
Andre

From: Bowen Wang 
Sent: Thursday, 27 June 2024 11:26
To: dev@nuttx.apache.org
Subject: Re: [EXT] Re: RPMsg FS on NuttX and Linux

Caution: This is an external email. Please take care when clicking links or 
opening attachments. When in doubt, report the message using the 'Report this 
email' button

Hi Andre,

The attachment is the patch for rpmsgfs, we only implement the rpmsgfs server 
side in linux for now, rpmsgfs client side in linux is still under development.
So we can access the  Linux‘s file system in
NuttX, but in Linux, we can't mount the Vela's
file system.


Kind regards,
Wang Bowen

Andre Heinemans mailto:andre.heinem...@nxp.com>> 
于2024年6月27日周四 17:12写道:
Hi Bowen,

I am using 6.6.3. But it would be okay for me if I receive the patches for 
version 5.15. I will try to adapt them.

Thanks in advance!

Kind regards,
Andre

-Original Message-
From: Bowen Wang mailto:bowenwa...@gmail.com>>
Sent: Thursday, 27 June 2024 03:46
To: dev@nuttx.apache.org<mailto:dev@nuttx.apache.org>
Subject: [EXT] Re: RPMsg FS on NuttX and Linux

Caution: This is an external email. Please take care when clicking links or 
opening attachments. When in doubt, report the message using the 'Report this 
email' button


Hi, Andre

Which Linux version are you using?
We have adapted RPMSGFS on 5.4 and 5.15. We are not sure if it meets your 
requirements.

Kind regards,
Wang Bowen

Xiang Xiao mailto:xiaoxiang781...@gmail.com>> 
于2024年6月25日周二 22:47写道:

> rpmsg_fs isn't upstreamed to the Linux community yet. Bowen could give
> you a patch to try.
>
> On Tue, Jun 25, 2024 at 8:44 PM Andre Heinemans
> mailto:andre.heinem...@nxp.com>>
> wrote:
>
> > Hi,
> >
> > I am searching for a solution to share a disk or directory on a
> > Linux
> host
> > and make it accessible in NuttX through RPMsg. It looks like
> > CONFIG_FS_RPMSGFS is the feature I need. According to this NuttX
> > channel video
> > (https://www.youtube.com/watch?v=-YLAQlJR1vA)  various RPMsg services in 
> > Nuttx are supported in Linux including RPMsg FS.
> >
> > So, I tried setting this up but couldn’t find the correct linux
> > module that is able to interact with this service.
> >
> > When I try to mount a directory with
> > nsh> mount -t rpmsgfs -o cpu=netcore,fs=/mnt /mnt
> >
> > Some interaction happens. See linux dmesg log:
> > [   61.086471] virtio_rpmsg_bus virtio0: creating channel
> > rpmsgfs-0x2000c1c8 addr 0x401
> >
> > But it seems no linux driver is listening to that channel. When I
> > try to access the mounted directory in NuttX then nsh freezes.
> >
> > What do I need to do on Linux to support this service? Do I maybe
> > need a patch or a different fork?
> >
> > Kind regards,
> > Andre
> >
>
#/**本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
 This e-mail and its attachments contain confidential information from XIAOMI, 
which is intended only for the person or entity whose address is listed above. 
Any use of the information contained herein in any way (including, but not 
limited to, total or partial disclosure, reproduction, or dissemination) by 
persons other than the intended recipient(s) is prohibited. If you receive this 
e-mail in error, please notify the sender by phone or email immediately and 
delete it!**/#


RE: [EXT] Re: RPMsg FS on NuttX and Linux

2024-06-27 Thread Andre Heinemans
Hi Bowen,

It seems that the attachment didn’t come through. Could you send them again?

For us it is sufficient that Linux can host the server side. The goal is to 
supply some storage space to Nuttx and our system (i.MX95) does not have any 
physical storage attached to the NuttX core.

Kind regards,
Andre

From: Bowen Wang 
Sent: Thursday, 27 June 2024 11:26
To: dev@nuttx.apache.org
Subject: Re: [EXT] Re: RPMsg FS on NuttX and Linux

Caution: This is an external email. Please take care when clicking links or 
opening attachments. When in doubt, report the message using the 'Report this 
email' button

Hi Andre,

The attachment is the patch for rpmsgfs, we only implement the rpmsgfs server 
side in linux for now, rpmsgfs client side in linux is still under development.
So we can access the  Linux‘s file system in
NuttX, but in Linux, we can't mount the Vela's
file system.


Kind regards,
Wang Bowen

Andre Heinemans mailto:andre.heinem...@nxp.com>> 
于2024年6月27日周四 17:12写道:
Hi Bowen,

I am using 6.6.3. But it would be okay for me if I receive the patches for 
version 5.15. I will try to adapt them.

Thanks in advance!

Kind regards,
Andre

-Original Message-
From: Bowen Wang mailto:bowenwa...@gmail.com>>
Sent: Thursday, 27 June 2024 03:46
To: dev@nuttx.apache.org<mailto:dev@nuttx.apache.org>
Subject: [EXT] Re: RPMsg FS on NuttX and Linux

Caution: This is an external email. Please take care when clicking links or 
opening attachments. When in doubt, report the message using the 'Report this 
email' button


Hi, Andre

Which Linux version are you using?
We have adapted RPMSGFS on 5.4 and 5.15. We are not sure if it meets your 
requirements.

Kind regards,
Wang Bowen

Xiang Xiao mailto:xiaoxiang781...@gmail.com>> 
于2024年6月25日周二 22:47写道:

> rpmsg_fs isn't upstreamed to the Linux community yet. Bowen could give
> you a patch to try.
>
> On Tue, Jun 25, 2024 at 8:44 PM Andre Heinemans
> mailto:andre.heinem...@nxp.com>>
> wrote:
>
> > Hi,
> >
> > I am searching for a solution to share a disk or directory on a
> > Linux
> host
> > and make it accessible in NuttX through RPMsg. It looks like
> > CONFIG_FS_RPMSGFS is the feature I need. According to this NuttX
> > channel video
> > (https://www.youtube.com/watch?v=-YLAQlJR1vA)  various RPMsg services in 
> > Nuttx are supported in Linux including RPMsg FS.
> >
> > So, I tried setting this up but couldn’t find the correct linux
> > module that is able to interact with this service.
> >
> > When I try to mount a directory with
> > nsh> mount -t rpmsgfs -o cpu=netcore,fs=/mnt /mnt
> >
> > Some interaction happens. See linux dmesg log:
> > [   61.086471] virtio_rpmsg_bus virtio0: creating channel
> > rpmsgfs-0x2000c1c8 addr 0x401
> >
> > But it seems no linux driver is listening to that channel. When I
> > try to access the mounted directory in NuttX then nsh freezes.
> >
> > What do I need to do on Linux to support this service? Do I maybe
> > need a patch or a different fork?
> >
> > Kind regards,
> > Andre
> >
>


Re: [EXT] Re: RPMsg FS on NuttX and Linux

2024-06-27 Thread Bowen Wang
Hi Andre,

The attachment is the patch for rpmsgfs, we only implement the rpmsgfs
server side in linux for now, rpmsgfs client side in linux is still under
development.
So we can access the Linux‘s file system in NuttX, but in Linux, we can't
mount the Vela's file system.

Kind regards,
Wang Bowen

Andre Heinemans  于2024年6月27日周四 17:12写道:

> Hi Bowen,
>
> I am using 6.6.3. But it would be okay for me if I receive the patches for
> version 5.15. I will try to adapt them.
>
> Thanks in advance!
>
> Kind regards,
> Andre
>
> -Original Message-
> From: Bowen Wang 
> Sent: Thursday, 27 June 2024 03:46
> To: dev@nuttx.apache.org
> Subject: [EXT] Re: RPMsg FS on NuttX and Linux
>
> Caution: This is an external email. Please take care when clicking links
> or opening attachments. When in doubt, report the message using the 'Report
> this email' button
>
>
> Hi, Andre
>
> Which Linux version are you using?
> We have adapted RPMSGFS on 5.4 and 5.15. We are not sure if it meets your
> requirements.
>
> Kind regards,
> Wang Bowen
>
> Xiang Xiao  于2024年6月25日周二 22:47写道:
>
> > rpmsg_fs isn't upstreamed to the Linux community yet. Bowen could give
> > you a patch to try.
> >
> > On Tue, Jun 25, 2024 at 8:44 PM Andre Heinemans
> > 
> > wrote:
> >
> > > Hi,
> > >
> > > I am searching for a solution to share a disk or directory on a
> > > Linux
> > host
> > > and make it accessible in NuttX through RPMsg. It looks like
> > > CONFIG_FS_RPMSGFS is the feature I need. According to this NuttX
> > > channel video
> > > (https://www.youtube.com/watch?v=-YLAQlJR1vA)  various RPMsg services
> in Nuttx are supported in Linux including RPMsg FS.
> > >
> > > So, I tried setting this up but couldn’t find the correct linux
> > > module that is able to interact with this service.
> > >
> > > When I try to mount a directory with
> > > nsh> mount -t rpmsgfs -o cpu=netcore,fs=/mnt /mnt
> > >
> > > Some interaction happens. See linux dmesg log:
> > > [   61.086471] virtio_rpmsg_bus virtio0: creating channel
> > > rpmsgfs-0x2000c1c8 addr 0x401
> > >
> > > But it seems no linux driver is listening to that channel. When I
> > > try to access the mounted directory in NuttX then nsh freezes.
> > >
> > > What do I need to do on Linux to support this service? Do I maybe
> > > need a patch or a different fork?
> > >
> > > Kind regards,
> > > Andre
> > >
> >
>


RE: [EXT] Re: RPMsg FS on NuttX and Linux

2024-06-27 Thread Andre Heinemans
Hi Bowen,

I am using 6.6.3. But it would be okay for me if I receive the patches for 
version 5.15. I will try to adapt them.

Thanks in advance!

Kind regards,
Andre

-Original Message-
From: Bowen Wang 
Sent: Thursday, 27 June 2024 03:46
To: dev@nuttx.apache.org
Subject: [EXT] Re: RPMsg FS on NuttX and Linux

Caution: This is an external email. Please take care when clicking links or 
opening attachments. When in doubt, report the message using the 'Report this 
email' button


Hi, Andre

Which Linux version are you using?
We have adapted RPMSGFS on 5.4 and 5.15. We are not sure if it meets your 
requirements.

Kind regards,
Wang Bowen

Xiang Xiao  于2024年6月25日周二 22:47写道:

> rpmsg_fs isn't upstreamed to the Linux community yet. Bowen could give
> you a patch to try.
>
> On Tue, Jun 25, 2024 at 8:44 PM Andre Heinemans
> 
> wrote:
>
> > Hi,
> >
> > I am searching for a solution to share a disk or directory on a
> > Linux
> host
> > and make it accessible in NuttX through RPMsg. It looks like
> > CONFIG_FS_RPMSGFS is the feature I need. According to this NuttX
> > channel video
> > (https://www.youtube.com/watch?v=-YLAQlJR1vA)  various RPMsg services in 
> > Nuttx are supported in Linux including RPMsg FS.
> >
> > So, I tried setting this up but couldn’t find the correct linux
> > module that is able to interact with this service.
> >
> > When I try to mount a directory with
> > nsh> mount -t rpmsgfs -o cpu=netcore,fs=/mnt /mnt
> >
> > Some interaction happens. See linux dmesg log:
> > [   61.086471] virtio_rpmsg_bus virtio0: creating channel
> > rpmsgfs-0x2000c1c8 addr 0x401
> >
> > But it seems no linux driver is listening to that channel. When I
> > try to access the mounted directory in NuttX then nsh freezes.
> >
> > What do I need to do on Linux to support this service? Do I maybe
> > need a patch or a different fork?
> >
> > Kind regards,
> > Andre
> >
>