BeagleBone Black Wireless trouble with porting SGX530 drivers

106 views
Skip to first unread message

pavel.pe...@gmail.com

unread,
Oct 12, 2018, 4:03:11 PM10/12/18
to BeagleBoard

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.

Robert Nelson

unread,
Oct 12, 2018, 4:08:44 PM10/12/18
to Beagle Board, pavel.pe...@gmail.com
On Fri, Oct 12, 2018 at 3:03 PM <pavel.pe...@gmail.com> wrote:
>
> 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..

Regards,

--
Robert Nelson
https://rcn-ee.com/

Jason Kridner

unread,
Oct 15, 2018, 10:05:08 AM10/15/18
to beagl...@googlegroups.com, pavel.pe...@gmail.com


> On Oct 12, 2018, at 4:08 PM, Robert Nelson <robert...@gmail.com> wrote:
>
>> On Fri, Oct 12, 2018 at 3:03 PM <pavel.pe...@gmail.com> wrote:
>>
>> 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?

>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYh%3DMGqDZU%3D6MZyEj8VmO_xGyFQqPp-dFmp0ncUWNMYizg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

Jaremy Creechley

unread,
Oct 24, 2018, 1:32:17 AM10/24/18
to BeagleBoard
> 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,

msg4...@gmail.com

unread,
Oct 25, 2018, 7:49:56 AM10/25/18
to BeagleBoard
We have the same issue with the SGX driver. What is the reason why it is not usable in the debian or ubuntu image?
Reply all
Reply to author
Forward
0 new messages