How to add custom logo during uboot booting on imx8mplus?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add custom logo during uboot booting on imx8mplus?

947 Views
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 Kudos
Reply
15 Replies

918 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

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

Best Regards,
Zhiming

0 Kudos
Reply

904 Views
vivek338
Contributor IV
Thanks for reply!

Iam using HDMI.
0 Kudos
Reply

888 Views
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 Kudos
Reply

886 Views
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 Kudos
Reply

873 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

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

Best Regards,
Zhiming

0 Kudos
Reply

870 Views
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 Kudos
Reply

847 Views
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 Kudos
Reply

835 Views
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 Kudos
Reply

833 Views
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 Kudos
Reply

827 Views
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 Kudos
Reply

761 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

You can try to add CONFIG_LOGO_LINUX_MONO=y in kernel defconfig



Best Regards,
Zhiming

0 Kudos
Reply

748 Views
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 Kudos
Reply

727 Views
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 Kudos
Reply

704 Views
vivek338
Contributor IV
Hi,

Dont have /etc/init.d
0 Kudos
Reply

519 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 Kudos
Reply