How to add custom logo during uboot booting on imx8mplus?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to add custom logo during uboot booting on imx8mplus?

3,360 次查看
vivek338
Contributor IV

Hi,

I am working imx8mplus dev board by nxp. Below is configuration for yocto build:-

MACHINE = "imx8mpevk-fastboot"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "6.6-scarthgap"

bitbake imx-image-fastboot

Following document falcon mode fastboot AN14093 version 2.0.

Now I want to display custom logo during uboot booting means before kernel boot. 

During  :-

U-Boot SPL 2024.04+g674440bc73e+p0 (Jun 06 2024 - 10:05:34 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
Trying to boot from MMC1

Please guide me how to do this.

I am doing this because i need to on display as soon as power on. Even falcon mode takes 3-4 seconds which i have already implemented but i need less than 2 seconds to show something on display.

 

Thanks in advance!!

0 项奖励
回复
15 回复数

3,331 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Which display interface you are using? LVDS0/1? HDMI? MIPI?

Best Regards,
Zhiming

0 项奖励
回复

3,317 次查看
vivek338
Contributor IV
Thanks for reply!

Iam using HDMI.
0 项奖励
回复

3,301 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

There is no HDMI driver in uboot, so it can't display a logo with HDMI.

Best Regards,
Zhiming

0 项奖励
回复

3,299 次查看
vivek338
Contributor IV
Thanks for replying!

How can i display logo on hdmi under 2-3 seconds, is that possible if yes than how can I achieve it? Falcon mode takes more than 4 seconds to display something on hdmi.
0 项奖励
回复

3,286 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

It can't display anything if there is no HDMI driver.

Best Regards,
Zhiming

0 项奖励
回复

3,283 次查看
vivek338
Contributor IV
Hi,
Thanks for the answer !
But is it possible to start display and show something just after uboot? If yes then how?

Or any fastest way to display on hdmi.
0 项奖励
回复

3,260 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

But is it possible to start display and show something just after uboot? If yes then how?

--> From the beginning of kernel, that's impossible , need to wait display framework initialization.

Best Regards,
Zhiming

0 项奖励
回复

3,248 次查看
vivek338
Contributor IV
Hi,
Thanks for replying !
So in this case is that possible to display in between 2-3 seconds ? if yes then how to do it?
Iam following falcon mode fastboot AN14093 version 2.0.
0 项奖励
回复

3,246 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

I don't understand the problem you're talking about, the default kernel displays the penguin icon at startup, other than that it's not possible to implement an earlier logo display.

Best Regards,
Zhiming

0 项奖励
回复

3,240 次查看
vivek338
Contributor IV
Hi,

I mean to say if falcon mode boot in 2.2 seconds then its possible to display something in between 2-3 seconds. Also penguin logo dosen't display in falcon mode.
0 项奖励
回复

3,174 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

You can try to add CONFIG_LOGO_LINUX_MONO=y in kernel defconfig



Best Regards,
Zhiming

0 项奖励
回复

3,161 次查看
vivek338
Contributor IV
Hi,

Is it possible to launc application in between 2-3 seconds, as I see falcon mode boots up board and reaches to login prompt in 10 seconds and systemd starts in 4 seconds.
0 项奖励
回复

3,140 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

You can use shell script to boot application, don't use systemd , please refer below steps.

Zhiming_Liu_0-1734591100796.png

 


Best Regards,
Zhiming

0 项奖励
回复

3,117 次查看
vivek338
Contributor IV
Hi,

Dont have /etc/init.d
0 项奖励
回复

2,932 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 项奖励
回复