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.

[参考译文] Linux/AM5728:DSP 内存问题

Guru**** 2935220 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/668504/linux-am5728-dsp-memory-problem

器件型号:AM5728

工具/软件:Linux

您好!

TI、我正在使用 PCIe_idkAM572x_wSoCFile_C66BiosExampleProject 演示,、我为缓冲区分配内存、然后我初始化缓冲区。 当我在 Linux 上运行它时、我使用 devmem2 +地址来读取缓冲区、并且 我发现该值与我初始化的值不同。

 malloc_aligned 函数:

BR、

Vefone

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Vefong、

    malloc_allored 中突出显示的 src 和 dst 缓冲区是在 Linux 还是 DSP 代码中完成的? 控制台是从 Linux 还是 DSP 打印?

    雷克斯
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Vefong、

    我已经听过你的回声了一段时间。 我认为问题已经解决。 我还想补充的是、Linux 处理虚拟地址、并且将与 devmem2不同。

    雷克斯