From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.intel.com (client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=yong.b.li@linux.intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47kdqK6YdczDqFB for ; Fri, 27 Dec 2019 18:33:47 +1100 (AEDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Dec 2019 23:33:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,362,1571727600"; d="scan'208,217";a="250583031" Received: from yongli3-mobl.ccr.corp.intel.com (HELO yongli3MOBL) ([10.239.196.48]) by fmsmga002.fm.intel.com with ESMTP; 26 Dec 2019 23:33:42 -0800 From: "Yong Li" To: "'AKASH G J'" , References: In-Reply-To: Subject: RE: Serial Over Lan (SOL) no login prompt on Linux IRQ mode Date: Fri, 27 Dec 2019 15:33:41 +0800 Message-ID: <000001d5bc87$f6fe3780$e4faa680$@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01D5BCCB.05263270" X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQH5WuithICFQcoWTZidcfuIuSdGnqeGVUDg Content-Language: en-us x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWUyZmMxMGUtY2MzZC00NzUzLTlhMGQtNzg0ZGY1YmM2MDEwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoic0JlUjhqNHpkVVhjZnE0c3NoRlpDb2VFcjNJUmQrNzVrcW50QzE2d1FIZmVCQUdDVXpmUVoxcm9nbFFYMTJISSJ9 dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2019 07:33:51 -0000 This is a multipart message in MIME format. ------=_NextPart_000_0001_01D5BCCB.05263270 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable HI Akash, =20 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-as= t2500/recipes-phosphor/console/obmc-console/obmc-console.conf =20 cat /etc/obmc-console.conf baud =3D 115200 local-tty =3D ttyS3 local-tty-baud =3D 115200 =20 Thanks, Yong From: openbmc = 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 =20 Hi all, =20 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=20 lpc-address =3D 0x3f8 sirq =3D 4 local-tty =3D ttyS4 local-tty-baud =3D 115200 =20 BIOS serial redirection is enabled over COM port 0 (0x3f8, sirq=3D4, = baudrate=3D115200) for super-IO. =20 we set /dev/ttyS0 in CentOS to work in polling mode by making its = irq=3D0 using the following command=20 =20 $ setserial /dev/ttyS0 uart 16550a irq 0=20 Now we are getting CentOS login prompt on SOL.=20 When we change /dev/ttyS0 back to interrupt mode with irq=3D4, we are = not getting login prompt on SOL. =20 Whether anything is required to be done in OpenBMC firmware/BIOS to = enable irq mode for SOL ? =20 =20 =20 Thanks, =20 Akash ------=_NextPart_000_0001_01D5BCCB.05263270 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

HI Akash,

 

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

 

cat = /etc/obmc-console.conf

baud =3D = 115200

local-tty =3D = ttyS3

local-tty-baud =3D = 115200

 

Thanks,

Yong

From: openbmc = <openbmc-bounces+yong.b.li=3Dlinux.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 =3D = 0x3f8
sirq =3D 4
local-tty =3D ttyS4
local-tty-baud =3D = 115200

 

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

 

we set = /dev/ttyS0 in CentOS to work in polling mode by making its = irq=3D0 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=3D4, 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,<= o:p>

 

Akash

------=_NextPart_000_0001_01D5BCCB.05263270--