ZHCAE45 June 2024 AM625 , AM67A , AM68A , AM69A , DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4AEN-Q1 , TDA4AH-Q1 , TDA4AL-Q1 , TDA4AP-Q1 , TDA4APE-Q1 , TDA4VL-Q1 , TDA4VM , TDA4VP-Q1 , TDA4VPE-Q1
如节 2.6中所述,HWR 日志包含 GPU 驱动程序和固件的日志。要从 GPU 收集日志,可使用名为 pvrlogdump 的实用程序。pvrlogdump 是随 GPU 驱动程序安装附带提供的。默认情况下,该实用程序会将日志保存在 /tmp 目录中,并输出文件的名称以方便提取文件。除了 pvrlogdump 生成文件外,它对于共享应用执行的控制台也很有用,因为这显示了 HWR 发生的时间。以下是 pvrlogdump 命令输出的示例:
root@j721s2-evm:~# pvrlogdump
Checking driver state ............... initialised
Checking for debugfs ................ found
Checking for lockdep ................ not found
Checking for ftrace ................. not found
Checking for firmware log groups .... not found
There are no AppHints enabled in /etc/powervr.ini or in debugfs for any of the firmware log groups. Unless 'pvrdebug' tool was used for that purpose there will be no information in firmware log. Please consider enabling some of the firmware log groups before the problem occurs.
Dumping data ........................
[ 163.767302] PVR_K: 1005: User requested PVR debug info
[ 163.772711] PVR_K: 1005: ------------[ PVR DBG: START (High) ]------------
…
[ 164.363015] PVR_K: 1005: ------------[ PVR DBG: END ]------------
done
Archiving data ...................... done
File /tmp/pvrlogdump_2402262237.txt.gz was created.