Skip to main content
GChin.1
Associate
July 18, 2024
Question

/dev/ttyRPMSG0 /dev/ttyRPMSG0 not getting created after insmo of rpmsg_tty.ko

  • July 18, 2024
  • 1 reply
  • 642 views

I am using OSTL 4.1.1 and build DISTRO=openstlinux-weston MACHINE=stm32mp15-disco. I am using STM32MP157F-DK2. Found that rpmsg_tty build as dyanamic module. I have loaded rpmsg_tty.ko with modprobe but found that node entries are not getting created in /dev

 

1 reply

Erwan SZYMANSKI
Technical Moderator
July 23, 2024

Hello @GChin.1 ,
Are you sure you have a firmware running on Cortex M4 that initalize the RPMSG communication ? 
If not, please follow this wiki to make it work : 

https://wiki.st.com/stm32mpu-ecosystem-v4/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-M4/Install_STM32CubeMP1_package 

and then 

https://wiki.st.com/stm32mpu-ecosystem-v4/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-M4/Modify,_rebuild_and_reload_a_firmware

This last one show you the OpenAMP_TTY_Echo example that initialize this coprocessor communication.

Kind regards,
Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.