[PATCH v3 3/3] arm64: dts: Add mediatek MT8173 earlycon support

Vineet Gupta Vineet.Gupta1 at synopsys.com
Wed Apr 29 01:19:02 PDT 2015


On Wednesday 29 April 2015 12:15 PM, Sascha Hauer wrote:
> Hi Eddie,
>
> On Tue, Apr 28, 2015 at 09:40:34PM +0800, Eddie Huang wrote:
>> Add earlycon support to mediatek MT8173 evaluation board dts.
> This is not about earlycon support. It adds the stdout-path property
> which is generally about console.

Indeed, this is shorter way of specifying the default console by referring to uart
device.

>  It only happens to used for earlycon,
> but would be used as a regular console aswell if it wasn't broken for
> some kernel revisisions.

Really - I'm confused. When I last tried this for arc_uart (in 3.17 time frame),
it would setup default console, but to use it for earlycon we needed
bootargs=earlycon in chosen. However I had to revet that change since OF core
still was fixing a few things in that area.

See mainline 22524b02b17b901f28 ("Revert "ARC: [arcfpga] stdout-path now suffices
for earlycon/console"")

-Vineet

>
>>  
>> -	chosen { };
>> +	chosen {
>> +		linux,stdout-path = &uart0;
>> +	};
> Please use stdout-path, without the 'linux,'.
>
> Sascha
>




More information about the Linux-mediatek mailing list