[U-Boot] [PATCH 0/5] db410c: updates for grub + gfxterm
Rob Clark
robdclark at gmail.com
Sat Jun 24 23:05:18 UTC 2017
In particular, support for display setup by lk. This introduces a
simplefb display driver that uses the framebuffer fdt node populated
by the firmware[1] for u-boot display support (and, at least for
what I am working on, more interestingly, EFI GOP support).
In general, most snapdragon devices have a lk firmware which can
light up the display. And mdp5 is a rather complex display controller
block (not to mention different mdp4 block for older generations, and
hdmi vs dsi blocks). So rather than duplicate all of that in u-boot,
add a video driver similar to linux's simplefb, which simply takes
over a display setup by an earlier boot stage.
The simplefb video driver is so far only used on snapdragon, but the
implementation is totally generic so probably useful on other devices
in the future.
A few related patches so that on db410c we actually use the fdt
passed by lk (and so that dm/core is clever enough to notice fdt
nodes under "chosen"), config updates, and related fixes.
[1] https://github.com/robclark/lk/commits/db410c-display
Rob Clark (5):
board/db410c: use fdt passed from lk
dm: core: also parse chosen node
video: simplefb
efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD
configs: db410c: config updates
arch/arm/Kconfig | 2 +-
board/qualcomm/dragonboard410c/dragonboard410c.c | 16 ++++++
cmd/bootefi.c | 2 +-
configs/dragonboard410c_defconfig | 7 +++
drivers/core/root.c | 22 +++++++-
drivers/video/Kconfig | 10 ++++
drivers/video/Makefile | 2 +-
drivers/video/simplefb.c | 68 ++++++++++++++++++++++++
lib/efi_loader/Makefile | 1 +
lib/efi_loader/efi_gop.c | 7 ++-
10 files changed, 132 insertions(+), 5 deletions(-)
create mode 100644 drivers/video/simplefb.c
--
2.9.4
More information about the U-Boot
mailing list