[PATCH 0/2] ARM: earlycon: Fix <CR><LF><CR> end-of-line

Alexander Sverdlin alexander.sverdlin at nokia.com
Wed Sep 27 04:57:58 PDT 2017


On 27/09/17 13:52, Russell King - ARM Linux wrote:
>> 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
> You omit to say why you want this change...

Well, only because it produces normal serial log after the change, as all other ARCHs
do. Depending on the viewer one either doesn't have extra "^M" at the beginning of each
line or the lines are not interlaced (with extra empty lines) any more.

-- 
Best regards,
Alexander Sverdlin.



More information about the linux-arm-kernel mailing list