Skip to content

db410c: updates for grub + gfxterm

Rob Clark u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5board/db410c: use fdt passed from lkboard/qualcomm/dragonboard410c/dragonboard410c.c+16 -01 reply
2/5dm: core: also parse chosen nodedrivers/core/root.c+21 -10 replies
3/5video: simplefbdrivers/video/Kconfig drivers/video/Makefile drivers/video/simplefb.c+79 -10 replies
4/5efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCDcmd/bootefi.c lib/efi_loader/Makefile lib/efi_loader/efi_gop.c+8 -27 replies
4/5efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD+0 -02 replies
4/5efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD+0 -00 replies
4/5efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD+0 -00 replies
5/5configs: db410c: config updatesarch/arm/Kconfig configs/dragonboard410c_defconfig+8 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/5] db410c: updates for grub + gfxterm

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
Signature · 1 line
2.9.4