There have been many in the network to modify the kernel boot Logo article, this article carried on the realization of outlined under the boot logo LK
Need to use ffmpeg tool is not installed ffmpeg please refer here:
http://blog.csdn.net/redstarofsleep/article/details/45092145
Run "ffmpeg -i logo.png -f rawvideo -pix_fmt bgr24 logo.raw" command, get .raw file
Run "xxd -i logo.raw> logo.h" command, get .h header files.
Copy array logo.h, substitutions bootable \ bootloader \ lk \ platform \ msm_shared \ include \ Splash.h corresponding imageBuffer_rgb888 [] array;
Note: splash.h file, there imageBuffer [] and imageBuffer_rgb888 [] two arrays. Judgment using a pre-compiled
#if (!DISPLAY_TYPE_MIPI)
Modifying the corresponding array according to their actual
modified values of the macro:
#define SPLASH_IMAGE_WIDTH 124
#define SPLASH_IMAGE_HEIGHT 113
Corresponding to the height logo.png SPLASH_IMAGE_WIDTH
SPLASH_IMAGE_HEIGHT logo.png width corresponding to
compile programming verification lk.