diff options
author | Ian Ray | 2021-04-23 16:15:13 +0200 |
---|---|---|
committer | Stefano Babic | 2021-05-02 12:46:54 +0200 |
commit | 3a5435580d37dcc821dc8af8c2fa8c77179883f9 (patch) | |
tree | ed1acdcb72ebb84420101612f48f090b456ff444 /include | |
parent | ee77bb571925069e5f179d6d0c27b2411f2d77f0 (diff) |
include: configs: ge: avoid shell on boot failure
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/ge_bx50v3.h | 3 | ||||
-rw-r--r-- | include/configs/mx53ppd.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h index a4d5752bf46..c8e9d3b17f5 100644 --- a/include/configs/ge_bx50v3.h +++ b/include/configs/ge_bx50v3.h @@ -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; " \ diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h index a8c5c828bd3..b1e6a5638b6 100644 --- a/include/configs/mx53ppd.h +++ b/include/configs/mx53ppd.h @@ -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; " \ |