HI Akash,

 

Just FYI, we are using the below conf file. You can find other related files from https://github.com/Intel-BMC/openbmc/blob/intel/meta-openbmc-mods/meta-ast2500/recipes-phosphor/console/obmc-console/obmc-console.conf

 

cat /etc/obmc-console.conf

baud = 115200

local-tty = ttyS3

local-tty-baud = 115200

 

Thanks,

Yong

From: openbmc <openbmc-bounces+yong.b.li=linux.intel.com@lists.ozlabs.org> On Behalf Of AKASH G J
Sent: Friday, December 27, 2019 2:54 PM
To: openbmc@lists.ozlabs.org
Subject: Serial Over Lan (SOL) no login prompt on Linux IRQ mode

 

Hi all,

 

We are using BMC Aspeed AST-2500 in our motherboard with OpenBMC firmware. 'obmc-console' is used to get host messages over BMC. obmc-console.conf looks like

lpc-address = 0x3f8
sirq = 4
local-tty = ttyS4
local-tty-baud = 115200

 

BIOS serial redirection is enabled over COM port 0 (0x3f8, sirq=4, baudrate=115200) for super-IO.

 

we set /dev/ttyS0 in CentOS to work in polling mode by making its irq=0 using the following command

 

$ setserial /dev/ttyS0 uart 16550a irq 0

Now we are getting CentOS login prompt on SOL.

When we change /dev/ttyS0 back to interrupt mode with irq=4, we are not getting login prompt on SOL.

 

Whether anything is required to be done in OpenBMC firmware/BIOS to enable irq mode for SOL ?

 

 

 

Thanks,

 

Akash