From nobody Mon May 23 09:57:35 2022 X-Original-To: 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 11EB51B33E25 for ; Mon, 23 May 2022 09:57:48 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) Received: from apac01-obe.outbound.protection.outlook.com (mail-eastasiaazon11020016.outbound.protection.outlook.com [52.101.128.16]) (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 4L6CSC0Ds9z3CBp for ; Mon, 23 May 2022 09:57:47 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gIVjf1NJlDbXPfE9mtU88WVVnN4mxl6nNj2TjqBCYclJ8ZTO43SpG135vgMist8yXmRy+VpbK1/9Mu2nhiOyDr4v+glMrMYJLpC0oJhqada/mCZPycUGPtdbaUVOD4NAti06imfRvtLQLNWJ+TAzIWH4HtKpNvhLShY/4AJCtQtLZBc2liP8/6Cj3GMgXFUAKoCSHVlavG7osAuFyfAOk4RnNl6t5yxSzKpGKhObsXIFiKxnfdv9ZSfEcRJHBvPhy7NGztzxENOKqZcNJVAlzl48QRaVlct8AFGG5RYbx4aordJ6jjnhjB4PmzP7R6egVTd4tGZwb5wcCnsQg6sNjg== 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=lFB61R2s/X3TBxZDGPfEvHpMXX1fzFzOcB4v4NoiGOg=; b=SR4kuQbx9dF4eAS/0WDn4v1SEU2z105YkjvE3XA/c4PJPcE+YBcoq96332zLKNN8sskmNqKYdQPGfGsRIyJyijq9xgo4drXilQGsJCf2rIEESVNdYKpzKoHdFbEXnQIKmrsHzddJd4NtBJHK50udk8tqqdIexfGfFq+7F1Stj7g98+sMQbeGEdHpNZcKa4gomeKXgpRrJ5NN6BFcs6zrHkxT/jnHaPEHNDOJwD+Uh9xQ+TtnmKlHzIsMeFAMspz57+xWFD1RounD1LhOiK40r/Zbx8UPrpk4F+mcCOOjkP3druQfuhvoCV4CdOtcEu890Bv1aiKtALreDXH6HrIe7Q== 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=lFB61R2s/X3TBxZDGPfEvHpMXX1fzFzOcB4v4NoiGOg=; b=brA0wIYcu4OhOxieVyDUWArbnSvLYb7BVQe9deB4RRaNBSH+LcLxMg/TMAewNwSrjTRI88XYmKtJ5Od6hDRResysGa0qNrNoyYqNzgskk82QEM8R+JfV8QXCPQqFfaSiRPShuImVfHdGqqCbVNg8Qm2DmTuf1ocLboQEEbrWHL8= Received: from PSAP153MB0536.APCP153.PROD.OUTLOOK.COM (2603:1096:301:75::14) by SI2P153MB0506.APCP153.PROD.OUTLOOK.COM (2603:1096:4:131::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.2; Mon, 23 May 2022 09:57:36 +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.000; Mon, 23 May 2022 09:57:36 +0000 From: Souradeep Chakrabarti To: "arm@freebsd.org" CC: Wei Hu Subject: unable to get virtual serial console for EFI Thread-Topic: unable to get virtual serial console for EFI Thread-Index: AdhuioZ1RmwGFkAIQSSs+orr/q96Bg== Date: Mon, 23 May 2022 09:57:35 +0000 Message-ID: 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: 8050f042-3288-40e1-0232-08da3ca2a9f5 x-ms-traffictypediagnostic: SI2P153MB0506: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: pqZ1weGf5n6BKI95Zem47z8FtLycMvoDlWbdxubRie3aKHwoYXcJRnvH4BmN62NKxPF9ce/rX6bsX77cVm8GYDirdmEFmyP/AQ/5dbD7o9WHbVrMaIr7jZKY+4oPzPgPqU65ehDujGx+Ce1Mjm1MHqL34XM+X9MwteWCwQceFkCKJhv/g5DXpiHORtbNLGeuKBIymSGeAgNIVJJiDTwJaQK5BktlUzDwTPja9pFzSd37nCt+MhYDHPqXkpec+YCbNJgTE29kit8B1cdwA+tG8der7wa/XM98yemqaCXCuKxajduKiNbbm+PCmzyhEDYTLDnsARIpYswSLlc/tMWk5RBGhjbMfTfYysPLcW+9fzy1NYvIpWaA4MmYBwbNh6+6YBfWqWpzWv3Bk9QCJJ3IyOA3ckKFsxMuWGjhMj9n+Ms0vEBaVFVU1Dt3uYL9MgRHyLsOpQ2eFNBNjoFbvMSS0hK1uu6EV5MSez3vWsgr80QzKIhQbsfxOF/IqAgpzv+BsIpTue7lhIDO4348TlXbDqb3ek6rPTqxN8Bv1c/KaxhcfcYoCixXovr+26Awv/kpE95LsZmUU1/0kdKuWT6e4LCAyqiNaYt9Ozbug+7lpUcQvfxBcCkRWQm7R02xRe/mPqWW7S+9i9CL8RsC2fuFBZyGZTvKn0iISATx+HEcp8D7S+G00I+K2tfUr8FnMEL7/bt9dAOt9DfZeHVSUpowcRJfA99KwgfuRw1LzCOrie1IE/JcSiI5HCcUyLG+rqHirVddA4ENj4y1TbFpAlqKgJxspmS2MHIVSYL1AiESOxU= 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)(6916009)(508600001)(8990500004)(2906002)(71200400001)(316002)(86362001)(107886003)(83380400001)(6506007)(33656002)(55016003)(4326008)(52536014)(4744005)(66446008)(64756008)(66556008)(66476007)(82960400001)(82950400001)(66946007)(76116006)(8936002)(9326002)(186003)(9686003)(7696005)(10290500003)(38100700002)(38070700005)(122000001)(8676002)(5660300002)(460985005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xWss4tjh+Yr9AeygvN4xDutR85oE9iBN5IPEnyGbAVtLJzYKLebcgcvQOWOJ?= =?us-ascii?Q?k2YdXbnpX8qokABKnP6H57bvGGcNitMyuD5rXZTvSr8SPvmNseBxyKXeXHSn?= =?us-ascii?Q?JLyzyuTri5CVmAyPyeOxCc1UsC5VcBrrJBL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PREcFFHuVuYEZnH291BTZlXUckNLYwxaDb2YQpG5EqoizMWq4s+tclfS+I?= =?us-ascii?Q?1yptGeiNyURVOc9vA2f/GoBEk3zIGGYtLqHlB0l/emSJH13nWbMcBdkurKH5?= =?us-ascii?Q?CVRgmzxEs8fhuIwvUh24KtuwjJXWbsj9Mvpk4cmhW6CoCQBfBkdm+eoz3IIp?= =?us-ascii?Q?Ak0ozBhwtx0/N4ceHXEaej9v2gCIpNCe8nHKy/Pg2qOTSOFsl0aZeZy9dYgR?= =?us-ascii?Q?a41STqkLjaZk9MJInKU4T0lAE0ozU8iU8l9esf6qnYwJaJtQVykCui3Y2qEf?= =?us-ascii?Q?lRPuWDt/fcxtqAf3rgTqcLkgKg/TMcj9R0GeRuVtdt46eIVRkdwvc10K4JRj?= =?us-ascii?Q?G1oqOGlYguwmReTywVqKwAJBzjZcfBUNI5aAyoQiHrDO8+K1vCq+YIcDHGqg?= =?us-ascii?Q?nRWFxvd7MuKMCJBGN3+ZNJ4wE74WGfhWYyWEQIdywN+abSn9swEpirM0fRWP?= =?us-ascii?Q?TbMpKxXK5JmGoQXlbzHPgnFwouoqXqih4dKmLA4sN5qCFjLfthuNbWBV+7Ml?= =?us-ascii?Q?nLTwTbGYNn28tT6MF8fWYI2ip2gCrFOzlTGf0ER0EFWQ37vjwYV+4sGw3oMv?= =?us-ascii?Q?Mi4vXqxd8FYEqSngYz0HvWltTzqXzwQOeLouB9SZhfH+7HCxbkXzNafznq4x?= =?us-ascii?Q?P4f/ZqEHsc4Nq6nolwRNaSBM/ZAiYhpKtRRFK9qp0hvEQFGS1r26oRhr9mK9?= =?us-ascii?Q?XMf0XHejaQ=3D=3D?= Content-Type: multipart/alternative; boundary="_000_PSAP153MB0536FC1FA3DA80BC228AEC6ECCD49PSAP153MB0536APCP_" 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: 8050f042-3288-40e1-0232-08da3ca2a9f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2022 09:57:35.9483 (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: sI72AhQ2BMBeNpdAVajthH2LgDQj0OQprfiC7OJmfulQHzMY3ElqWhH0JQwOQvuicx62Lr1rPUdAkawNZUZ5LFQD/CdkDyHPKFcpfIh+qy8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2P153MB0506 X-Rspamd-Queue-Id: 4L6CSC0Ds9z3CBp X-Spamd-Bar: --------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=microsoft.com header.s=selector2 header.b=brA0wIYc; 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 52.101.128.16 as permitted sender) smtp.mailfrom=schakrabarti@microsoft.com X-Spamd-Result: default: False [-9.92 / 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)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:52.100.0.0/14]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_MED(-2.00)[microsoft.com:dkim]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[microsoft.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[microsoft.com,reject]; NEURAL_HAM_SHORT(-0.92)[-0.919]; MLMMJ_DEST(0.00)[arm]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:52.96.0.0/12, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; WHITELIST_SPF_DKIM(-3.00)[microsoft.com:d:+,microsoft.com:s:+] X-ThisMailContainsUnwantedMimeParts: N --_000_PSAP153MB0536FC1FA3DA80BC228AEC6ECCD49PSAP153MB0536APCP_ 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_PSAP153MB0536FC1FA3DA80BC228AEC6ECCD49PSAP153MB0536APCP_ 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_PSAP153MB0536FC1FA3DA80BC228AEC6ECCD49PSAP153MB0536APCP_--