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?
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!