On 06/26/2017 07:25 PM, Alexey Brodkin wrote:
>>> +
>>> + chosen {
>>> + bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1";
>> Use stdout-path for the console. Really, the bootargs should be blank
>> and populated by the bootloader especially debug options.
> Agree but in case of devboards we quite often disable bootloader and
> load Linux image in memory via JTAG. So in that case bootargs make perfect sense IMH
FWIW, I tried this 2 years ago (v4.1 ish) per pestering by Arnd but at the time I
had to add some hacks in early 8250 driver to get this working for ARC.
See,
http://www.spinics.net/lists/linux-serial/msg17742.htmlhttp://www.spinics.net/lists/linux-serial/msg17747.html
We can certainly revisit this now.
-Vineet