[PATCH 0/6] simple framebuffer driver with RPi support
Andre Heider
a.heider at gmail.com
Thu Oct 24 16:23:40 EDT 2013
This set adds a common simple framebuffer driver for platforms which choose
to support it. RPi support is part of this set.
The driver serves two functions:
* a framebuffer driver for barebox
* pass an active framebuffer configuration to a loaded kernel
For the latter to work the loaded kernel has to be CONFIG_FB_SIMPLE enabled.
Depending on the configured video mode, the RPi video hardware sets up a
framebuffer with noncontiguous horizonal lines. Patch 1, 2 and 3 prepare
common fb and gui code to support that.
Patch 4 is the driver itself, patch 6 adds support for simplefb to RPi.
Patch 5 just adds a missing field on a fb related mbox response.
Thanks,
Andre
Andre Heider (6):
fb: add a stride value to struct fb_info
gui: convert graphic utils to respect the stride value
gui: convert the bmp renderer to respect the stride value
video: add a simple framebuffer driver
ARM: bcm2835: add missing mbox overscan response field
ARM: rpi: add support for simplefb
arch/arm/boards/raspberry-pi/rpi.c | 84 +++++++++++
arch/arm/mach-bcm2835/include/mach/mbox.h | 1 +
drivers/video/Kconfig | 12 ++
drivers/video/Makefile | 1 +
drivers/video/fb.c | 11 +-
drivers/video/simplefb.c | 224 ++++++++++++++++++++++++++++++
include/fb.h | 1 +
include/video/simplefb.h | 21 +++
lib/gui/bmp.c | 8 +-
lib/gui/graphic_utils.c | 10 +-
10 files changed, 362 insertions(+), 11 deletions(-)
create mode 100644 drivers/video/simplefb.c
create mode 100644 include/video/simplefb.h
--
1.8.3.2
More information about the barebox
mailing list