Search code examples
linuxarmdriverxorgxserver

developing a linux driver for X server and custom display hardware


I have asked this question at unix.stackexchange and got paradoxical answers through comments. so decided to ask it again here.

I am going to show Linux desktop environment on a LCD connected to a zynq board with ARM Cortex A9 processor. My idea is to write a driver for its Linux that sends desktop environment displaying data from X server to my hardware.

How can I write driver for kernel interacting with X server and my own hardware to show linux desktop environment?


Solution

  • The easiest way of doing this will be to write a fbdev (framebuffer device) driver for your system. Xorg already supports framebuffer devices, so it will be able to use your display with no modifications; as a bonus, the Linux console can use the framebuffer too.