cancel
Showing results for 
Search instead for 
Did you mean: 

Forwarding OpenAMP log_info() to Linux terminal

Corono
Associate III

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.

1 REPLY 1
Erwan SZYMANSKI
ST Employee

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.

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.