Re: [PATCH v2 03/13] ARM: shmobile: kzm9d dts: Add chosen/stdout-path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, Oct 03, 2014 at 05:11:34PM +0200, Geert Uytterhoeven wrote:
> Add a stdout-path property so that automatic console selection works
> in the absence of a "console=" parameter on the kernel command line.
> 
> Remove the now-superfluous "console=" parameter from chosen/bootargs.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

In my environment the bootargs portion of this change results
in no console output. I am guessing that this is because the
console starts with a different terminal speed (though which speed
I am unsure).

If my guess is correct then strictly speaking this is not a bug,
though it is a behavioural change. And as such I think at the very
least it needs some discussion.

> ---
> v2:
>   - No changes
> ---
>  arch/arm/boot/dts/emev2-kzm9d.dts | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/emev2-kzm9d.dts b/arch/arm/boot/dts/emev2-kzm9d.dts
> index a1794cbd23fee319..d01baba9e56f7781 100644
> --- a/arch/arm/boot/dts/emev2-kzm9d.dts
> +++ b/arch/arm/boot/dts/emev2-kzm9d.dts
> @@ -24,7 +24,8 @@
>  	};
>  
>  	chosen {
> -		bootargs = "console=ttyS1,115200n81 ignore_loglevel root=/dev/nfs ip=dhcp";
> +		bootargs = "ignore_loglevel root=/dev/nfs ip=dhcp";
> +		stdout-path = &uart1;
>  	};
>  
>  	gpio_keys {
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux