tytung/android_kernel_htcleo-2.6.32-ics — pull request #2 by zeusk (2012-05-03 14:23:34+00:00)
Title: ics hwa fixes

This updates quite a few things, refer to the commits for complete details. Most of the code was either back-ported from 2.6.35 and 2.6.32.59 linux kernel(s) or fixed by hand as and when required.

Additional Notes: This commit should break the bootup logo, that code presumes the framebuffer to be 16 bit (rgb565) and messes everything up if it isn't, bravo, passion and other likewise devices tackle this by not using the code altogether, I have currently not removed the code but anyone is welcome to fix it for framebuffers of varying or atleast other popular color depths.

For a makeshift fix, you can
1) Remove the logo config from leo, this will make kernel not touch whatever is on the screen till android starts drawing boot animation. This is a very good thing for clk as the boot logo of windows mobile (the splash flashed through ruu) stays on screen unless the user boots through the menu. As for magldr, it will look like it's hung at GO GO GO, whereas it is just not touching the screen and suddenly android bootanimation will appear. If bootanimation is disabled, then the second option will look more consistent as even android just writes black color to screen if boot animation is disabled.
2) Write 0x0000 to the framebuffer, This should make the whole screen pitch black till android starts drawing.