Bug 13316

Summary: beaglebone_qt5_defconfig: PowerVR fails to start
Product: buildroot Reporter: Desmond <desmondjgood>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: 2020.08   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Desmond 2020-11-17 01:02:56 UTC
Hello,

It seems like an image built with beaglebone_qt5_defconfig is broken for my BeagleBone Black Wireless but I'm pretty new to playing around with Buildroot so apologies if I'm missing something simple.

During the boot process, I can see a failure in the /etc/init.d/S80ti-sgx startup script:

Starting PowerVR services: FAIL

The script attempts to load the pvrsrvkm module and then runs "/usr/bin/pvrsrvctl --start --no-module", which then fails (or returns a non-zero return code). Attempting to run the command manually yields:

PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
PVR:(Error): PVRSRVInitSrvConnect: PVRSRVConnect failed [0, ]
PVR:(Error): SrvInit: PVRSRVInitSrvConnect failed (4) [0, ]
/usr/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=PVRSRV_ERROR_INIT_FAILURE)

I've been using the following resource to help determine where my configuration has gone wrong: https://elinux.org/BeagleBoneBlack/SGX_%2B_Qt_EGLFS_%2B_Weston#Check_access_of_SGX_drivers

From that, I'm thinking there's a problem with the SGX drivers since /sys/devices/platform/ocp/56000000.sgx isn't there. I think the config is using the TI version of the kernel and the device tree looks okay. So I'm not sure what's wrong at this point and not quite knowledgable enough to try to debug where it's failing further.

Any help is appreciated!

Desmond Good
Computer Engineering Student
University of Waterloo
Comment 1 Adam Duskett 2020-11-17 15:20:51 UTC
(In reply to Desmond from comment #0)
Hello;

I have had a pending patch for a while concerning this.

Feel free to give it a try and if it works, please give it a Tested-by!

https://patchwork.ozlabs.org/project/buildroot/patch/20200702201125.3639873-1-aduskett@gmail.com/
Comment 2 Adam Duskett 2020-12-21 18:37:29 UTC
This has been resolved with commit 814bfc5ec1ab49188d1c8cb7f0d8d857b92d6a03.