public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* EDK2 Logo Support
@ 2020-04-28 23:05 jim slaughter
  2020-04-28 23:38 ` [edk2-devel] " lee
  2020-04-29 19:55 ` Laszlo Ersek
  0 siblings, 2 replies; 4+ messages in thread
From: jim slaughter @ 2020-04-28 23:05 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

Hello,

I build and am running edk2-202002 (x86). Build done under WSL with Ubuntu
16.04.
I found the Logo code and I need to replace the logo?
The logo supplied with EDK2  is a .bmp file and is a tianocore logo.
When I boot I never see the logo during the boot process? Is the logo used?
I am not sure where the logo function is called during the boot process?
Are there any documents on the logo? Where can I get information?
Any help would be appreciated.
Thanks.
-- 
Jim Slaughter

[-- Attachment #2: Type: text/html, Size: 718 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] EDK2 Logo Support
  2020-04-28 23:05 EDK2 Logo Support jim slaughter
@ 2020-04-28 23:38 ` lee
  2020-04-29 19:55 ` Laszlo Ersek
  1 sibling, 0 replies; 4+ messages in thread
From: lee @ 2020-04-28 23:38 UTC (permalink / raw)
  To: jim.slaughter; +Cc: devel

Perhaps search for "BGRT"-related components.

There are tools to modify the logo in binaries at run-time. Eg:

https://firmwaresecurity.com/2020/02/10/bgrtinjector-customize-boot-logo-without-modifying-uefi/

https://firmwaresecurity.com/2016/05/21/hackbgrt-changes-windows-boot-logo-on-uefi-systems/

https://blog.fpmurphy.com/2015/07/access-bsrt-information-and-boot-logo-from-uefi-shell.html

But I don't know how to change the logo in sources at design-time. I'm
not aware of any Tianocore docs on the subject, the only OEM-focused
info on topic I know of is Windows-centric:

https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/boot-screen-components

HTH,
Lee

PS: FWIW, one of my blog's most commonly-accessed articles are the above
ones, end-users wanting to customize their logo. Maybe this is a sign
that end-users want to customize their HW/FW/OS boot logos: perhaps
OEMs/IHVs might want to add a feature to their product to let end-users
easily change this, eg, from a BIOS Menu.

On 4/28/20 4:05 PM, jim slaughter wrote:
> Hello,
>
> I build and am running edk2-202002 (x86). Build done under WSL with Ubuntu
> 16.04.
> I found the Logo code and I need to replace the logo?
> The logo supplied with EDK2  is a .bmp file and is a tianocore logo.
> When I boot I never see the logo during the boot process? Is the logo
used?
> I am not sure where the logo function is called during the boot process?
> Are there any documents on the logo? Where can I get information?
> Any help would be appreciated.
> Thanks.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] EDK2 Logo Support
  2020-04-28 23:05 EDK2 Logo Support jim slaughter
  2020-04-28 23:38 ` [edk2-devel] " lee
@ 2020-04-29 19:55 ` Laszlo Ersek
  2020-04-30  1:45   ` Ni, Ray
  1 sibling, 1 reply; 4+ messages in thread
From: Laszlo Ersek @ 2020-04-29 19:55 UTC (permalink / raw)
  To: devel, jim.slaughter; +Cc: Ray Ni

+Ray

On 04/29/20 01:05, jim slaughter wrote:
> Hello,
> 
> I build and am running edk2-202002 (x86). Build done under WSL with Ubuntu
> 16.04.
> I found the Logo code and I need to replace the logo?
> The logo supplied with EDK2  is a .bmp file and is a tianocore logo.
> When I boot I never see the logo during the boot process? Is the logo used?
> I am not sure where the logo function is called during the boot process?
> Are there any documents on the logo? Where can I get information?
> Any help would be appreciated.
> Thanks.
> 

Please look at

MdeModulePkg/Include/Library/BootLogoLib.h
MdeModulePkg/Library/BootLogoLib/*
MdeModulePkg/Logo/LogoDxe.inf

and follow wherever those lead.

LogoDxe contains the image and exposes the custom protocol.

BootLogoLib lets your PlatformBootManagerLib instance consume (display)
the image via the protocol. You need to call the BootLogoLib functions
in your platform BDS code so the logo be displayed.

(Sorry, got no time to investigate / elaborate more in depth.)

hth
Laszlo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] EDK2 Logo Support
  2020-04-29 19:55 ` Laszlo Ersek
@ 2020-04-30  1:45   ` Ni, Ray
  0 siblings, 0 replies; 4+ messages in thread
From: Ni, Ray @ 2020-04-30  1:45 UTC (permalink / raw)
  To: Laszlo Ersek, devel@edk2.groups.io, jim.slaughter@sage-micro.com

Laszlo,
There is not too much depth knowledge here. Your explanation/guide is
very informational.

Thanks,
Ray

> -----Original Message-----
> From: Laszlo Ersek <lersek@redhat.com>
> Sent: Thursday, April 30, 2020 3:56 AM
> To: devel@edk2.groups.io; jim.slaughter@sage-micro.com
> Cc: Ni, Ray <ray.ni@intel.com>
> Subject: Re: [edk2-devel] EDK2 Logo Support
> 
> +Ray
> 
> On 04/29/20 01:05, jim slaughter wrote:
> > Hello,
> >
> > I build and am running edk2-202002 (x86). Build done under WSL with Ubuntu
> > 16.04.
> > I found the Logo code and I need to replace the logo?
> > The logo supplied with EDK2  is a .bmp file and is a tianocore logo.
> > When I boot I never see the logo during the boot process? Is the logo used?
> > I am not sure where the logo function is called during the boot process?
> > Are there any documents on the logo? Where can I get information?
> > Any help would be appreciated.
> > Thanks.
> >
> 
> Please look at
> 
> MdeModulePkg/Include/Library/BootLogoLib.h
> MdeModulePkg/Library/BootLogoLib/*
> MdeModulePkg/Logo/LogoDxe.inf
> 
> and follow wherever those lead.
> 
> LogoDxe contains the image and exposes the custom protocol.
> 
> BootLogoLib lets your PlatformBootManagerLib instance consume (display)
> the image via the protocol. You need to call the BootLogoLib functions
> in your platform BDS code so the logo be displayed.
> 
> (Sorry, got no time to investigate / elaborate more in depth.)
> 
> hth
> Laszlo


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-30  1:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-28 23:05 EDK2 Logo Support jim slaughter
2020-04-28 23:38 ` [edk2-devel] " lee
2020-04-29 19:55 ` Laszlo Ersek
2020-04-30  1:45   ` Ni, Ray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox