Direct framebuffer access without X

Hi all! For one project I need to use BPI M2 Zero under linux without Xwindow system, but I need to output some simple graphics (display a PNG file and draw some text over it). I looked through a pack of libraries, from DirectFB to Raylib, but all they seem to require some adaptation efforts to run on M2 Zero. Maybe anybody have had success with similar tasks? Please share your experience then.