Missing /dev/ttyRPMSG0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-31 1:59 PM
Hi,
After installing and running the latest, OpenStLinux discovered a problem with M4. Firmware is loading fine, but the system doesn't create /dev/ttyRPMSGx channel. What is changed in comparison to the dunfell?
[ 2399.320707] remoteproc remoteproc0: powering up m4
[ 2399.330950] remoteproc remoteproc0: Booting fw image my-m4-firmware_CM4.elf, size 3297396
[ 2399.361010] rproc-srm-core 10000000.m4:m4_system_resources: bound 10000000.m4:m4_system_resources:timer@40000000 (ops 0xc0e1da)
[ 2399.391021] rproc-srm-core 10000000.m4:m4_system_resources: bound 10000000.m4:m4_system_resources:serial@4000f000 (ops 0xc0e1d)
[ 2399.403977] rproc-srm-core 10000000.m4:m4_system_resources: bound 10000000.m4:m4_system_resources:serial@40011000 (ops 0xc0e1d)
[ 2399.437731] rproc-srm-core 10000000.m4:m4_system_resources: bound 10000000.m4:m4_system_resources:serial@40018000 (ops 0xc0e1d)
[ 2399.474831] rproc-srm-core 10000000.m4:m4_system_resources: bound 10000000.m4:m4_system_resources:serial@40019000 (ops 0xc0e1d)
[ 2399.494878] rproc-srm-core 10000000.m4:m4_system_resources: bound 10000000.m4:m4_system_resources:timer@44000000 (ops 0xc0e1da)
[ 2399.507736] rproc-srm-core 10000000.m4:m4_system_resources: bound 10000000.m4:m4_system_resources:serial@44003000 (ops 0xc0e1d)
[ 2399.518703] rproc-srm-core 10000000.m4:m4_system_resources: bound 10000000.m4:m4_system_resources:dma@48001000 (ops 0xc0e1da24)
[ 2399.529872] rproc-srm-core 10000000.m4:m4_system_resources: bound 10000000.m4:m4_system_resources:adc@48003000 (ops 0xc0e1da24)
[ 2399.544254] remoteproc0#vdev0buffer: assigned reserved memory node vdev0buffer@10042000
[ 2399.552260] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 2399.556616] virtio_rpmsg_bus virtio0: creating channel rpmsg-tty-channel addr 0x400
[ 2399.564414] remoteproc0#vdev0buffer: registered virtio0 (type 7)
[ 2399.570653] remoteproc remoteproc0: remote processor m4 is now up
Solved! Go to Solution.
- Labels:
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-02 2:05 AM
Hello @Michał Wołowik​ ,
Can you please double check that you use the latest firmware package ? The M4 code that manage coprocessor communication has changed so you have to update the M4 part.
Kind regards,
Erwan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-02 2:05 AM
Hello @Michał Wołowik​ ,
Can you please double check that you use the latest firmware package ? The M4 code that manage coprocessor communication has changed so you have to update the M4 part.
Kind regards,
Erwan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-02 7:35 AM
Thanks, Erwan,
works. Now M4 creates /dev/RPMGS0.
After migration and generating the code, I discover that the labels for GPIO which I added previously disappears. But this is probably a malfunction of the Cube.
Thanks
BR Michal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-02 7:43 AM
@Michał Wołowik​ ,
Thank you for your feedback, glad to see that you could solve your issue.
Have a nice day,
Erwan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-21 2:57 AM
How did you migrate?
I have the same problem (system doesn't create /dev/ttyRPMSGx channels).
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-21 3:34 AM
Yes after migrate M4 is recognised in user space.
BR Michał
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-21 4:29 AM
and how did you update to the latest firmware? i do not know how to do or check it.
Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-21 5:32 AM
The update procedure is straightforward. Just update the Cube Ide application to the latest or install the latest version. When You open ioc file application asks You to continue or migrate, click migrate. In my case, I need a bit to change the code some defines etc., after such migration M4 works correctly.
The very important thing is correctly creating a base project, You have to have a ioc file.
BR Michal
