I am currently working on the verdin imx8mp som having a custom base board(yocto linux build). we have connected tianma display to the native LVDS. Able to bring up the display.
we want to add the boot logo and shutdown logo.
I have tried Manipulating Splash Screen in U-Boot at Runtime
I am able to load my bmp file
Verdin iMX8MP # mmc dev 2
switch to partitions #0, OK
mmc2(part 0) is current device
Verdin iMX8MP # mmc rescan
Verdin iMX8MP # load mmc 2 ${loadaddr} testlogo.bmp
120054 bytes read in 2 ms (57.2 MiB/s)
Verdin iMX8MP # bmp display ${loadaddr}
But i could not see anything on my display.
I am not sure where i am doing wrong.
Could anyone help me to resolve this issue.
Please provide me the steps to add the shutdown logo and boot logo in yocto build.
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
Thank you for reaching out with your question. It sounds like you’re on the right track with your Verdin iMX8MP module and custom base board setup. Let’s go through some steps to help you display your boot logo successfully.
Enable Video Support in U-Boot: First, ensure that the video stack is enabled in U-Boot. This is essential for displaying graphics. You can do this by adding CONFIG_DM_VIDEO=y to the defconfig file of your module. After making this change, rebuild U-Boot.
Verify BMP File Format: Check that your BMP file is in a format that U-Boot can read. The BMP should be uncompressed and match the display’s color depth. Tools like GIMP can help you ensure the BMP is correctly formatted.
Check Display Initialization: Make sure the display is properly initialized in U-Boot. If the initialization sequence is incorrect or incomplete, the display might not be ready to show graphics.
Set Splashsource Variable: If your splash screen is stored on a FAT partition, set the splashsource environment variable in U-Boot to point to the correct storage device. For example, if your logo is on an SD card, you might set splashsource=mmc.
Position the Splash Screen: Use the splashpos variable to adjust the position of the splash screen on your display. This can help if the image is being displayed off-screen.
Using Plymouth for Yocto Builds: For a more integrated solution in your Yocto build, consider using Plymouth to manage splash screens. Plymouth provides a graphical boot animation and can be customized to show your boot and shutdown logos. Ensure that your Yocto build includes Plymouth and configure it according to your needs.
By following these steps, you should be able to display your boot logo successfully. If you continue to experience issues, double-check each configuration step and ensure all hardware connections are secure and correctly configured.
I hope this helps! If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
Able to resolve the issue and able to see the splash screen.
Thanks for the help.
But the logo is taking longer time to display.
How can i fix this issue.