pftf / RPi4

Raspberry Pi 4 UEFI Firmware Images
https://rpi4-uefi.dev
Other
1.16k stars 138 forks source link

How to modify boot screen? #211

Closed yyds-yyds-yyds closed 1 year ago

yyds-yyds-yyds commented 2 years ago

Hello, I want to ask a question, how to modify the boot screen? I want to change the boot screen, but I don't know how to change it. Can you tell me how to change it?

sharpenedblade commented 2 years ago

What exactly do you mean by boot screen. Is it the raspberry pi logo with the progress bar at the bottom.

yyds-yyds-yyds commented 2 years ago

Yes, it's the logo. How to change it! Sorry, my English is poor and difficult to describe clearly. Thank you for reading patiently.

TheMindVirus commented 2 years ago

https://github.com/tianocore/edk2-non-osi/blob/master/Platform/RaspberryPi/Drivers/LogoDxe/Logo.bmp

yyds-yyds-yyds commented 2 years ago

So the boot image cannot be changed?

TheMindVirus commented 2 years ago

It can be changed but UEFI in its current state needs recompiling after you change it in the repository. I have changed mine in this way.

In the RPI_EFI.fd archive itself it seems to have been turned into a binary stream which is mangled with other data inside LogoDxe.efi instead of being an editable .bmp file.

pbatard commented 1 year ago

Changing the boot logo requires editing https://github.com/tianocore/edk2-non-osi/blob/master/Platform/RaspberryPi/Drivers/LogoDxe/Logo.bmp as @TheMindVirus pointed out and recompiling your own UEFI Firmware. We do not support trying to edit the logo in the RPI_EFI.fd that is provided from this repository.