From nobody Tue May 24 12:29:05 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0C3AE1B4E313; Tue, 24 May 2022 12:29:17 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2104.outbound.protection.outlook.com [40.107.117.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L6tmW5cRBz3s9c; Tue, 24 May 2022 12:29:15 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Oo9Q6nKJ6g0lZQcyg4w+g8M/USAj2O3phIrH5U7EH2XlCAvPLBclnUZ8S850S46HCCjV/Zt4MBoY4vflQi30bwKabUhkXDpbf3p2XIr4DwS/78fj2W+xMvOGqXG6hBNMqz0llUpXsfWs6N4Ri7DfSJmh2u3wVAV+IviTBWW4QPxi35usGhd6Ky2V1nT03nIKglDv+dErD4CMjumMVrB53YjQKc97SRyggviZ3Y6xoYXrkNlIxZh+TbQwTR/dqum13BFIFq78hm6ggRg1HNlKfocTPV5odgpORu1RvH3OgxO06VYbik8bToB5e9sH54dZSDuAsDtwPVjElsAGRXBRyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=E2ZBueQyt/XxGsfgfYPu2+acvdnLcdgCh4EiqdFfvDE=; b=KQhtINMtqgNON5r3ftIJYZ0DPqJ1w2oi8JwNAWoOMqjUIutXx+zXkZ+Jb73OJwPsNmZobjz/5/jaTLDJ1n8IqTm173uATxB/K4c1XZmlZ4CMyYWpn2zdqENWznwthne8+zVowPzhyrenVH45ekJOK3lpoIT45TXRBe+Wahxd4v2vk4+K12aT+/HobyhNHU9hHcl/TaE8c9AuFfcco6kOcN8jiynTCkCQKFpa2ecl9OxktVkNvritat3z0VMlMu4QWP5eLaXVD2+k8OR91N7QGdykbfFDRR4EEpVmfLAXyJld872Jylxk7ldNkzLtdJVi7pRN6eu0V2NM8M3EQLlc/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E2ZBueQyt/XxGsfgfYPu2+acvdnLcdgCh4EiqdFfvDE=; b=B/9eDCl6ipXcvXWH2Cijgb6vfCaZrKvwyexmqFzq2H1PQVENSGcteteWApdSN1lR8zc7s6tBlCsA5JmcOhi2j6PqgUe1KEB1QaRFtqT5eMePrGC2G41LKSJE6GK76ynOW4UBRG8fEaf402vzFotiGQqeKUzaVM60/QlfRaid/Vc= Received: from PSAP153MB0536.APCP153.PROD.OUTLOOK.COM (2603:1096:301:75::14) by TYZP153MB0479.APCP153.PROD.OUTLOOK.COM (2603:1096:400:54::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.1; Tue, 24 May 2022 12:29:05 +0000 Received: from PSAP153MB0536.APCP153.PROD.OUTLOOK.COM ([fe80::6146:9fc6:62ef:9cfd]) by PSAP153MB0536.APCP153.PROD.OUTLOOK.COM ([fe80::6146:9fc6:62ef:9cfd%6]) with mapi id 15.20.5314.005; Tue, 24 May 2022 12:29:05 +0000 From: Souradeep Chakrabarti To: "freebsd-arm@FreeBSD.org" , "freebsd-hackers@FreeBSD.org" CC: Wei Hu Subject: RE: unable to get virtual serial console for EFI Thread-Topic: unable to get virtual serial console for EFI Thread-Index: AdhuioZ1RmwGFkAIQSSs+orr/q96BgA3sRNwAAAabeA= Date: Tue, 24 May 2022 12:29:05 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=5770f6ef-1257-45a3-91d5-831d3060b3cf;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2022-05-23T09:48:53Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: acef6bbc-9b3a-4678-ac1a-08da3d80fe10 x-ms-traffictypediagnostic: TYZP153MB0479:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1uQtU/rzgaS2u/Y947SDtL6Hdcck8X++3lMi+3TjgVtWok/1L3GmAkFXVlu1v997G2kh82DZT9KRsZWTVsZY57GPIqQEuqrF0oKukf/7XvS2ceYxiTqV6aR/daGw/3GshSUD4Zg4Xy+G4GxrUZ1AkwB9SYF1eHGwsmfs6VI2z9bUtX6oOwwqx6yRSQSw/0NEqnpfE/PGry2hTOtC0MpfbN4RywRDVJpe42JC/5O+JoWlg6hazy5BCzug4HZuWDRvLTHxSUZFU0hH4Eioa0KKH/f/4yfLPci7Qhs059fSqDxTpr9x5ITpDJ4R+Vft90dl1onC/i5QJNby91dfUHFVO59cPervt5Qelre+i5VixWNIWMKjORhMizcFX3ZxlEUVH9KDsvDXy4MIr5527Mx47spOEE6kZibDJHwuIseT39ZqMlaqstM7el+bjRnyaUJhgv7wTmpB8EL+oN/P4uTCbqvz41G4cx0xHm2FIctG9zgsdlF/VDK8PkbAQ3DxnUH4LBHjwO1e5tEbd+Oc8teYVn0wcdjUd6zw0C8EpcbbIz2DzH+/ixDrihE9VqBMYxLAJNcYi+GULL/mVP+PyY6iPdma1wkZq/Rv3pQhpP2EGYUX7ZIXVPxnAq1stC/0JXjZU9VQ7lOKBesY7lRh6xybEjtu4nE7kVr6dFpPSx1XjpoiL2HBYJ8k/zjE2cJ8GI7wISJ/VWdPs/4MPfn3MjcZpd0wxIDJlYXMtt7z+QeT+i2onbYqrkI6n9VJEr/PMGWAEXYTV/wa5pJnWnlq5lmjJBOBV+1o9+0TFgGmrFtyXQM= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PSAP153MB0536.APCP153.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(451199009)(508600001)(8990500004)(316002)(2940100002)(86362001)(55016003)(71200400001)(33656002)(83380400001)(107886003)(2906002)(66946007)(4326008)(8676002)(5660300002)(450100002)(66446008)(66476007)(66556008)(64756008)(82960400001)(82950400001)(4744005)(76116006)(9326002)(110136005)(186003)(6506007)(7696005)(9686003)(52536014)(26005)(10290500003)(38070700005)(122000001)(8936002)(38100700002)(460985005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fJwinjyBSH8B+rP7q7q6+xz8bhbu6+6Nn3Is+PfmfbrKWSyCURXqnP168ek/?= =?us-ascii?Q?mNGrOXDjgS5ASGhZEmBDCsN4U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us-ascii?Q?gEKe50jikQ6xRuFK9Lr8IPk+MQ3hF2DQbJmaPK9aYFyJiQMwv4kuCGzOOaqb?= =?us-ascii?Q?q6w8cmAb0v3opx9DC2j5o2LxRj0bD0MzflM/7cgJOgfUiDJuDGyOTyXE6b9M?= =?us-ascii?Q?+2etOpStq2DbZd4x2Mx1if1/GyNh9uJnPrnURdiACxIacprBjCWO/D/irHHi?= =?us-ascii?Q?DLGBkq6kj8gvzakIwOioCJw5fQhf8btr5JKzKbU8z7hiqYDPjTGDhK27Xz3N?= =?us-ascii?Q?aDkqgBFb92GR2vznyVtgD+dcUNaD1pp8aSfBbAr+BSTU4q19BDoazqJST1wc?= =?us-ascii?Q?XMTd+izevbrekvjInOt6mMWo4WsOvDbA8M7RFhMvQMnQLCH9LZn73ewnLcUs?= =?us-ascii?Q?r5qwZvltZS/1hq7AD7PpJRySjbkZ3AYoLLv2zkVQiP90ka8ogb5f0J3v/Caw?= =?us-ascii?Q?efDhIcbWRaHCY8sjSF1kAsYawGf4okfP+GScsBULA7H2yYmR6vYh2SHyOjPC?= =?us-ascii?Q?4ldDgnZi9eLjuM3G+Rape1IJVBBMGsRoIiaMMPHbrDV2KEvHWKbXeMEONdT5?= =?us-ascii?Q?fDVbYsw8VAmsmaw4AEzxsC5jPNmzFKFHDMtw4k5cAvja+2po9/PNknV8cVa6?= =?us-ascii?Q?z+gG4f0fgBs5Y+obTomtzETBAna+pO9xnEW4K/AQ0+Tn9WdW1+4Q2xBPOrJa?= =?us-ascii?Q?1gER+siMq6ncaUZl0VkSA1hRzRnNkVhq76uba0BgDbJXpTtVc1Aid7qjIAiV?= =?us-ascii?Q?OLYXWupFVSozkfnifF1impTpOE4=3D?= Content-Type: multipart/alternative; boundary="_000_PSAP153MB0536ABA1A82461F1474A3389CCD79PSAP153MB0536APCP_" List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PSAP153MB0536.APCP153.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: acef6bbc-9b3a-4678-ac1a-08da3d80fe10 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2022 12:29:05.3492 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: N9cVrlxEB/cxsYyqbs+ToGrAtodiYas57WoUa7wUDFyhhcLvnIqTQMjfgyNRZzBXWn1oeBKexQll2tfYf8UkPZEzr2rQP0UDMfotQ6OZa8w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZP153MB0479 X-Rspamd-Queue-Id: 4L6tmW5cRBz3s9c X-Spamd-Bar: --------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=microsoft.com header.s=selector2 header.b="B/9eDCl6"; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=reject) header.from=microsoft.com; spf=pass (mx1.freebsd.org: domain of schakrabarti@microsoft.com designates 40.107.117.104 as permitted sender) smtp.mailfrom=schakrabarti@microsoft.com X-Spamd-Result: default: False [-9.96 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[microsoft.com:s=selector2]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[microsoft.com:+]; DMARC_POLICY_ALLOW(-0.50)[microsoft.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[40.107.117.104:from]; DWL_DNSWL_MED(-2.00)[microsoft.com:dkim]; MLMMJ_DEST(0.00)[freebsd-arm,freebsd-hackers]; NEURAL_HAM_SHORT(-0.96)[-0.957]; WHITELIST_SPF_DKIM(-3.00)[microsoft.com:d:+,microsoft.com:s:+]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.117.104:from] X-ThisMailContainsUnwantedMimeParts: N --_000_PSAP153MB0536ABA1A82461F1474A3389CCD79PSAP153MB0536APCP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I am trying to get the virtual serial console to access via putty while boo= ting FreeBSD 13 arm64 bootonly on Hyper-V. Setting console=3D"efi" is not helping to have the virtual serial console a= ccess using putty for ARM64. It is before any kernel module loaded. I can get the loader output in vmconnect.exe but not in the putty. Though I can see VM is getting connected to Hyper-V virtual COM1 console. B= ut no output is coming to putty. I have following question : Any specific support from EFI firmware, is required for virtual serial to w= ork in EFI loader in this phase of loading? I can see FreeBSD EFI loader is able to read the ConInDev and ConOutDev var= iables. With set console=3D"efi" or set console=3D"comconsole,efi" or set console= =3D"efi" , nothing in getting redirected in putty in arm64. But in X86 that is not the problem. Without this debugging the bring up of FreeBSD on arm64 Hyper-V is quite di= fficult. Any help or pointers are really appreciated. Regards, Souradeep --_000_PSAP153MB0536ABA1A82461F1474A3389CCD79PSAP153MB0536APCP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I am trying to get the virtual serial console to acc= ess via putty while booting FreeBSD 13 arm64 bootonly on Hyper-V.

 

Setting console=3D"efi" is not helping = to have the virtual serial console access using putty for ARM64. It is befo= re any kernel module loaded.

I can get the loader output in vmconnect.exe but = not in the putty.

 

Though I can see VM is getting connected to Hyper= -V virtual COM1 console. But no output is coming to putty.

 

I have following question :

Any specific support from EFI firmware, is requir= ed for virtual serial to work in EFI loader in this phase of loading?<= /o:p>

 

I can see FreeBSD EFI loader is able to read the = ConInDev and ConOutDev variables.

 

With set console=3D"efi" or set console= =3D"comconsole,efi"  or set console=3D"efi" , noth= ing in getting redirected in putty in arm64.

But in X86 that is not the problem.

 

Without this debugging the bring up of FreeBSD on= arm64 Hyper-V is quite difficult. Any help or pointers are really apprecia= ted.

 

Regards,

Souradeep

 

 

--_000_PSAP153MB0536ABA1A82461F1474A3389CCD79PSAP153MB0536APCP_--