How to Customize Boot Logo and Silence the Logs for Commercial Productization

For official Libre Computer images with the latest bootloaders, you can quickly productize your image.

Customizing Boot Logo

  1. Create an 24-bit RGB bitmap or bmp file that is less than 512x512 pixels. 8/16/32-bit bitmaps will not work.
  2. Save the bmp file to the first FAT/EFI partition as boot.bmp. On the board, the partition is mounted at /boot/efi.
  3. The bootloader will search for the boot logo bmp file on the boot medium. If the board is booted from eMMC, the logo will only be loaded from eMMC. If the board is booted from SD card, the logo will only be loaded from SD card. If the board is booted from SPI NOR, the logo will only be loaded from the eMMC. This is a security measure to prevent unauthorized tampering of devices by end users.

Silence Boot Logs

  1. Create a file called boot.ini with the following content silent=1.
  2. Save the file as boot.ini to the first FAT/EFI partition as boot.ini.

Prevent Boot Tampering

  1. Create a file called boot.ini
  2. Add the following content:
boot_delay=0
boot_targets=mmc0
  1. Save the file as boot.ini to the first FAT/EFI partition as boot.ini. This will lock the bootloader to only boot from the selected and prevent access to escape prompts.

Watchdog Reset
All of our board products feature watchdog timer for software hang detect and system reset. For commercial applications, uptime may be improved via watchdog reset when the system is stuck due to environmental or software conditions.

2 Likes

I followed the requirement to have 24-bit RGB and less than 512x512 pixels, but I don’t see the boot logo showing up. Any advice on debugging it?

My platform is Sweet Potato, Debian 12 Base.

My original image was PNG. I opened it with GIMP and exported it as Windows Bitmap, 24-bit RGB.

It needs to be on eMMC or you need to modify the bootloader to boot it from MicroSD card. See 3) Above.

I tried to put boot.bmp in /boot/efi/ and /boot/efi/EFI/BOOT/, nothing worked. I booted from micro SD card and I don’t have eMMC installed.

See the instructions. It is stated that eMMC is required and will not work on SD card.