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/AM5708: PVR errors

Part Number: AM5708


Tool/software: Linux

I am trying to get 3D graphics acceleration on my custom AM5708 board.

It is running TI Linux 4.9.69 that I built via Yocto (Rocko). 

This is where I see problem:

root@am5708:/# uname -a
Linux xyz 4.9.69-g5ec5e13ea6 #25 SMP PREEMPT Thu Jun 7 15:55:25 EDT 2018 armv7l armv7l armv7l GNU/Linux

root@am5708:/# pvrsrvctl --start
Failed to load /lib/modules/4.9.13-02406-g65617b1/extra/pvrsrvkm.ko: No such file or directory

root@am5708:/# ls /lib/modules/
4.9.69-g5ec5e13ea6

root@am5708:~# eglinfo
PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
PVR:(Error): Couldn't connect to services [0, ]
Unable to initialise egl
egl error 'EGL_BAD_ALLOC' (0x3003)

How do I tell pvrsrvctl to look for the right /lib/modules directory?