SK-AM69: Errors with DRM on yocto scarthgap build.

Part Number: SK-AM69

Tool/software:

Hello,

I have been trying to get our graphical application (using SDL and GLES) to run on the SK-AM69 evaluation board using Yocto (scarthgap) and the meta-ti-bsp layer. I am using Weston and I have been able to boot into that, but I have been running into issues trying to create a window with SDL, getting the following error:

wl_drm@19: error 0: authenticate failed

To test whether this was an issue with our program, I tried to just get the kmscube program running, and got the following DRM error:

no connected connector!

failed to initialize legacy DRM

My build/conf/local.conf just trying to run kmscube looks like:

IMAGE_INSTALL:append = " ti-img-rogue-umlibs ti-img-rogue-driver"                                                                                                                                                                                                               
PREFERRED_PROVIDER_virtual/gpudriver = "ti-img-rogue-driver"                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                
DISTRO_FEATURES:append = " systemd pam"                                                                                                                                                                                                                                         
INIT_MANAGER = "systemd"                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                
DISTRO_FEATURES:remove = " vulkan"                                                                                                                                                                                                                                              
DISTRO_FEATURES:append = " opengl"                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                
IMAGE_INSTALL:append = " libdrm"                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
IMAGE_INSTALL:append = " kmscube"                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                                                
PACKAGECONFIG:append:pn-libsdl2 = " gles2 kmsdrm arm-neon"                                                                                                                                                                                                                      
PACKAGECONFIG:append:pn-weston = " kms egl wayland"                                                                                                                                                                                                                             
PACKAGECONFIG:append:pn-mesa = " gbm egl"                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-modules"                                                                                                                                                                                                                         
MACHINE ??= "am69-sk"   

I just wanted to check whether I had done anything wrong in my configuration with regards to the board, or missed any necessary installs onto the image, or whether this is an issue with drivers?

Thanks