mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
configs: transformer_t30: convert bootmenu option
Convert refresh USB to enter console. Transformers have full size USB and a dock keyboard so access to U-Boot console would be handy. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
parent
206baf7734
commit
ec1af5e068
2 changed files with 2 additions and 7 deletions
|
@ -20,7 +20,7 @@ CONFIG_AUTOBOOT_KEYED=y
|
|||
CONFIG_AUTOBOOT_KEYED_CTRLC=y
|
||||
CONFIG_OF_BOARD_SETUP=y
|
||||
CONFIG_OF_SYSTEM_SETUP=y
|
||||
CONFIG_BOOTCOMMAND="setenv gpio_button 150; if run check_button; then poweroff; fi; setenv gpio_button 131; if run check_button; then bootmenu; fi; run bootcmd_usb0; run bootcmd_mmc1; run bootcmd_mmc0; poweroff;"
|
||||
CONFIG_BOOTCOMMAND="setenv skip_boot 0; setenv gpio_button 150; if run check_button; then poweroff; fi; setenv gpio_button 131; if run check_button; then bootmenu; fi; if test ${skip_boot} -eq 1; then; else run bootcmd_usb0; run bootcmd_mmc1; run bootcmd_mmc0; poweroff; fi"
|
||||
CONFIG_SPL_FOOTPRINT_LIMIT=y
|
||||
CONFIG_SPL_MAX_FOOTPRINT=0x8000
|
||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||
|
|
|
@ -64,19 +64,14 @@
|
|||
"else echo SPI flash backup FAILED! Aborting ...;" \
|
||||
"poweroff; fi\0"
|
||||
|
||||
#define TRANSFORMER_REFRESH_USB \
|
||||
"refresh_usb=usb start; usb reset; usb tree; usb info;" \
|
||||
"pause 'Press ANY key to return to bootmenu...'; bootmenu\0"
|
||||
|
||||
#define TRANSFORMER_BOOTMENU \
|
||||
TRANSFORMER_FLASH_UBOOT \
|
||||
TRANSFORMER_FLASH_SPI \
|
||||
TRANSFORMER_REFRESH_USB \
|
||||
"bootmenu_0=mount internal storage=usb start && ums 0 mmc 0; bootmenu\0" \
|
||||
"bootmenu_1=mount external storage=usb start && ums 0 mmc 1; bootmenu\0" \
|
||||
"bootmenu_2=fastboot=echo Starting Fastboot protocol ...; fastboot usb 0; bootmenu\0" \
|
||||
"bootmenu_3=update bootloader=run flash_uboot\0" \
|
||||
"bootmenu_4=refresh USB=run refresh_usb\0" \
|
||||
"bootmenu_4=enter console=usb start; setenv skip_boot 1; exit\0" \
|
||||
"bootmenu_5=reboot RCM=enterrcm\0" \
|
||||
"bootmenu_6=reboot=reset\0" \
|
||||
"bootmenu_7=power off=poweroff\0" \
|
||||
|
|
Loading…
Reference in a new issue