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.

PROCESSOR-SDK-AM62A: Allocate dma-buf from dma-heap,segment fault occurred during read/write access to the physical address

Part Number: PROCESSOR-SDK-AM62A

Tool/software:

Hi TI Experts, 

I am exploring around AM62x. I'm testing zero copy's functionality based on git.ti.com/.../rpmsg_char_zerocopy.git.

I have successfully requested physical memory in core A, but I keep experiencing segment errors while accessing the physical address in core R.

CORE A log :

CORE R log:

And I also tried to access the physical address of the application directly in A core, and a segment fault occurred.

I'd like to know what's wrong with my operation,  thanksl

  • The reason for the previous communication failure was that I did not use the compilation environment of the code repository, but used a separate environment built by myself. Then I based on the code repository environment to compile and run, is successful.

  • Thanks for confirming your solution!

    If you have additional questions about the zerocopy example or IPC in general, feel free to create a new thread and we can discuss there. I'll be looking into porting the zerocopy example to kernel 6.6 (for SDK 10.0) sometime in the next couple of weeks.

    Regards,

    Nick