]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
New command bootmenu: ANSI terminal boot menu support
authorPali Rohár <pali.rohar@gmail.com>
Sat, 23 Mar 2013 14:53:08 +0000 (14:53 +0000)
committerAnatolij Gustschin <agust@denx.de>
Fri, 29 Mar 2013 08:35:34 +0000 (09:35 +0100)
commite7abe919673994e8040aba0273ceb9a5b2609806
tree1d7442b908a891cb6735b5b86b47c236c5c26bb9
parent6a3439fdadb7b98e72883b90eb717a04cd748e44
New command bootmenu: ANSI terminal boot menu support

The "bootmenu" command uses U-Boot menu interfaces and provides
a simple mechanism for creating menus with several boot items.
When running this command the menu will be assembled as defined
by a set of environment variables which contain a title and
command key-value pairs. The "Up" and "Down" keys are used for
navigation through the items. Current active menu item is
highlighted and can be selected using the "Enter" key.

The command interprets and generates various ANSI escape
sequencies, so for proper menu rendering and item selection
the used terminal should support them.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
[agust: various fixes and documentation updates]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
common/Makefile
common/cmd_bootmenu.c [new file with mode: 0644]
doc/README.bootmenu [new file with mode: 0644]
include/ansi.h [new file with mode: 0644]