OSL TFT Driver

This is really a frame buffer driver. There is a version of the driver in the mainline that only works with a DCR interface. We have a new version of the driver in the development branch that also uses the PLB bus for register access. A patch has been submitted to the mainline kernel to get the driver updated.

Update: Grant Likely has since updated the driver again for minor changes and it is now in 2.6.31-rc1.

The newer version of the driver also needs another commit that updates the virtual memory and this commit is in the development branch on top of the driver commit. Without the virtual memory commit, it's necessary to change the kernel configuration item CONSISTENT_START to be a value of 0xFF000000.

author Ilya Yanok <moc.tfarcme|konay#moc.tfarcme|konay>
Thu, 12 Feb 2009 13:20:53 +0000 (13:20 +0000)
commit fd4a3286d2aaef2d3e2878c83a682ff4af480293
tree cfd83178d8eb681a5db2b153ac82494fed3412ab tree | snapshot
parent 9f1f881ce8dfb06b4282006c5b370a978eb9b0aa commit | diff

powerpc: Rework dma-noncoherent to use generic vmalloc layer

This patch rewrites consistent dma allocations support to use vmalloc
layer to allocate virtual memory space from vmalloc pool and get rid
of CONFIG_CONSISTENT_{START,SIZE}.

This greatly simplifies the code by effectively removing a custom
allocator we had for virtual space.

Hardware Testing

Testing was done with the ML507 with the TFT on the PLB bus.

Kernel Configuration

The following items are required in the kernel configuration to use the driver.

Select the Xilinx Frame Buffer (CONFIG_XILINX_FB_XILINX) in the kernel configuration by following this path thru the menuconfig.

From drivers->
Graphics support->
Support for frame buffer devices->
Xilinx frame buffer support

Select the Frame Buffer Console driver (CONFIG_FRAMEBUFFER_CONSOLE) in the kernel configuration by following this path thru the menuconfig.

From drivers->
Graphics support->
Console display driver support->
Framebuffer Console support

Note: "Console display driver support" does not show up in the menuconfig until you select Virtual terminal (CONFIG_VT) in the kernel configuration by following this path thru the menuconfig.

From Device Drivers->
Character devices->
Virtual terminal

Kernel Command Line

Add "console=tty0" to use the frame buffer as the primary console.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License