How can I write Linux driver for LCD screen?

I'll start by explaining what I want to do.

I have BeagleBone Black working with Ubuntu 13.04, and this TFT LCD with a touch screen .

There is a library for the touch screen that you can use with Arduino to draw primitive graphics and text on the screen. However, instead of just adapting this library to work on BeagleBone, I would like to write a driver for this LCD, which will allow me to display a graphical interface created using Qt.

According to the Qt website, embedded Linux applications are written directly to the frame buffer.

I use this book for reference when writing drivers, but I could not find much information about how the frame buffer works and how it will interact with the LCD driver.

My questions:

  • Do I need to implement my own frame buffer in order to use Qt to draw a GUI on this screen?
  • If so, will I need to implement a separate driver for the screen to interact with the frame buffer, or will the frame buffer also handle sending data to the screen?
  • Can anyone suggest any examples or reference materials for developing drivers for LCD screens?
+6
source share

Source: https://habr.com/ru/post/949911/


All Articles