* [U-Boot] [PATCH] am335x: BeagleBones enable CONFIG_AUTOBOOT_KEYED
@ 2016-01-14 18:15 Robert Nelson
2016-01-14 19:03 ` Tom Rini
2016-01-20 21:01 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Robert Nelson @ 2016-01-14 18:15 UTC (permalink / raw)
To: u-boot
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
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
CC: Craig McQueen <craig.mcqueen@innerrange.com>
CC: Tom Rini <trini@konsulko.com>
---
configs/am335x_boneblack_defconfig | 4 ++++
configs/am335x_boneblack_vboot_defconfig | 4 ++++
configs/am335x_evm_defconfig | 4 ++++
3 files changed, 12 insertions(+)
diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defconfig
index 3030a95..8803da5 100644
--- a/configs/am335x_boneblack_defconfig
+++ b/configs/am335x_boneblack_defconfig
@@ -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
diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
index ad40b07..5dcb942 100644
--- a/configs/am335x_boneblack_vboot_defconfig
+++ b/configs/am335x_boneblack_vboot_defconfig
@@ -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
diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
index 27cb881..7753ab5 100644
--- a/configs/am335x_evm_defconfig
+++ b/configs/am335x_evm_defconfig
@@ -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
--
2.6.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] am335x: BeagleBones enable CONFIG_AUTOBOOT_KEYED
2016-01-14 18:15 [U-Boot] [PATCH] am335x: BeagleBones enable CONFIG_AUTOBOOT_KEYED Robert Nelson
@ 2016-01-14 19:03 ` Tom Rini
2016-01-20 21:01 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-01-14 19:03 UTC (permalink / raw)
To: u-boot
On Thu, Jan 14, 2016 at 12:15:25PM -0600, Robert Nelson wrote:
> 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
>
> Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
> CC: Craig McQueen <craig.mcqueen@innerrange.com>
> CC: Tom Rini <trini@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] am335x: BeagleBones enable CONFIG_AUTOBOOT_KEYED
2016-01-14 18:15 [U-Boot] [PATCH] am335x: BeagleBones enable CONFIG_AUTOBOOT_KEYED Robert Nelson
2016-01-14 19:03 ` Tom Rini
@ 2016-01-20 21:01 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-01-20 21:01 UTC (permalink / raw)
To: u-boot
On Thu, Jan 14, 2016 at 12:15:25PM -0600, robertcnelson at gmail.com wrote:
> 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
>
> Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
> CC: Craig McQueen <craig.mcqueen@innerrange.com>
> CC: Tom Rini <trini@konsulko.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-01-20 21:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 18:15 [U-Boot] [PATCH] am335x: BeagleBones enable CONFIG_AUTOBOOT_KEYED Robert Nelson
2016-01-14 19:03 ` Tom Rini
2016-01-20 21:01 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox