This is really a frame buffer driver.

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 <yanok@emcraft.com>
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_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.

Related Links