[Buildroot] EGLFS Could Not Find DRM Device!

Peter Seiderer ps.report at gmx.net
Wed Aug 18 16:11:26 UTC 2021


Hello Scott,

On Wed, 18 Aug 2021 13:08:28 +0000, Scott Bartolett <SBartolett at thorlabs.com> wrote:

> Hi Peter,
>
> On a raspbian install I find the file vc4-kms-v3d.dtbo.  However on the buildroot install, I do not find any files that match vc4-kms-v3d*.   I've searched for and enabled additional items in the buildroot config that might be related, but nothing has helped yet.

The buildroot config option is name BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS,
do not forget to do a full re-build of the rpi-firmware package after enabling...

For inclusion of the overlay files to the target/SD-card boot/first partition
check/add the 'rpi-firmware/overlays' entry in the genimage file (see e.g.
board/raspberrypi3/genimage-raspberrypi3.cfg for an example)...

Regards,
Peter

>
> Thanks,
> Scott
>
>
> -----Original Message-----
> From: Peter Seiderer [mailto:ps.report at gmx.net]
> Sent: Tuesday, August 17, 2021 2:10 PM
> To: Scott Bartolett <SBartolett at thorlabs.com>
> Cc: buildroot at busybox.net
> Subject: Re: [Buildroot] EGLFS Could Not Find DRM Device!
>
> Hello Scott,
>
> On Tue, 17 Aug 2021 17:47:49 +0000, Scott Bartolett <SBartolett at thorlabs.com> wrote:
>
> > Hi all,
> >
> > I'm trying to run a Qt5 application on a Raspberry Pi running buildroot.  The application runs fine when I use the platform plugin linuxfb.  But when I try to use eglfs I'm getting the error that the DRM Device is not found.  I see this error message mentioned often when doing a search, but so far have not found any solution that works for me.  I've selected:
> > BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D
> > BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
> > BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO
> > BR2_PACKAGE_MESA3D_OPENGL_ES
> > BR2_PACKAGE_QT5BASE_OPENGL_ES2
> > BR2_PACKAGE_QT5BASE_EGLFS
> >
> > Does anyone have any suggestions?
>
> Edit the config.txt file on the first/boot partition on the SD card and add (for RPi4):
>
> 	dtoverlay=vc4-kms-v3d-pi4
>
> or (for Rpi3,...):
>
> 	dtoverlay=vc4-kms-v3d
>
> See [1] for details...
>
> Regards,
> Peter
>
> [1] https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fraspberrypi%2Ffirmware%2Fblob%2Fmaster%2Fboot%2Foverlays%2FREADME&data=04%7C01%7CSBartolett%40thorlabs.com%7C919da371d81c4cb2c6b308d961aa4771%7C411510044224448aa787d4279c1f087d%7C0%7C0%7C637648206254285944%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=QZiffVLIgJEx40pM6%2BtT7y9teGDYDYaqrl8T%2Fz861rM%3D&reserved=0
>
> >
> > Thanks,
> > Scott
> >
>




More information about the buildroot mailing list