I am using the Yocto BSP imx-6.12.20-2.0.0. In the current build, U-Boot displays the default 4-penguin splash image at boot time.
Could you please let me know from where this default U-Boot image is being picked?
Also, how can I replace this image with a custom splash screen as part of the Yocto build?
Any guidance on which source files or Yocto recipes need to be modified would be greatly appreciated.
Hi @binil
Replacing logo need to modify kernel source code, logo file is .ppm file here. You can refer this guide.
https://github.com/nxp-imx/linux-imx/tree/lf-6.12.y/drivers/video/logo
For yocto layer, please refer yocto guide to create a custom layer.
https://docs.yoctoproject.org/next/dev-manual/layers.html
Best Regards,
Zhiming
Thanks, I can able to change the default log,
but like 4 penguin image, it shows my custom image as 4 tiles
can we shows it as single image as 1920x1080
Hi,
Your kernel doesn't contain this commit: https://github.com/varigit/linux-2.6-imx/commit/1a3d71c1c38b058daa0d29140a9cff747e5a7f51, so it will not use logo.ppm.
You can rename logo.ppm to logo_linux_clut224.ppm, this will replace original logo_linux_clut224.ppm
Best Regards,
Zhiming
Thanks, I can able to change the default log,
but like 4 penguin image, it shows my custom image as 4 tiles
can we shows it as single image as 1920x1080
Hi,
Please refer this commit:
https://github.com/varigit/linux-2.6-imx/commit/1a3d71c1c38b058daa0d29140a9cff747e5a7f51
Best Regards,
Zhiming
@Zhiming_Liu
In the commit it only mention about to show "logo_linux_clut224.ppm",
but my requirement is to show the logo_linux_clut224.ppm as single image instead of 4 tiles in full screen (1920 x1080)
Hi,
There is no ready-made patch for your application, but need you to modify the source code referring the previous commit.
Best Regards,
Zhiming
I found the line "sources/meta-openembedded/meta-oe/recipes-kernel/linux/linux.inc"
if [ -e ${UNPACKDIR}/logo_linux_clut224.ppm ]; then
install -m 0644 ${UNPACKDIR}/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm
I think the "logo_linux_clut224.ppm " showing the default penguin image,
If so, can you please help me to modify it with my "logo_linux_clut224.ppm" file