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 USB keyboard and video console (HDMI display) on SP7021 platforms. To enable them, you need to first change your current directory to boot/uboot directory, and then run make menuconfig command (or run make uconfig in project top folder.). Second, when “U-Boot 2019.04 Configuration” menu pops up, move cursor to select and enable necessary supports or drivers of U-Boot. The last, modify board-specified C header file, 'pentagram_common.h'. Please follow the following steps to enable USB keyboard and video console of U-Boot.

...

1. Enable USB keyboard support

Go to boot/uboot folder and run make menuconfig commandRun make uconfig in project top directory. 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. Then, move cursor down to “Enable driver model keyboard support” and press <Y> to enable it. Refer to screenshot below:

...

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. Note that “Enable SP7021 video LOGO support” should be disabled in video console mode so that you can break boot sequence and enter console mode of U-Boot.

...

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

...