gta02-splash.patch
commit6111edab70c933d3b10187743ec654ca2457b1a4
authorAndy Green <andy@openmoko.com>
Fri, 11 Apr 2008 13:27:20 +0000 (11 14:27 +0100)
committerwarmcat <andy@warmcat.com>
Fri, 11 Apr 2008 13:27:20 +0000 (11 14:27 +0100)
tree64cb7531d3b364ee7402ce42b189ca8a41343fef
parentb269fb47f735dcbddb4d28953387fa57dfe4bcbe
gta02-splash.patch
Add framebuffer and lcm support for GTA-02 to provide splash
Quick and dirty patch broadside-loads the Glamo registers
and changes the LCM SPI bitbang to go through the Glamo GPIO.

From power-on there is 3.5s of dark screen and then the
splash display is shown, which remains until Linux takes over.
Console is not enabled at the minute.

Fixes a bug where the Glamo was previously held in reset at
the time it was attempted to init the chip, this killed the
GTA-02 stone dead.

To get the best speed some code is added to manage the
splash action quite early in the boot --
In addition if a "splashimage" environment var exists it is
executed.  The one in current environment.in is wrong, it
needs to be

setenv splashimage nand read.e 0x32000000 splash 0x5000\; unzip 0x32000000 0x08800000 0x96000

The LCM post-reset deadtime is pipelined into the NAND
splash fetch for speed as well.

You need to have a gzipped splash bitmap in the splash part
with the current layout the DFU to set it looks like this

dfu-util -a 4 -d 0x1457:0x5119 -D splash.gz

Signed-off-by: Andy Green <andy@openmoko.com>
board/neo1973/common/jbt6k74.c
board/neo1973/gta02/gta02.c
common/devices.c
drivers/video/smedia3362.c
drivers/video/smedia3362.h
include/configs/neo1973_gta02.h