BeagleBone Black Wireless trouble with porting SGX530 drivers

Hello, everyone!

I need some help with my Bone Black Wireless.

I have ported sgx530 drivers on mainline linux kernel 4.14.49-ti-r54 with next steps:

  1. download and install ti-processor-sdk-linux-am335x-evm-05.00.00.15 in ~/

  2. cd ti-processor-sdk-linux-am335x-evm-05.00.00.15/board-support/extra-drivers/ti-sgx-ddk-km-1.14.3699939/eurasia_km/eurasiacon/build/linux2/omap_linux/

  3. export PATH=$PATH:/home/user/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf/bin/

  4. export KERNELDIR=/home/user/kernel/ti-linux-kernel-dev/KERNEL/

  5. export CROSS_COMPILE=arm-linux-gnueabihf-

  6. export ARCH=arm

  7. export TARGET_PRODUCT=ti335x

  8. make BUILD=release

Well, compilation finished even without an error.

Then I copied pvrsrvkm.ko on my BeagleBoard to folder /lib/modules/4.14.49-ti-r54/

After this I did next things:

  1. turned on the board

  2. after download lxqt, I tried in terminal ‘depmod’

  3. modinfo pvrsrvkm works and show me information about pvrsrvkm.ko

  4. Well, next I typed pvrsrvctl --start, all is good, without an error

  5. and then I started PVRPerfServerDeveloper

  6. server see SGX530 driver, but then I on my host machine trying see through PVRTuneDeveloperGUI GPU loading, where is no GPU loading at all, only CPU curve, and on my BeagleBoard very low frame rate through glxgears (about 14-15 frame per 5 seconds).

My questions is what I do wrong, and why on my beagleboard pvrsrvkm modules doesn’t work as it need??

In device tree dtb sgx is enabled, I checked it.

In https://e2e.ti.com/support/processors/f/791/p/736555/2719627#2719627 for me advised to downgrade kernel version, but that didn’t help me. Only resolution become right.

Many thanks for any help.

Ah, use TI's sdk release directly if you want sgx graphics accerlation..

It's currently unusable in our debian and ubuntu images..

Regards,

Hello, everyone!

I need some help with my Bone Black Wireless.

I have ported sgx530 drivers on mainline linux kernel 4.14.49-ti-r54 with next steps:

Ah, use TI's sdk release directly if you want sgx graphics accerlation..

It's currently unusable in our debian and ubuntu images..

Where’s the breakage?

Ah, use TI’s sdk release directly if you want sgx graphics accerlation…

Does that mean to use TI’s latest Linux branch, at 4.9? Or do you just mean the TI sdk?

Best,

Ah, use TI’s sdk release directly if you want sgx graphics accerlation…

Does that mean to use TI’s latest Linux branch, at 4.9? Or do you just mean the TI sdk?

Best,

Hello, everyone!

I need some help with my Bone Black Wireless.

I have ported sgx530 drivers on mainline linux kernel 4.14.49-ti-r54 with next steps:

Ah, use TI’s sdk release directly if you want sgx graphics accerlation…

It’s currently unusable in our debian and ubuntu images…

We have the same issue with the SGX driver. What is the reason why it is not usable in the debian or ubuntu image?