To change the splash screen of u-boot . ..
# To change the splash screen of u-boot
1. first create a 256 colour 600x400 bmp image in ms paint.
2. convert the image into .h file using bin2txt.py software
3. rename the generated .h file to fsl_bmp_600x400.c
4. run ./ltib -p u-boot -m prep to get the source code
5. backup the file /home/wintu/ltib/rpm/BUILD/u-bootxxx/boards/freescale/common/fsl_bmp_600x400.c
6. replace the file fsl_bmp_600x400.c with your own creatd in 3rd step.
7. add some C code definition lines by comparing to the original fsl_bmp_600x400.c file
8. save it.
9. run ./ltib
Thanks Rostislav for information. . .
so finally m up with both the splash screens of uboot and kernel. heres how i did it.
#To change the splash screen of linux kernel (small penguine on top left corner)..
When Linux takes control of the board it initializes the LCD controller and Framebuffer again.
To maintain the splash screen on the LCD you can replace the Linux Logo with the figure used for
the splash screen, the side effect is a blink when Linux takes over the LCDC.
To achieve this, create a new image in Gimp (or use bmptoppm command) and save it as ".ppm". Copy it to Linux
"logo" folder <ltib_path>/rpm/BUILD/linux-2.6.31/drivers/video/logo
Run:
ppmquant -mapfile clut_vga16.ppm "my_image.ppm" | pnmnoraw > logo_linux_vga16.ppm
ppmquant -mapfile clut_vga16.ppm "my_image.ppm" | pnmnoraw > logo_linux_clut224.ppm
then rebuild the kernel
done!
after booting in u -boot . . . do this!!
| >setenv splashimage ‘0x97c90000’ | //starting address of boot splash file |
| >setenv splashpos ‘0,0’ | //image position. 1024 vs 768 |
| >setenv lvds_num 1 | |
>saveenv
>reset