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:Panda 板上的 PMU 单元访问

Guru**** 2603695 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/650996/linux-pmu-unit-access-on-panda-board

工具/软件:Linux

您好!

我有 Panda 板、它有 Ubuntu 11.04、GNU/Linux 2.6.38-1208-OMAP4 armv7l。

当我尝试访问 PMU 时、我收到一个非法指令的错误。

我是否可以通过任何方式启用 PMU 并访问 PMU 寄存器。

谢谢、此致

 Sridhar Artham

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

    您能否分享您看到的确切错误? 调试控制台输出还是 dmesg?

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

    您好!

    我使用 PMU 生成了带有分析代码的.exe (分析代码随 ARM RVCT 示例提供)。

    我收到错误"非法指令"。 我随附了代码供您参考。

    e2e.ti.com/.../perfcode.zip

    谢谢、此致

    Sridhar Artham