[U-Boot] [PATCH 2/2] ARM: versatile: pass console setting to the kernel

Albert ARIBAUD albert.u.boot at aribaud.net
Mon Jan 13 09:45:30 CET 2014


Hi Linus,

On Wed, 27 Nov 2013 10:33:49 +0100, Linus Walleij
<linus.walleij at linaro.org> wrote:

> The Versatiles come up with the primary UART set to ttyAMA0 at
> 38400 baud, and unless we pass this to the kernel it will assume
> it is set to 9600 baud which will be quite awkward for the
> terminal, let's try to be helpful and inform the kernel what
> setting is used.
> 
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Marek Vasut <marex at denx.de>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
>  include/configs/versatile.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/include/configs/versatile.h b/include/configs/versatile.h
> index 10738ac24be0..29c32fee5178 100644
> --- a/include/configs/versatile.h
> +++ b/include/configs/versatile.h
> @@ -101,7 +101,8 @@
>  
>  #define CONFIG_BOOTDELAY	2
>  #define CONFIG_BOOTARGS		"root=/dev/nfs mem=128M ip=dhcp "\
> -				"netdev=25,0,0xf1010000,0xf1010010,eth0"
> +				"netdev=25,0,0xf1010000,0xf1010010,eth0 "\
> +				"console=ttyAMA0,38400n1"
>  
>  /*
>   * Static configuration when assigning fixed address

Applied to u-boot-arm/next, thanks!

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list