I am trying to set up the display software for a Sharp LQ0431DG01
on a Rev C board. I am very new at the whole process of writing
drivers and so need help with a few things. I have done what I could
look around to avoid having to ask noob questions but I still need
clarification about a few things. Basically I need verification as to
what support is offered by the kernel in terms of display drivers as
well as the steps that need to be taken to get this thing up and
running. I am strictly dealing with the software side of things.
Here are the steps that I understand need to be taken:
1) Turn on .../drivers/video/omap2 driver by making sure it was
enabled in the config.
2) Append the additions described in this thread
to .../drviers/video/omap2/omapfb/omapfb-main.c. Recompile kernel. (We
can now see /dev/fb, /dev/fb0 etc on the beagle).
3) Write a userspace application that interfaces the kernel and
userspace using the ioctl commands given in .../drivers/video/omap2/
omapfb/omapfb_ioctl.c. Doing so appropriately would all me to paint
My problem is with step (2). Does this modification appropriately make
all of the connections to the J4 and J5 display ports? What else might
I have to do to get this all wired up correctly? What else do I need
to do to initialize the screen properly?
Another note: the modification in (2) fails to compile and needs to be
modified to work properly. That's fine, I am more interested in
understanding the process than getting all the syntax right.
I am sorry for the noob question, I haven't done much with writing
drivers before. I very much appreciate any help you guys can offer.