diff options
| author | Tom Rini <[email protected]> | 2019-08-02 11:19:23 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-08-02 11:19:23 -0400 |
| commit | db289a9d746c5f4ee36002a25303da111f6365e7 (patch) | |
| tree | 9257904259608b0d8d2baeb494077cd8c54bf00f /doc | |
| parent | bbaf56eda0e63d6d28fbccae0f112ef88203eb4d (diff) | |
| parent | 5ec35ff3eb4598f93e349ea9a4fd56b700c1a3c3 (diff) | |
Merge branch '2019-08-02-autoboot-cleanup'
- Merge Simon Glass's series to cleanup the autoboot code
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/README.autoboot | 23 | ||||
| -rw-r--r-- | doc/README.bootmenu | 2 | ||||
| -rw-r--r-- | doc/README.menu | 2 |
3 files changed, 25 insertions, 2 deletions
diff --git a/doc/README.autoboot b/doc/README.autoboot index eeb7e4c6623..5e9a5e1cf7f 100644 --- a/doc/README.autoboot +++ b/doc/README.autoboot @@ -132,8 +132,31 @@ What they do provides an escape sequence from the limited "password" strings. + CONFIG_AUTOBOOT_ENCRYPTION + + "bootstopkeysha256" environment variable + + - Hash value of the input which unlocks the device and + stops autoboot. + + This option allows a string to be entered into U-Boot to stop the + autoboot. The string itself is hashed and compared against the hash + in the environment variable 'bootstopkeysha256'. If it matches then + boot stops and a command-line prompt is presented. + + This provides a way to ship a secure production device which can also + be accessed at the U-Boot command line. + CONFIG_RESET_TO_RETRY (Only effective when CONFIG_BOOT_RETRY_TIME is also set) After the countdown timed out, the board will be reset to restart again. + + CONFIG_AUTOBOOT_USE_MENUKEY + CONFIG_AUTOBOOT_MENUKEY + + If this key is pressed to stop autoboot, then the commands in the + environment variable 'menucmd' will be executed before boot starts. + For example, 33 means "!" in ASCII, so pressing ! at boot would take + this action. diff --git a/doc/README.bootmenu b/doc/README.bootmenu index 34ff8d5ecc9..ca5099089e7 100644 --- a/doc/README.bootmenu +++ b/doc/README.bootmenu @@ -91,7 +91,7 @@ To run the bootmenu at startup add these additional definitions: #define CONFIG_AUTOBOOT_KEYED #define CONFIG_BOOTDELAY 30 - #define CONFIG_MENU_SHOW + #define CONFIG_AUTOBOOT_MENU_SHOW When you intend to use the bootmenu on color frame buffer console, make sure to additionally define CONFIG_CFB_CONSOLE_ANSI in the diff --git a/doc/README.menu b/doc/README.menu index 450c6a83a77..0f3d7416055 100644 --- a/doc/README.menu +++ b/doc/README.menu @@ -14,7 +14,7 @@ Menus are composed of items. Each item has a key used to identify it in the menu, and an opaque pointer to data controlled by the consumer. If you want to show a menu, instead starting the shell, define -CONFIG_MENU_SHOW. You have to code the int menu_show(int bootdelay) +CONFIG_AUTOBOOT_MENU_SHOW. You have to code the int menu_show(int bootdelay) function, which handle your menu. This function returns the remaining bootdelay. |
