Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: earlycon: Fix <CR><LF><CR> end-of-line
@ 2017-09-27 11:49 Alexander Sverdlin
  2017-09-27 11:49 ` [PATCH 1/2] ARM: Make DEBUG_LL produce CRLF instead of LFCR Alexander Sverdlin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexander Sverdlin @ 2017-09-27 11:49 UTC (permalink / raw)
  To: linux-arm-kernel

Since very beginning the early serial console on ARM produces <CR><LF><CR>
line terminator. There are couple of problems connected:
1. C function early_write() adds <CR> to each <LF> even though underlying
   Assembler printch() does this already
2. printch() adds <CR> *after* <LF>, not before, as it is usually being done

This patchset is tested on a Keystone2 machine (Cortex-A15) with
CONFIG_THUMB2_KERNEL=n.

Alexander Sverdlin (2):
  ARM: Make DEBUG_LL produce CRLF instead of LFCR
  ARM: early_printk: Stop emitting double CR on the console

 arch/arm/kernel/debug.S        | 11 +++++++----
 arch/arm/kernel/early_printk.c |  2 --
 2 files changed, 7 insertions(+), 6 deletions(-)

-- 
2.4.6

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-27 11:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-27 11:49 [PATCH 0/2] ARM: earlycon: Fix <CR><LF><CR> end-of-line Alexander Sverdlin
2017-09-27 11:49 ` [PATCH 1/2] ARM: Make DEBUG_LL produce CRLF instead of LFCR Alexander Sverdlin
2017-09-27 11:49 ` [PATCH 2/2] ARM: early_printk: Stop emitting double CR on the console Alexander Sverdlin
2017-09-27 11:52 ` [PATCH 0/2] ARM: earlycon: Fix <CR><LF><CR> end-of-line Russell King - ARM Linux
2017-09-27 11:57   ` Alexander Sverdlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox