How to add Directfb support into the rootf of core-image-minimal Yocto project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add Directfb support into the rootf of core-image-minimal Yocto project

1,645 Views
ethanyang
Contributor II

To minimize the rootfs size (I'm using a 64MB spi-nor flash), I tried to add pre-built directfb libraries into the rootfs created from core-image-minimal Yocto project.

However I found that DirectFB was always using "dummy graphics" on my IMX6UL EVK.

The frame buffer device (/dev/fb0) was there but DirectFB never tried to use/open it.

What else configurations/features do I need to make DirectFB recognizing the framebuffer?

Labels (3)
0 Kudos
1 Reply

794 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Ethan Yang,

I would recommend adding the directfb recipe to your image or the packagegroup-core-directfb, which includes directfb, the directfb-examples and touchscreen support. You may add them on the conf/local.conf file:

IMAGE_INSTALL_append = “ packagegroup-core-directfb”

I hope this helps!

0 Kudos