[U-Boot] [PATCH V2 0/7] Add splash screen for CM-T35

Nikita Kiryanov nikita at compulab.co.il
Tue Jan 29 13:42:22 CET 2013


This patchset adds splash screen support for CM-T35.
It includes the ability to initialize the display subsystem either using
predefines (selected via env variable "displaytype"), or user supplied
configuration options, also stored in an environment variables and pointed to by
displaytype. The splash image data is currently read from NAND.

As a preparation for the above functionality this patchset adds:
 - new DSS #defines
 - an option for board-specific splash screen preparation, which can be invoked
 in lcd_logo() right before displaying the splash screen (typical use case:
 load the image data from non-memory mapped storage in time for it to be
 displayed).
 - struct panel_config is extended to support setting the gfx_format dynamically
 - protection from data aborts due to unaligned bmp headers is added to
 lcd_logo's splashscreen section (I'm also looking into refining this
 protection later on).

Changes in V2:
 - GFXFORMAT_RGB16 now passed to omap3_dss_panel_config() in a new field of
 panel_cfg. Updated existing panel_config structs to set this field to the value
 that was originally hardcoded into omap3_dss_panel_config(). [Jeroen Hofstee]
 - Used LCD_BPP for vl_bpix. [Jeroen Hofstee]
 - Added a comment to explain the choice of GFXFORMAT_RGB16. [Jeroen Hofstee]
 - Added an address check (and fix) to the address of splashimage in order to
 avoid alignment problems with bmp header. A similar check appears in
 board_splash_screen_prepare() for cm_t35. [Albert ARIBAUD]
 - Do not manually set gfx burst size to GFXBURSTSIZE16, as it is apparently not
 necessary. GFXBURSTSIZE* #defines were kept in patch 1 anyway in the hope they
 will be useful for someone.

Nikita Kiryanov (7):
  omap3: add useful dss defines
  omap3: allow dynamic selection of gfx_format
  lcd: prevent unaligned memory access when displaying splash screen
  lcd: add option for board specific splash screen preparation
  cm-t35: add support for dvi displays
  cm-t35: add support for user defined lcd parameters
  cm-t35: add support for loading splash image from NAND

 README                                |    8 +
 arch/arm/include/asm/arch-omap3/dss.h |   36 +++
 board/cm_t35/Makefile                 |    1 +
 board/cm_t35/cm_t35.c                 |   68 ++++++
 board/cm_t35/display.c                |  426 +++++++++++++++++++++++++++++++++
 board/htkw/mcx/mcx.c                  |    1 +
 board/teejet/mt_ventoux/mt_ventoux.c  |    2 +
 board/ti/beagle/beagle.h              |    6 +-
 common/lcd.c                          |   23 ++
 drivers/video/omap3_dss.c             |    2 +-
 include/configs/cm_t35.h              |   11 +
 include/lcd.h                         |    1 +
 12 files changed, 582 insertions(+), 3 deletions(-)
 create mode 100644 board/cm_t35/display.c

-- 
1.7.10.4



More information about the U-Boot mailing list