openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: =?gb18030?B?yL3RqQ==?= <869883681@qq.com>
To: =?gb18030?B?b3BlbmJtYw==?= <openbmc@lists.ozlabs.org>
Subject: How to change the default output serial
Date: Sun, 20 Sep 2020 15:31:00 +0800	[thread overview]
Message-ID: <tencent_34CE0CBCEE22E9E6CF3069506723323E9B06@qq.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 566 bytes --]

Hello there
I am trying to use openbmc recently. The board uses uart2 as the output of BMC. How can I change the default uart from uart5 to uart2?
The image I compiled on the basis of romulus, first I modified aspeed-bmc-opp-romulus.dts, I opened the uart2 serial port in dts, and modified stdout-path=&amp;uart2,bootargs = "console = ttyS1" in chosen.
Then, I modified the include/config/ast-common.h file in uboot , #define CONFIG_SYS_NS16550_COM1 AST_UART2_BASE(whice is AST_UART0_BASE).
Am I doing something wrong? Do you have any suggestion?
Thanks!!
sgc.

[-- Attachment #2: Type: text/html, Size: 711 bytes --]

             reply	other threads:[~2020-09-20  7:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20  7:31 =?gb18030?B?yL3RqQ==?= [this message]
2020-10-07 19:52 ` How to change the default output serial Anton Kachalov
  -- strict thread matches above, loose matches on Subject: below --
2020-09-19 12:28 =?gb18030?B?wOa7qNTC?=

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=tencent_34CE0CBCEE22E9E6CF3069506723323E9B06@qq.com \
    --to=869883681@qq.com \
    --cc=openbmc@lists.ozlabs.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).