beagleboard / buildroot

Buildroot, making embedded Linux easy. Note that this is not the official repository, but only a mirror. The official Git repository is at http://git.buildroot.net/buildroot/. Do not open issues or file pull requests here.
http://buildroot.org
Other
1 stars 0 forks source link

Minimal X11 build failing to start xorg #3

Open colmekik opened 2 years ago

colmekik commented 2 years ago

Using a BeagleBone Black Industrial, I'm able to get a buildroot image to build and run. However, despite trying all manner of configuration variations the xorg server fails to start due to a missing module (a framebuffer). The missing module and file are either "libfb"/'libfb.so' or "fbdev"/"fbdev_drv.so" depending on which options are chosen while configuring buildroot .config. I'm able to get a working minimal X11 build using Yocto and the 'libfb.so' module is present in the /usr/lib/xorg/modules directory(where it should be). Doing a bit of digging shows that the source files necessary to build 'libfb' are present in the xserver source code.

I'm attaching the current .config (renamed) file I'm using with buildroot. What is the secret sauce to getting a viable xorg server built in buildroot? current.txt

Best, Ian

RobertCNelson commented 2 years ago

@colmekik try the "qt5" config: https://github.com/buildroot/buildroot/blob/master/configs/beaglebone_qt5_defconfig

in debian we default to xserver-xorg-video-fbdev for the AM33'x based beagle's...

Regards,

colmekik commented 2 years ago

@RobertCNelson sadly the beaglebone_qt5_defconfig does not utilize X at all. I've included xserver-xorg-video-fbdev in test configurations quite often in my experimentation, unfortunately the necessary module just doesn't get built.

RobertCNelson commented 2 years ago

That's a bummer... i thought it did...