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.

AM5718: Configuring remoteproc to save trace0 to disk

Part Number: AM5718


Hi,

What is best practice when logging from e.g. IPU1 to permanent storage when using SYS/BIOS and linux wit remoteproc?
Copying trace0 at intervals does not seem like a good approach, there must be a better solution to this problem.

Out bld-file contains:

    TRACE_BUF: {
        name: "TRACE_BUF",
        base: 0x9F000000,
        len:  0x00060000,
        space: "data",
        access: "RW"
    },

I don't quite understand where this trace buffer is configured on linux side. The device tree does not mention 0x9F00 0000 anywhere.

Is it expected behavior that tail -f /sys/kernel/debug/remotepcor/remoteproc0/trace0 stops after rollover of the ring buffer, or does this indicate some misconfiguration on our side?

Best regards,

Fredrik Wigert