Other Parts Discussed in Thread: PROCESSOR-SDK-AM335X
Hello,
I am building TI Linux to experiment with graphics on the BeagleBone Black. Per the instructions, I create the image as follows:
- git clone git://git.ti.com/arago-project/oe-layersetup.git tisdk
- cd tisdk
- ./oe-layertool-setup.sh -f configs/coresdk/coresdk-08.04.00.005-config.txt
- Change local.conf such that:
- MACHINE ?= "beaglebone"
- . conf/setenv
- bitbake tisdk-default-image
(Note: I have done the one-time operation to disable dash.)
There are specific instructions to configure the pixel format when using the BBB. Mentioned is modification of the /etc/powervr.ini file. This is where my trouble begins - there is no powervr.ini file.
I have been able to piece together a powervr.ini file, by referencing the SGX Debug Info and the beagleboard.org ImgTec release.
[default] WindowSystem=libpvrDRMWSEGL.so DefaultPixelFormat=RGB565
Unfortunately, I believe this to be incorrect. The SGX Debug Info lists out two options for the WindowSystem:
-
libpvrDRMWSEGL.so
-
libpvrGBMWSEGL.so
Neither of these libraries is present in /usr/lib.
I have been able to locate an email archive and a corresponding git commit where these libraries are removed from the recipe. The message indicates the removal is work towards a Mesa-based EGL/GLES.
Additional relevant information can be found in the power-vr drivers recipe for the BeagleBone Black:
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT} WINDOW_SYSTEM=nulldrmws'
Here you can see WINDOW_SYSTEM has been set to nulldrmws.
This define controls how the SGX driver is built, as the makefile shows:
... else ifeq ($(WINDOW_SYSTEM),nulldrmws) OPK_DEFAULT := libpvrDRMWSEGL.so OPK_FALLBACK := libpvrDRMWSEGL.so SUPPORT_DRI_DRM := 1 PVR_LWS_NODC := 1 endif
This leads me to the following questions:
- Does the PowerVR driver still require libpvrDRMWSEGL.so?
- If so, how can I satisfy that requirement given the library was removed from meta-ti?
- If not, is it necessary to supply a different value in the powervr.ini file? What is it supposed to be?
Thank you much in advance for your help!