diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2017-04-26 13:59:01 +1000 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2017-04-26 14:45:48 +1000 |
commit | 15572e4d646758ad75d69526d096c380fe3aaf2b (patch) | |
tree | b77f8065af8c685ec7fa9efc3c3ee64103c6c2f7 /board-js2x | |
parent | 2f1e6a73f2090bcd87eb4185763c744a290c13ad (diff) | |
download | SLOF-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-js2x')
0 files changed, 0 insertions, 0 deletions