Skip to contentSkip to conversation

am335x: BeagleBones enable CONFIG_AUTOBOOT_KEYED

PATCH In review Robert Nelson 2 participants 3 messages Jan 14, 2016 – Jan 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 am335x: BeagleBones enable CONFIG_AUTOBOOT_KEYED

On startup, the BeagleBone family of boards can occationally halt at the U-Boot prompt. Due to U-Boot receiving random data on the usart.

Migrate BeagleBone based boards to use CONFIG_AUTOBOOT_KEYED, user will now have to enter the <SPACE> key to get to U-Boot prompt

CC Craig McQueen <[email protected]>
CC Tom Rini <[email protected]>
---
 configs/am335x_boneblack_defconfig       | 4 ++++
 configs/am335x_boneblack_vboot_defconfig | 4 ++++
 configs/am335x_evm_defconfig             | 4 ++++
 3 files changed, 12 insertions(+)
configs/am335x_boneblack_defconfig +4 -0
index 3030a95..8803da5 100644
@@ -4,6 +4,10 @@ CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
+CONFIG_AUTOBOOT_KEYED=y
+CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
+CONFIG_AUTOBOOT_DELAY_STR="d"
+CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
configs/am335x_boneblack_vboot_defconfig +4 -0
index ad40b07..5dcb942 100644
@@ -8,6 +8,10 @@ CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_FIT_SIGNATURE=y
 CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT,ENABLE_VBOOT"
+CONFIG_AUTOBOOT_KEYED=y
+CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
+CONFIG_AUTOBOOT_DELAY_STR="d"
+CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
configs/am335x_evm_defconfig +4 -0
index 27cb881..7753ab5 100644
@@ -4,6 +4,10 @@ CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SYS_EXTRA_OPTIONS="NAND"
+CONFIG_AUTOBOOT_KEYED=y
+CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
+CONFIG_AUTOBOOT_DELAY_STR="d"
+CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
Signature · 1 line
2.6.4
#1 lore raw

PATCH 1/1 am335x: BeagleBones enable CONFIG_AUTOBOOT_KEYED

Quoted 9 lines · Robert Nelson

On startup, the BeagleBone family of boards can occationally halt at the U-Boot prompt. Due to U-Boot receiving random data on the usart.

Migrate BeagleBone based boards to use CONFIG_AUTOBOOT_KEYED, user will now have to enter the <SPACE> key to get to U-Boot prompt

CC Craig McQueen <[email protected]>
CC Tom Rini <[email protected]>
Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160114/ac1a43d3/attachment.sig>
#2 lore raw
In reply to Robert Nelson
Quoted 10 lines · robertcnelson at gmail.com

On startup, the BeagleBone family of boards can occationally halt at the U-Boot prompt. Due to U-Boot receiving random data on the usart.

Migrate BeagleBone based boards to use CONFIG_AUTOBOOT_KEYED, user will now have to enter the <SPACE> key to get to U-Boot prompt

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160120/26e84beb/attachment.sig>