From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=michael.d.kinney@intel.com; receiver=edk2-devel@lists.01.org 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 ml01.01.org (Postfix) with ESMTPS id 8EAB921197B20 for ; Wed, 20 Mar 2019 12:06:08 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Mar 2019 12:06:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,249,1549958400"; d="scan'208";a="142382761" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by FMSMGA003.fm.intel.com with ESMTP; 20 Mar 2019 12:06:06 -0700 Received: from orsmsx158.amr.corp.intel.com (10.22.240.20) by ORSMSX110.amr.corp.intel.com (10.22.240.8) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 20 Mar 2019 12:05:57 -0700 Received: from orsmsx112.amr.corp.intel.com ([169.254.3.233]) by ORSMSX158.amr.corp.intel.com ([169.254.10.91]) with mapi id 14.03.0415.000; Wed, 20 Mar 2019 12:05:57 -0700 From: "Kinney, Michael D" To: Jacob Burkholder , "edk2-devel@lists.01.org" , "Kinney, Michael D" Thread-Topic: [edk2] SerialDxe with BaseSerialPortLib16550 and standard PC com port Thread-Index: AQHU3sGf+OTjGwpARkSFz6opeIEDKaYU4jHg Date: Wed, 20 Mar 2019 19:05:56 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Subject: Re: SerialDxe with BaseSerialPortLib16550 and standard PC com port X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Mar 2019 19:06:09 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable What are the PCDs settings you are using for the SerialPortLib? Thanks, Mike > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] > On Behalf Of Jacob Burkholder > Sent: Tuesday, March 19, 2019 7:06 PM > To: edk2-devel@lists.01.org > Subject: [edk2] SerialDxe with BaseSerialPortLib16550 and > standard PC com port >=20 > Greetings! >=20 > I had trouble using SerialDxe.efi with > BaseSerialPortLib16550 on a standard > PC com port (com1). The PC is an asrock motherboard > running whatever EFI > bios it came with. I changed MdeModulePkg.dsc so that > BaseSerialPortLib16550 would be used instead of > BaseSerialPortLibNull and > then rebuilt SerialDxe.efi and loaded and started it > using > BootServices->{LoadImage,StartImage}. >=20 > Output works but input doesn't work, typed characters > aren't received by > the uart. I looked at the code briefly and it seems like > the uart isn't > initialized properly. I used this script to get input > working (the > commands should be self explanatory, they're not efi > shell commands though): >=20 > image SerialDxe.efi > outb 0x3fb 0x83 > outw 0x3f8 1 > outb 0x3fb 0x3 > outb 0x3fc 0x3 >=20 > Any chance it can be fixed upstream? >=20 > Thanks, >=20 > Jake > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel