Other Parts Discussed in Thread: OMAP-L138
我使用命令:cat /sys/kernel/debug/remoteproc/remoteproc0/trace0 查看DSP输出的信息,如果输出信息非常多的话,后面的信息总是把前面的覆盖了,非常不方便。怎么能把这个缓冲区调大,我试了好几个地方都不好使。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我使用命令:cat /sys/kernel/debug/remoteproc/remoteproc0/trace0 查看DSP输出的信息,如果输出信息非常多的话,后面的信息总是把前面的覆盖了,非常不方便。怎么能把这个缓冲区调大,我试了好几个地方都不好使。
请看下面e2e的回复。
According to https://www.ti.com/lit/ds/symlink/omap-l138.pdf, clause 3.3.6 Embedded Trace Macrocell (ETM) and Embedded Trace Buffer (ETB), this part has hardware trace buffer of 4KB only. It may happen that your data get overwritten in target hardware trace buffer before they get processed, so increasing software buffer for the trace makes no effect.
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1026477/omap-l138-how-to-enlarge-the-trace-buffer/3794459#3794459
那就没办法了。。不过 https://www.ti.com/lit/ds/symlink/omap-l138.pdf 下载不了,也打不开。我可以 FQ。应该是资源有问题。
omap-l138的数据手册,您再试一下。
https://www.ti.com/lit/ds/symlink/omap-l138.pdf