STEPS FOR CHANGING THE DEFAULT SERIAL CONSOLE TO UART2

Patrick Williams patrick at stwcx.xyz
Wed Nov 18 03:40:13 AEDT 2020


On Tue, Nov 17, 2020 at 08:31:35AM -0600, Joseph Reynolds wrote:
> On 11/16/20 5:29 PM, Andrew Jeffery wrote:
> > On Tue, 17 Nov 2020, at 08:12, Joseph Reynolds wrote:
> >> On 11/16/20 2:30 PM, Radhika Pradeep wrote:

> Thanks for clarifying.  In that case, see 
> https://github.com/openbmc/docs/blob/master/architecture/interface-overview.md#bmc-serial
> which unfortunately does not yet have any details.  :-(
> 
> Is the BMC's console configured in the machine config file using the 
> Yocyo/poky SERIAL_CONSOLE or SERIAL_CONSOLES bitbake variable?
> For example, here 
> https://github.com/openbmc/openbmc/blob/master/meta-aspeed/conf/machine/evb-ast2500.conf
> 

I think there are three places that the BMC UART needs to be updated:

- Kernel command line
    - This comes from U-boot since that is what launches the kernel and
      passes along the command line to the kernel.
    - In U-boot v2016.07-aspeed-openbmc this was in ast-common.h, but I
      don't know where it went in v2019.04-aspeed-openbmc.
- U-boot itself
    - I think this is in the same ast-common.h under CONFIG_CONS_INDEX.
- Userspace via SERIAL_CONSOLE.
    - This is the config you pointed to above.

-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201117/48381e44/attachment.sig>


More information about the openbmc mailing list