Skip to main content
Visitor II
May 10, 2022
Question

Forwarding OpenAMP log_info() to Linux terminal

  • May 10, 2022
  • 1 reply
  • 1005 views

Hi

I try to implement a virtual UART communication between the A7 and the M4 on a STM32MP157 device based on OpenAMP. I used the OpenAMP_TTY_echo example from the cube firmware package and adapted it to my own board. The virtual UART is working. But there are log commands in the example like " log_info("Virtual UART0 OpenAMP-rpmsg channel creation\r\n");" and this messages are not printed.

Is there a way to print this logs on the Linux terminal that is connected to the A7 or to forward it to an additional UART or something similar?

Thanks.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    May 11, 2022

    Hello @Corono​ ,

    These log_info messages are not directly printed in your Linux console but you can get these messages with some commands from Linux side.

    You can find information on this wiki page : https://wiki.st.com/stm32mpu/wiki/Linux_remoteproc_framework_overview

    Hope that it will help you.

    Regards.

    Erwan.