[EMAIL PROTECTED] wrote:
Can anyone point me in the right direction to info about the framebuffer and customizing it to allow for an SPI output interface?

Take a look at the deferred I/O support for framebuffers in the kernel. It only went in very recently (2.6.23ish IIRC), so you'll need to use the git kernel (or try and backport the def I/O framework to your kernel - I suspect it's not going to be trivial). But the framework makes life much easier for framebuffers that are not a simple memory mapped area. I've written a framebuffer driver in this way for a framebuffer with its own magic protocol and it works beautifully. See

http://source.mvista.com/git/?p=linux-davinci-2.6.git;a=blob;f=Documentation/fb/deferred_io.txt

for more info, and

http://source.mvista.com/git/?p=linux-davinci-2.6.git;a=blob;f=drivers/video/hecubafb.c

for an example driver.

If you can't move to the git kernel, one alternative might be to rewrite the drawing backend of your GUI application. For example, Qt and DirectFB allow you to do this, but it'll be specific to your toolkit and less portable elsewhere.

Hope this helps,
Bernard.


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to