All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] ARM: versatile: pass console setting to the kernel
Date: Wed, 27 Nov 2013 11:03:16 +0100	[thread overview]
Message-ID: <201311271103.16618.marex@denx.de> (raw)
In-Reply-To: <1385544829-22601-1-git-send-email-linus.walleij@linaro.org>

Dear Linus Walleij,

> 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@denx.de>
> Cc: Marek Vasut <marex@denx.de>
> Signed-off-by: Linus Walleij <linus.walleij@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"

We're currently trying to migrate away from having the environment built into 
the bootloader altogether. On the other hand, I understand this is a bona-fide 
fix. I would let this one slide.

Best regards,
Marek Vasut

  reply	other threads:[~2013-11-27 10:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-27  9:33 [U-Boot] [PATCH 2/2] ARM: versatile: pass console setting to the kernel Linus Walleij
2013-11-27 10:03 ` Marek Vasut [this message]
2013-11-27 12:43   ` Linus Walleij
2014-01-13  8:45 ` Albert ARIBAUD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201311271103.16618.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.