Custom Splash Screen

Hi all, I want to display a custom logo in the splash screen for a specified amount of time (SeaBIOS as payload). How do I configure the logo and give a timeout when building coreboot? Any pointers will be really helpful. Regards, Husni.

Hi Ahamed Husni, On 7/24/23 18:50, Ahamed Husni wrote:
Hi all,
I want to display a custom logo in the splash screen for a specified amount of time (SeaBIOS as payload). How do I configure the logo and give a timeout when building coreboot? Any pointers will be really helpful.
Logo: https://www.seabios.org/Runtime_config#Bootsplash_images (bootsplash.jpg) You may add the custom logo to the CBFS by specifying the path to logo file during coreboot build in menuconfig General Setup -> Add a bootsplash image SeaBIOS is quite picky regarding the format of the JPEG and BMP. Be sure to use some legacy screen resolution, the logo file must also exactly match the screen resolution. Here is a blog from Purism where some struggles with JPEG format and SeaBIOS are discussed: https://puri.sm/posts/librem-13-coreboot-report-february-25th-2017/ Specified amount of time: https://www.seabios.org/Runtime_config#Other_Configuration_items (etc/boot-menu-wait) The timeout can be added using cbfstool after the build is finished: cbfstool coreboot.rom add-int -r COREBOOT -n etc/boot-menu-wait -i <timeout_value> If you have vboot with multiple CBFSes then you would also need to run: cbfstool coreboot.rom add-int -r FW_MAIN_A -n etc/boot-menu-wait -i <timeout_value> cbfstool coreboot.rom add-int -r FW_MAIN_B -n etc/boot-menu-wait -i <timeout_value>
Regards, Husni.
_______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
Best regards, -- Michał Żygowski Firmware Engineer GPG: 6B5BA214D21FCEB2 https://3mdeb.com | @3mdeb_com

Hi Michał Żygowski, Thank you for the quick response. The links you provided have important information which I could not have figured myself out. I will try it and let you know the results :) Thank you, Husni. On Tue, Jul 25, 2023 at 1:24 PM Michał Żygowski <michal.zygowski@3mdeb.com> wrote:
Hi Ahamed Husni,
On 7/24/23 18:50, Ahamed Husni wrote:
Hi all,
I want to display a custom logo in the splash screen for a specified amount of time (SeaBIOS as payload). How do I configure the logo and give a timeout when building coreboot? Any pointers will be really helpful.
Logo: https://www.seabios.org/Runtime_config#Bootsplash_images (bootsplash.jpg)
You may add the custom logo to the CBFS by specifying the path to logo file during coreboot build in menuconfig General Setup -> Add a bootsplash image SeaBIOS is quite picky regarding the format of the JPEG and BMP. Be sure to use some legacy screen resolution, the logo file must also exactly match the screen resolution. Here is a blog from Purism where some struggles with JPEG format and SeaBIOS are discussed: https://puri.sm/posts/librem-13-coreboot-report-february-25th-2017/
Specified amount of time: https://www.seabios.org/Runtime_config#Other_Configuration_items (etc/boot-menu-wait)
The timeout can be added using cbfstool after the build is finished:
cbfstool coreboot.rom add-int -r COREBOOT -n etc/boot-menu-wait -i <timeout_value>
If you have vboot with multiple CBFSes then you would also need to run:
cbfstool coreboot.rom add-int -r FW_MAIN_A -n etc/boot-menu-wait -i <timeout_value> cbfstool coreboot.rom add-int -r FW_MAIN_B -n etc/boot-menu-wait -i <timeout_value>
Regards, Husni.
_______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
Best regards, -- Michał Żygowski Firmware Engineer GPG: 6B5BA214D21FCEB2 https://3mdeb.com | @3mdeb_com
_______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org

Yeah the Purism post is written by the great Youness Alaoui who worked pretty hard to get the LibreM BIOS working. I remember the time where he was posting regularly on the coreboot list here. Amazing work and documentation. I for one am thankful for Purism hiring him. On Wed, Jul 26, 2023 at 3:17 AM Ahamed Husni <ahamedhusni73@gmail.com> wrote:
Hi Michał Żygowski,
Thank you for the quick response. The links you provided have important information which I could not have figured myself out. I will try it and let you know the results :)
Thank you, Husni.
On Tue, Jul 25, 2023 at 1:24 PM Michał Żygowski <michal.zygowski@3mdeb.com> wrote:
Hi Ahamed Husni,
On 7/24/23 18:50, Ahamed Husni wrote:
Hi all,
I want to display a custom logo in the splash screen for a specified amount of time (SeaBIOS as payload). How do I configure the logo and give a timeout when building coreboot? Any pointers will be really helpful.
Logo: https://www.seabios.org/Runtime_config#Bootsplash_images (bootsplash.jpg)
You may add the custom logo to the CBFS by specifying the path to logo file during coreboot build in menuconfig General Setup -> Add a bootsplash image SeaBIOS is quite picky regarding the format of the JPEG and BMP. Be sure to use some legacy screen resolution, the logo file must also exactly match the screen resolution. Here is a blog from Purism where some struggles with JPEG format and SeaBIOS are discussed: https://puri.sm/posts/librem-13-coreboot-report-february-25th-2017/
Specified amount of time: https://www.seabios.org/Runtime_config#Other_Configuration_items (etc/boot-menu-wait)
The timeout can be added using cbfstool after the build is finished:
cbfstool coreboot.rom add-int -r COREBOOT -n etc/boot-menu-wait -i <timeout_value>
If you have vboot with multiple CBFSes then you would also need to run:
cbfstool coreboot.rom add-int -r FW_MAIN_A -n etc/boot-menu-wait -i <timeout_value> cbfstool coreboot.rom add-int -r FW_MAIN_B -n etc/boot-menu-wait -i <timeout_value>
Regards, Husni.
_______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
Best regards, -- Michał Żygowski Firmware Engineer GPG: 6B5BA214D21FCEB2 https://3mdeb.com | @3mdeb_com
_______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
_______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
-- Cybersecurity Analyst Technology Department <http://comicsanscriminal.com> <http://comicsanscriminal.com> Buncombe County Schools ComicSans Awareness Campaign <https://comicsanscriminal.com>
participants (3)
-
Ahamed Husni
-
Michał Żygowski
-
R S