This is v2 of my patch set posted on 10/24. It adds framebuffer support for the RPi and provides an additional config knob to set up the kernel's simplefb driver. The active barebox framebuffer is basis for that feature, so that other platforms can make use of it. This simplefb option depends on the bcm2835 fb driver since drivers need to be aware of simplefb: framebuffers need to stay configured and cannot be teared down. The RPi case is rather simple in this regard. The allocated framebuffer lies within the memory range of the VideoCore of the ARM/VC memory split. Hence, there is no memory range that needs to be reserved as far as the ARM side of things is concerned. This likely needs to be added once other fb driver want to use simplefb. Changes since v1: * renamed "pitch" to "line_length" to match the kernel * the bcm2835 framebuffer driver is now standalone * configuring simplefb for the kernel is based on the active barebox framebuffer Andre Heider (6): fb: add a line_length value to struct fb_info gui: convert graphic utils to respect line_length gui: convert the bmp renderer to respect line_length ARM: bcm2835: add missing mbox overscan response field video: add a BCM2835 framebuffer driver video: set up the kernel's simple framebuffer driver arch/arm/boards/raspberry-pi/rpi.c | 1 + arch/arm/mach-bcm2835/include/mach/core.h | 5 + arch/arm/mach-bcm2835/include/mach/mbox.h | 1 + drivers/video/Kconfig | 14 +++ drivers/video/Makefile | 2 + drivers/video/bcm2835.c | 136 ++++++++++++++++++++++++ drivers/video/fb.c | 11 +- drivers/video/simplefb.c | 171 ++++++++++++++++++++++++++++++ include/fb.h | 1 + lib/gui/bmp.c | 8 +- lib/gui/graphic_utils.c | 10 +- 11 files changed, 349 insertions(+), 11 deletions(-) create mode 100644 drivers/video/bcm2835.c create mode 100644 drivers/video/simplefb.c -- 1.8.3.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox