We are running a yocto build on an imx6 system based around the Wandboard module with a custom carrier board.
Using openGL with a framebuffer device (no X), imx-gpu-viv-1_5.0.11.p4.5.
What I am seeing is that when we issue an eglSwapBuffers call, 0's are being written several hundred bytes past the end of the framebuffer, into the next memory page.
In this particular case, this page was allocated by the kernel slub allocator, and contains tty driver data structures. This corruption of the kernel data structures eventually leads to a kernel crash.
Has anyone else seen any issues like this? Since I don't have source for libEGL-fb.so, I can't debug it any further!
I need a fix, or a work around for this!
Any help would be appreciated!