On Mon 07 Jun 10:26 CDT 2021, Hannes Tschofenig via Openamp-rp wrote:
Hi all,
I thought I wrote an answer to this earlier, but I can't find it in my Sent folder, so thanks Ed for bumping the thread.
This might be a stupid question but I try it anyway.
It's certainly not a stupid question!
I would like to use Wireshark to capture the communication over the OpenAMP/rpmsg stack from one processor to the other one.
I've had this problem several times, where I am in need to inspecting some data traveling over my rpmsg channels. This has so far resulted in various hacks.
In my case this all revolves around the Linux kernel, so looking at prior art usbmon comes to mind. But I've so far fulfilled my needs before reaching a point where my prototypes for something like this could be reused.
Wireshark has been used in used for all sorts of communication protocols and I believe it is applicable here as well. I could imagine that someone wrote such a Wireshark plugin already. Maybe someone of you knows. This could be useful for debugging.
As Ed says, Wireshark doesn't have any knowledge of any of our protocols - but no tool does. So I don't think it's a bad idea to reuse what they have - and usbmon shows up in this context again.
Regards, Bjorn
openamp-rp@lists.openampproject.org