Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The aim of this document is to show the steps to enable video (HDMI display) and show logo of U-Boot on SP7021 platforms. First, you need to run make menuconfig command to select and enable necessary supports or drivers of U-Boot. Second, create your logo image file, compress and save to a specified folder. Last, re-build images. Please follow the following steps.

...

1. Enable U-Boot video (HDMI display) support

Go to boot/uboot folder and run make menuconfig command, or run make Run make uconfig in project top folder. When “U-Boot 2019.04 Configuration” menu pops up, use arrow key to move cursor down to “Device Drivers” and press <Enter> to enter “Device Driver” sub-menu. Next, move cursor to “Graphic support” and press <Enter> to enter “Graphic support” sub-menu. Next, move cursor to “Enable driver model support for LCD/video” and press <Y> to enable it. In the same way, please also enable “Support 8-bit-per-pixel displays”, “Support 16-bit-per-pixel displays”, “Support 32-bit-per-pixel displays”, “Support ANSI escape sequences in video console”, “Support a simple text console”, “Support rotated displays” and “Display console as white on a black background”. Refer to screenshot below, all necessary supports or drivers should be enabled:

...

Then, press <Enter> to enter “Enable SP7021 video support” sub-menu. Refer to screenshot below, “Maximum horizontal resolution” is set to 720. “Maximum vertical resolution” is set 480. “Maximum bits per pixel is set” to 8. “Console Text Rotate Angle Setting” is set to 0 degree. “Enable SP7021 Update Palette for 8BPP” is enabled. Finally, enable “Enable SP7021 video LOGO support”.

...

Use arrow key to select <Save> and save the settings. Press <Esc> key till exit menuconfig.

Note that text console of video (HDMI display) of U-Boot will be disabled when “Enable SP7021 video LOGO support” is enabled.

2. Create logo image file of U-Boot

...