Skip to main content
Explorer
May 12, 2023
Solved

stty: /dev/ttyRPMSG0: No such file or directory

  • May 12, 2023
  • 1 reply
  • 1587 views

Board: STM32MP157F-DK2

Distro: st-image-weston with kernel 5.15.67 (Starter Package)

root@stm32mp1:~# modprobe rpmsg_tty
root@stm32mp1:~# modprobe rpmsg_char
root@stm32mp1:~# lsmod | grep rpm
rpmsg_char 16384 0
rpmsg_tty 16384 0
root@stm32mp1:~# stty -onlcr -echo -F /dev/ttyRPMSG0
stty: /dev/ttyRPMSG0: No such file or directory
 
 

uImage is recompiled and my own dtb file is in use.

Why is the device file not created and how can I achieve the creation?

Thank you.

    This topic has been closed for replies.
    Best answer by Joerg Wagner

    SOLVED.

    I forgot to initialize with

    VIRT_UART_Init(&huart0);

    1 reply

    Joerg WagnerAuthorAnswer
    Explorer
    May 12, 2023

    SOLVED.

    I forgot to initialize with

    VIRT_UART_Init(&huart0);