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>