BCM2835 / simple framebuffer support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 13 repliesIn review
- v16 patches 5 repliesSuperseded
Changes in v2 from the cover letter
* 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
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | fb: add a line_length value to struct fb_infodrivers/ include/ | +10 | 5 replies | |
| 2/6 | gui: convert graphic utils to respect line_lengthlib/ | +5 | 0 replies | |
| 3/6 | gui: convert the bmp renderer to respect line_lengthlib/ | +4 | 0 replies | |
| 4/6 | ARM: bcm2835: add missing mbox overscan response fieldarch/ | +1 | 0 replies | |
| 5/6 | video: add a BCM2835 framebuffer driverarch/ arch/ drivers/ +2 more | +149 | 0 replies | |
| 6/6 | video: set up the kernel's simple framebuffer driverdrivers/ drivers/ drivers/ | +180 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/6] BCM2835 / simple framebuffer support
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
Signature · 7 lines
1.8.3.2 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox