Hi Bio_TICFSL,
Thanks for your reply and sorry my late one, I was on vacation.
I did succeeded in compiling a new rootfs using yocto. This rootfs does not include x11 which is what I wanted cause our app will have to draw as soon the board will boot with no x11.
My local.conf file contains the following settings
<...>
DISTRO_FEATURES_remove = "x11 wayland "
DISTRO_FEATURES_append = " directfb "
<...>
But now when I try to compile the old gpu_sdk_v1.00 demo samples, it fails at the link stage because fbCreateWindow and fbGetDisplayByIndex are missing.
Indeed the libEGL.so file does not export these functions.
With another iMX6 board, one from Toradex, I succeeded in compiling these demo samples and our app too, cause some libEGL-xxx.so files were generated by yocto. One of them was libEGL-fb.so which contained the required functions.
I guess I have to rebuild some libs with Yocto to generate the missing libs or maybe these missing functions are now unsupported and replaced by new ones.
Do you know if I have to reconfigure Yocto with some flags so it will generate the missing libxxx-fb.so files ? If so, which flags should be used ?
Or do I have to rewrite my app's initialization function so it will use other functions than fbCreateWindow & fbGetDisplayByIndex ?
Our app must run without X11.
Thanks for your help.
Best regards,