include: configs: ge: avoid shell on boot failure
authorIan Ray <ian.ray@ge.com>
Fri, 23 Apr 2021 14:15:13 +0000 (16:15 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 2 May 2021 10:46:54 +0000 (12:46 +0200)
Prevent shell access on boot failure by entering an infinite
loop.

Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
include/configs/ge_bx50v3.h
include/configs/mx53ppd.h

index a4d5752..c8e9d3b 100644 (file)
@@ -96,7 +96,8 @@
                "setcurs 5 4; " \
                "lcdputs \"Monitor failed to start. " \
                "Try again, or contact GE Service for support.\"; " \
-               "bootcount reset; \0" \
+               "bootcount reset; " \
+               "while true; do sleep 1; done; \0" \
        "altbootcmd=" \
                "run doquiet; " \
                "setenv partnum 1; run hasfirstboot || setenv partnum 2; " \
index a8c5c82..b1e6a56 100644 (file)
@@ -76,7 +76,8 @@
                "setcurs 5 4; " \
                "lcdputs \"Monitor failed to start. " \
                "Try again, or contact GE Service for support.\"; " \
-               "bootcount reset; \0" \
+               "bootcount reset; " \
+               "while true; do sleep 1; done; \0" \
        "altbootcmd=" \
                "run doquiet; " \
                "setenv partnum 1; run hasfirstboot || setenv partnum 2; " \