New: beaglebone_qt5_defconfig: PowerVR fails to start
https://bugs.busybox.net/show_bug.cgi?id=13316
Bug ID: 13316
Summary: beaglebone_qt5_defconfig: PowerVR fails to start
Product: buildroot
Version: 2020.08
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: desmondjgood at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---
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
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 13316] beaglebone_qt5_defconfig: PowerVR fails to start
https://bugs.busybox.net/show_bug.cgi?id=13316
--- Comment #1 from Adam Duskett <[email protected]> --- (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 at gmail.com/
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 13316] beaglebone_qt5_defconfig: PowerVR fails to start
I've just commented on the mentioned patch what was required for me to get it working:
http://buildroot-busybox.2317881.n4.nabble.com/PATCH-1-1-package-ti-sgx-km-um-bump-to-SDK-06-01-00-08-versions-tp259034.html
My Qt Quick app now happily runs on eglfs after struggling for a long time to get it working!
--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
[Buildroot] [Bug 13316] beaglebone_qt5_defconfig: PowerVR fails to start
Markrus,
Feel free to take my patch, modify it, and re-submit it, as I am no longer actively submitting patches to the Buildroot project.
Adam
Quoted 16 lines · Markus Zehnder
I've just commented on the mentioned patch what was required for me to get it working:
http://buildroot-busybox.2317881.n4.nabble.com/PATCH-1-1-package-ti-sgx-km-um-bump-to-SDK-06-01-00-08-versions-tp259034.htmlMy Qt Quick app now happily runs on eglfs after struggling for a long time to get it working!
--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
[Buildroot] [Bug 13316] beaglebone_qt5_defconfig: PowerVR fails to start
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=13316
Adam Duskett <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #2 from Adam Duskett <[email protected]> ---
This has been resolved with commit 814bfc5ec1ab49188d1c8cb7f0d8d857b92d6a03.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.