Other Parts Discussed in Thread: AM5728, SYSBIOS
Using Linux (ARM) and Sys/Bios (DSP) on AM5728. Compiler 8.1.0, IPC 3.42.0.0.2, Sys/Bios 6.45.1.29, XDC 3.32.0.06
I am using Log_print on the DSP to put debug info into the TRACE buffer. I can view the trace buffer via
cat /sys/kernel/debug/remoteproc/remoteproc2/trace0
On an older build I had (months old and not recreatable unfortunately) I would get the entire contents of the TRACE buffer displayed correctly.
Now with my current build I only see the first three lines in the log:
[ 0.000] [t=0x0002a6ce] ti.sdo.utils.MultiProc: --> getClusterId: (0x4)
[ 0.000] [t=0x00031c3a] ti.sdo.utils.MultiProc: <-- getClusterId: 0x4
[ 0.000] 20 Resource entries at 0x80000000
When I connect to the DSP via the debugger and view SysMin in the ROV tool, I see there is actually much more in the buffer, but the Linux side is not seeing it.
[ 0.000] [t=0x0002a6ce] ti.sdo.utils.MultiProc: --> getClusterId: (0x4)
[ 0.000] [t=0x00031c3a] ti.sdo.utils.MultiProc: <-- getClusterId: 0x4
[ 0.000] 20 Resource entries at 0x80000000
[ 0.000] [t=0x0049ec35] ti.ipc.transports.TransportRpmsgSetup: TransportRpmsgSetup_attach: procId=0
[ 0.000] [t=0x004a6e34] ti.sdo.utils.MultiProc: --> getClusterId: (0x0)
[ 0.000] [t=0x004ab577] ti.sdo.utils.MultiProc: <-- getClusterId: 0x0
[ 0.000] [t=0x004b0e82] ti.ipc.transports.TransportRpmsg: TransportRpmsg_Instance_init: remoteProc: 0
[ 0.000] [t=0x004b7765] ti.ipc.rpmsg.RPMessage: --> RPMessage_init: (remoteProcId=0)
and 20 or so more lines available after that.
So, I am trying to figure out why Linux is not showing me the full buffer of log data.
Thanks,
Chris Peters