]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 a4d5752bf4603364319fdbf39ae6f17e0f5aebaa..c8e9d3b17f5eab634fb190d86cc91b00fa938622 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 a8c5c828bd31ff8c889490ec40b8b5d23300b940..b1e6a5638b6cc46237a327226ecbc5af5271d59d 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; " \