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.

Building pvrsvrinit from source for AM335x

Expert 1935 points

Hello,


I checked out the graphics SDK, the current one also used in the processor SDK 02.00.01.07.

It builds a kernel module (omapdrm_pvr.ko) but I still need pvrsrvinit and probably some more shared libs (at least compared to the old graphics sdk).

The Makefile doesn't seem to provide a target to build pvrsrvinit.

This thread seems related but does not state how to build the user space binary: https://e2e.ti.com/support/arm/sitara_arm/f/791/p/480383/1753065#1753065

How can I build pvrsrvinit?

Do I need any other shred libs to run the SGX?

Best regards,

Lo

  • Hi,

    Sources of pvrsrvinit are not publicly available.

    The binary itself & the needed user modules can be downloaded from here:
    git.ti.com/.../omap5-sgx-ddk-um-linux

    Best Regards,
    Yordan
  • Hello Yordan,

    I cloned: git://git.ti.com/graphics/omap5-sgx-ddk-linux.git
    Checked out commit ID f7ae3f68dd6a05f67b15702b823ed15d2c03105d

    (That shoud match the current SDK version)

    I set the approproate variables (ARCH, KERNELDIR, DISCIMAGE, PVR_NULLDRM=1) , cd to eurasia_km/eurasiacon/build/linux2/omap335x_linux and run:

    make

    make kbuild_install

    This results in the kernel module omapdrm_pvr.ko (built & installed) but no pvr* file, neither build or installed.

    Do I miss a make step or evironment variable?

    Best regards,

    Lo

  • Hi,

    That is because you are building & installing the omap5-sgx-ddk kernel modules.  

    As I posted above you need omap5-sgx-ddk-um-linux (USER modules), they are located in the git repo in my previous reply. 

    Best Regards, 
    Yordan