I tried :
tail -F /sys/kernel/debug/remoteproc/remoteproc0/trace0 >> myLog.log
but this command not printing new log messages that appear in the trace0 file.
how can I print every line of log to some external file that not disappear when the remoteproc dies.
Hi @SMich.1 ,
/sys/kernel/debug/remoteproc/remoteproc0/trace0 is a circular buffer not compatible with tail.
Alternative can be to root the trace to a physical UART on M4 side (if you have a spare one), else to implement a process Linux side which backup trace0 content periodically.
Hope it help,