STEPS FOR CHANGING THE DEFAULT SERIAL CONSOLE TO UART2

Joseph Reynolds jrey at linux.ibm.com
Wed Nov 18 06:30:12 AEDT 2020


On 11/17/20 10:40 AM, Patrick Williams wrote:
> 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,

Thanks for the details.  I've massaged them into our nascent 
configuration guide:
https://github.com/openbmc/openbmc/wiki/Configuration-guide#bmc-console-shell-access

- Joseph



More information about the openbmc mailing list