aboutsummaryrefslogtreecommitdiff
path: root/board-qemu
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2017-04-26 13:59:01 +1000
committerAlexey Kardashevskiy <aik@ozlabs.ru>2017-04-26 14:45:48 +1000
commit15572e4d646758ad75d69526d096c380fe3aaf2b (patch)
treeb77f8065af8c685ec7fa9efc3c3ee64103c6c2f7 /board-qemu
parent2f1e6a73f2090bcd87eb4185763c744a290c13ad (diff)
downloadSLOF-15572e4d646758ad75d69526d096c380fe3aaf2b.zip
SLOF-15572e4d646758ad75d69526d096c380fe3aaf2b.tar.gz
SLOF-15572e4d646758ad75d69526d096c380fe3aaf2b.tar.bz2
bootmsg: Fix message for detected kernel
126e458fdc00 assumes that checkpoints are always printed from the beginning of a line which is not the case when SLOF detects a kernel image in check-boot-from-ram. When this happens, SLOF prints a diagnostic message: Detected RAM kernel at 400000 (180c3bc bytes) Without 126e458fdc00, SLOF prints another checkpoint at the end of the message, then it clears the last checkpoint with ." " and we see a nice message. With 126e458fdc00, we see: ted RAM kernel at 400000 (180c3bc bytes) C08FF This adds "cr" to prevent the message from spoiling. Fixes: 126e458fdc00 ("libbootmsg: Do not use '\b' characters when printing checkpoints") Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'board-qemu')
-rw-r--r--board-qemu/slof/OF.fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/board-qemu/slof/OF.fs b/board-qemu/slof/OF.fs
index 5be56ed..2a6e33f 100644
--- a/board-qemu/slof/OF.fs
+++ b/board-qemu/slof/OF.fs
@@ -288,7 +288,7 @@ set-default-console
swap 20 << or to direct-ram-boot-size
swap 20 << or to direct-ram-boot-base
." Detected RAM kernel at " direct-ram-boot-base .
- ." (" direct-ram-boot-size . ." bytes) "
+ ." (" direct-ram-boot-size . ." bytes) " cr
\ Override the boot-command word without touching the
\ nvram environment
s" boot-command" $create " (boot-ram)" env-string