lctr-b2xx: forced u-boot to wait for a specific string to stop autoboot, otherwise the BBB will sometimes enter the bootloader with spurious characters.
This commit is contained in:
parent
fb61cca332
commit
e731c8b8cf
@ -12,7 +12,7 @@ new file mode 100644
|
|||||||
index 0000000..9e00817
|
index 0000000..9e00817
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/include/configs/am335x_bbb.h
|
+++ b/include/configs/am335x_bbb.h
|
||||||
@@ -0,0 +1,135 @@
|
@@ -0,0 +1,138 @@
|
||||||
+/*
|
+/*
|
||||||
+ * am335x_evm.h
|
+ * am335x_evm.h
|
||||||
+ *
|
+ *
|
||||||
@ -34,10 +34,13 @@ index 0000000..9e00817
|
|||||||
+#include <configs/ti_am335x_common.h>
|
+#include <configs/ti_am335x_common.h>
|
||||||
+
|
+
|
||||||
+#ifdef CONFIG_BOOTDELAY
|
+#ifdef CONFIG_BOOTDELAY
|
||||||
+# undef CONFIG_BOOTDELAY
|
+# undef CONFIG_BOOTLDELAY
|
||||||
+#endif
|
+#endif
|
||||||
+#define CONFIG_BOOTDELAY 0
|
+#define CONFIG_BOOTDELAY 2
|
||||||
+#define CONFIG_ZERO_BOOTDELAY_CHECK 1
|
+#define CONFIG_AUTOBOOT_KEYED 1
|
||||||
|
+#define CONFIG_AUTOBOOT_DELAY_STR "uboot"
|
||||||
|
+#define CONFIG_AUTOBOOT_PROMPT \
|
||||||
|
+ "autoboot in %d seconds\n",bootdelay
|
||||||
+
|
+
|
||||||
+#undef CONFIG_BOOTM_NETBSD
|
+#undef CONFIG_BOOTM_NETBSD
|
||||||
+#undef CONFIG_BOOTM_PLAN9
|
+#undef CONFIG_BOOTM_PLAN9
|
||||||
|
Reference in New Issue
Block a user