2020-11-04 06:17 AM
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.
tnx.
2020-11-06 01:17 AM
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,
Olivier