Browse Source

visionfive2: starfive-visionfive2.conf: Configure mesa, egl and gles provider
Credit to cordlandwehr as cherry-pick is not available.

Signed-off-by: weiheng.cheng <weiheng.cheng@starfivetech.com>

weiheng.cheng 1 year ago
parent
commit
ea83f7142e
1 changed files with 10 additions and 0 deletions
  1. 10 0
      conf/machine/starfive-visionfive2.conf

+ 10 - 0
conf/machine/starfive-visionfive2.conf

@@ -12,6 +12,16 @@ SERIAL_CONSOLE = "115200 ttyS0"
 PREFERRED_PROVIDER_virtual/kernel = "linux-starfive-dev"
 PREFERRED_PROVIDER_virtual/bootloader = "u-boot-starfive"
 
+# For core-image-minimal-xfce
+PREFERRED_PROVIDER_virtual/libgl ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/mesa ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/libgbm ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/egl ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/libgles2 ?= "visionfive2-pvr-graphics"
+PREFERRED_PROVIDER_virtual/libomxil ?= "libsf-omxil"
+
 PREFERRED_VERSION_glibc ?= "2.35"
 PREFERRED_VERSION_gcc ?= "11.3.0"
 PREFERRED_VERSION_binutils ?= "2.38"