[PATCH v4 00/15] Add splash screen support at u-boot SPL

Nikhil M Jain n-jain1 at ti.com
Wed Mar 29 14:01:04 CEST 2023


To enable splash screen at SPL stage move video driver and splash screen
framework at SPL, which will bring up image on display very quickly and
thus have early display support in SPL.

Change in V4
- Add Reviewed-by tag in apprpriate patch

Change in V3
- Add separate video configs for SPL splash screen
- Add rule to compile video driver in drivers/Makefile at SPL
- Add rule to compile splash.c and splash_source.c
- Squash drivers: video: video-uclass: Disable u-boot logo at SPL into
  drivers: video: Use CONFIG_IS_ENABLED and CONFIG_VAL
- Split cmd/bmp.c to separate bmp functions and commands.
- Add CONFIG_BMP and CONFIG_SPL_BMP.
- Add rule to compile necessary files required for video driver. 
- Add rule to compile common/bmp.c

Change in V2
- Removed artifacts from bad patch apply. 

Nikhil M Jain (15):
  drivers: video: Kconfig: Add configs for enabling video at SPL
  drivers: video: tidss: Kconfig: Configs to enable TIDSS at SPL
  drivers: Makefile: Add rule to compile video driver
  drivers: video: Makefile: Rule to compile necessary video driver
    files.
  drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL
  common: Makefile: Add rule to compile splash and splash_source at SPL
  common: Kconfig: Add BMP configs
  cmd: bmp: Split bmp commands and functions
  cmd: Makefile: Rule to compile bmp_cmd
  common: Makefile: Rule to compile bmp.c
  drivers: video: Enable necessary video functions at SPL
  common: Enable splash functions at SPL
  include: Enable video related global data variable and splash at SPL
  common: splash: Replace CONFIG_CMD_BMP
  board: ti: am62x: evm: OSPI support for splash screen

 board/ti/am62x/evm.c              |   8 +-
 cmd/Makefile                      |   3 +-
 cmd/bmp_cmd.c                     |  98 +++++++++++++
 common/Kconfig                    |  12 ++
 common/Makefile                   |   3 +
 {cmd => common}/bmp.c             | 114 +--------------
 common/splash.c                   |  10 +-
 drivers/Makefile                  |   2 +-
 drivers/video/Kconfig             | 221 ++++++++++++++++++++++++++++++
 drivers/video/Makefile            |  10 ++
 drivers/video/console_normal.c    |   6 +-
 drivers/video/tidss/Kconfig       |   6 +
 drivers/video/tidss/Makefile      |   2 +-
 drivers/video/vidconsole-uclass.c |   2 +-
 drivers/video/video-uclass.c      |  14 +-
 drivers/video/video_bmp.c         |   8 +-
 include/asm-generic/global_data.h |   4 +-
 include/splash.h                  |   6 +-
 include/video.h                   |   7 +
 19 files changed, 399 insertions(+), 137 deletions(-)
 create mode 100644 cmd/bmp_cmd.c
 rename {cmd => common}/bmp.c (58%)

-- 
2.34.1



More information about the U-Boot mailing list