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.

AM3354 图形加速移植问题

Other Parts Discussed in Thread: AM3354

hi all

   我们现在在用am3354来移植图形加速,遇到个问题,麻烦大神解疑。

   使用的processor SDK版本是02.00.02.11

   在根据我们自己的板子的硬件修改am335x-evm.dts和.config文件以后,4.1.18的内核可以正常启动并挂载UBI文件系统。

   rootfs使用的是sdk里面的filesystem/arago-base-tisdk-image-am335x-evm.tar.gz这个解压出来的,并且从tisdk-rootfs-image-am335x-evm.tar.gz拷入了qt5的库,还有sgx相关的库,比如libEGL之类的库。

   然后尝试跑一个ti的基于qml的使用opengl的图形加速例子程序,但是遇到错误:

root@am335x-evm:/home/qml3358# ./qml3358 -platform eglfs
                    PVR_K:(Error): BridgedDispatchKM: Driver initialisation not completed yet.       
                    PVR:(Error): PVRSRVBridgeCall: Failed to access device.  Function ID:3223086849 (strerror returns no value.). [0, ]
                    PVR:(Error): PVRSRVEnumerateDevices: BridgeCall failed [0, ]
                    PVR:(Error): PVRSRVConnect: Unable to enumerate devices. [0, ]
                    PVR:(Error): Couldn't connect to services [0, ]
                    Could not initialize egl display
                    Aborted

因为这个qml3358的例子程序,在ti开发板TMDSSK3358上是可以跑的。所以不是kernel问题就是rootfs问题。

  

   不知问题在哪里?

   因为rootfs启动的时候,sgx的驱动部分加载,也没报什么错,所以不知所以。

   这里也附上我启动的log,dts文件,还有.config文件。