2153390_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2153390_en-US

2153390_en-US

How to change the default U-Boot splash screen (Yocto BSP imx-6.12.20-2.0.0)

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.

Graphics & Displayi.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlusi.MX 8M | i.MX 8M Mini | i.MX 8M NanoLinuxYocto ProjectRe: How to change the default U-Boot splash screen (Yocto BSP imx-6.12.20-2.0.0)

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

Re: How to change the default U-Boot splash screen (Yocto BSP imx-6.12.20-2.0.0)

@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)

Re: How to change the default U-Boot splash screen (Yocto BSP imx-6.12.20-2.0.0)

Hi,

Please refer this commit:

https://github.com/varigit/linux-2.6-imx/commit/1a3d71c1c38b058daa0d29140a9cff747e5a7f51

Best Regards,
Zhiming

Re: How to change the default U-Boot splash screen (Yocto BSP imx-6.12.20-2.0.0)

@Zhiming_Liu

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

Re: How to change the default U-Boot splash screen (Yocto BSP imx-6.12.20-2.0.0)

@Zhiming_Liu

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

Re: How to change the default U-Boot splash screen (Yocto BSP imx-6.12.20-2.0.0)

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

Re: How to change the default U-Boot splash screen (Yocto BSP imx-6.12.20-2.0.0)@Zhiming_Liu
still see logo_linux_clut224.ppm showing the original penguin image.

I’m trying to replace the default penguin boot logo shown at kernel boot on my Yocto image.

Following the instructions from https://variwiki.com/index.php/Yocto_Linux_logo
, I created a linux-imx_%.bbappend file under:
>meta-freescale/recipes-kernel/linux/

Inside that bbappend, I added my custom logo.ppm and placed the image under a files directory alongside the bbappend.

Then I rebuilt the kernel and image:
$bitbake -c cleanall linux-imx
$bitbake linux-imx
$bitbake imx-image-full

However, even after rebuilding, the penguin logo is still displayed at boot. I checked inside the build at:
>kernel-source/drivers/video/logo/

Note: Before building, I manually deleted logo_linux_clut224.ppm from drivers/video/logo/ hoping it would be replaced — but it still comes back and the logo doesn’t change.
Re: How to change the default U-Boot splash screen (Yocto BSP imx-6.12.20-2.0.0)

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

Re: How to change the default U-Boot splash screen (Yocto BSP imx-6.12.20-2.0.0)

 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

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 06:06 PM
更新者: