With MX6 selection of the framebuffer device bound to EGL is done as follows:
EGLNativeDisplayType native_display = fbGetDisplayByIndex(fbnum); // fbnum is an integer for /dev/fb1 fbnum = 1.
EGLNativeWindowType native_window = fbCreateWindow(native_display, 0, 0, 0, 0);
EGLDisplay egldisplayGL = eglGetDisplay(native_display);
eglInitialize(egldisplayGL, NULL, NULL);
...
Philip