Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG,
Hi,
I have a couple of questions regarding debugging remote cores via Linux.
I've read through the AM64x Academy documentation on this and I have a few questions.
- The documentation linked above says, "If the remote core binary was configured to provide a trace log, Linux can see the remote core’s debug log through sysfs." What does it mean for the remote core binary to be configured to provide a trace log? Is this something I need to set up in the resource table, or is there something I need to do in SysConfig?
- There are some SysConfig
Debug Logoptions that are slightly unclear to me. More specifically, I am uncertain about the difference between theEnable Memory LogandEnable Shared Memory Log Writeroptions. Do I need both of these options enabled in order to write to shared memory, or are these options completely separate and writing to different shared memory locations? Are any of these options related to the trace log? - I am trying to load firmware onto the r5f0_0 core. When doing this through CCS via
Run->Load->Load Program, the code runs with no issues; however, when I run the same binary via remoteproc withecho start > /sys/class/remoteproc/remoteproc1/state, the code seems to fail almost immediately. Note that I have verified that remoteproc1 does correspond to the r5f0_0 core. I'm not sure where this is failing as I have not been able to get the shared memory log working, but I am interested to get input on why the code fails when uploading via remoteproc and not when uploading via CCS. I know this is a very vague question, but I am wondering if there are any known gotchas here; for instance, if I have theCCS Logoption enabled in SysConfig, couldDpl_initbe failing when it is unable to find a connected JTAG interface?
Thanks for your help,
Jared