From nobody Tue May 24 12:26:31 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 B98C61B4DD98 for ; Tue, 24 May 2022 12:26:49 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) Received: from apac01-obe.outbound.protection.outlook.com (mail-eastasiaazon11020014.outbound.protection.outlook.com [52.101.128.14]) (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 4L6tjd1K06z3rjb for ; Tue, 24 May 2022 12:26:45 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RmnNlvBg+c6bDa7zUSCM7wziAOI6aS8c21wcvpbr+2XYRsx5ncG/un6WBlwlvvVVgVLbz2AddS9BpdQgLCM/LG2Pp4HYbz/6Q0tywUrkC2H0qrty75nQM6t9QxbtikINzgFI9tLra4DFqGMO89jOt4TqCShPCdc1ixdKj/qOQnrkUWRr3D1aD9OUjymAOGov/gwOiQiNwMyBp9uT8+DwPM8x+G93xvq1Xddlgku16bT1o7XfXovh7Qsu9O63jpOlx+4Ym+pJr7pNseUlJE0iNyhqsiDX9JWPrIX1/tOVUgMYnTz2JYHbDIiPd3pU8S2oCuvUCtfiizq85HS8RO0qWg== 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=EyRXdVUIG6kfA2yTq+cliXgIjzc5fKA6x37XSywlyS0=; b=cZRwc4F9VMcch3KHzAaRttPDbDA1egrpJnDjFycXCzfvBH6/cdJbKgwcprZQfyXvdFZzBEucW7picUie7bCvFcW41cFNfX8G614nZ+wFEEPXHCujhZiQRACd8zvanLVqWXoARzYA6sZ8L7vYD6SDZhczk7WfLjdmuwccUqCtfEmST8ElaSp1HMG9ln6CHDqMUsJJA/h4t1pq5XE5qbRo9WyCLxr6wvsO48S9i5P94rcZYY8GWJgLWmN1htBtCXssYygCCsJHsm4Scrv61MA+8oEF8m3IRZloiBNgGoZczEAqaqOEAUG//5CzNteGA9t3IyDiYZxoHHU1tTJUwe5oag== 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=EyRXdVUIG6kfA2yTq+cliXgIjzc5fKA6x37XSywlyS0=; b=bHDi6RBXeWJpfvyGGv5NMqNPngBda5b7/c3kf9SEn90SgxlSGxeWfPYdA/D9+Ncod/OaBGLdizMS2T/Y1F1b3QWORM6dUDGOqwJf8Ny+ifdN/owWc84cick+ymqS8xkGY78cY0htYcFhkE0nqLRZV8SUKHspUIiYNIC7L+I8CG4= 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:26:31 +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:26:31 +0000 From: Souradeep Chakrabarti To: "arm@freebsd.org" , "hacker@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/q96BgA3sRNw Date: Tue, 24 May 2022 12:26:31 +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: 9da58d2a-9ec0-4949-e395-08da3d80a280 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: weBpVbt3/csbh6CRj296MUOURYhpcY39/MESMpqBXbLxJ+K8Bm2RMn5QWF0CzM+iuO/EabX+wZxtWM0mftwciZH818LFdf4U70RwtViTQdY8pWIwPpz96T+PryBROp+tNNmspFmi22xPI0AlfQRkXhFeHWCwJT3dY/RL8l59kNivopZikn65ogN6/+r/yu9WMWhuyKLG9IAigM6saPlTFQXZ0rSBVnOJ9ZqKglPrJHADoxbtxmSXSTdFfV6FL2lNZXdiolC5Wmq5872MfPyT7XFjibDDYiqtj8Wa043dwMwYPM6o2x9nAwbTrJ0NmiErL4j91K9BDr8QWYAogRh6uVx/gTtubYOHETQhnHcMa1n5MkfzV6bF8pFSJQf9pLeoN1AqDmu5OGLM7nzj3vDxqpT8ws3gzsQWZ3uvmhtmR6oa7wsuLrf1w+dsPO0/HsparRhlfyNMSkGiVo397oVXlN29MzxVPUXB34Hys8k7d9VzhSygpyNRB82CiqXUDuJNPjEhbZoFhyAwnEc7WAb5ywpMwITbkaJLczPuhg6wDC4wQ3K//SSQw+W6rbh5LMjVTd7Y8IsxIwsWs1CuhU7201jTmZv7MIRUwuNq98Huzf/oeB3BDKTM87UGZ/xwMT56YjBMte43wnPi97+Man6GcP5B6IGvN2xntNVjZG6HFf6Uh4ZFv1otMkRszsI/em0ShlifTuKlDSv8lPRkywBMQRyCJuitHQuyyIK359Eod9whyFhXnCdQI8qtZGzmBHLoHxm59QuU2MDo0cuOAQytA2Lb1HbzRdB8Y29mR606Uuo= 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)(86362001)(53546011)(55016003)(71200400001)(33656002)(83380400001)(107886003)(2906002)(66946007)(4326008)(8676002)(5660300002)(450100002)(66446008)(66476007)(66556008)(64756008)(82960400001)(82950400001)(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?1KAvK2m6M+HxtJO7ikZowDVLxQbnafCllJzlCqeNSyX2WDCJ07TnRYQOSeWD?= =?us-ascii?Q?rn6Hb9Ed0XJx7lSc2jQTQVVkDMZJggolpdqavfRDV9fWXhPXfa4RVrNrU5Cb?= =?us-ascii?Q?hmifFAFheEyGucb/EyZ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= =?us-ascii?Q?LbJlJNUk+mQ49mwt5uSXORdd0BYrEDSJi6gXTIKmuKzVppel3tAbPDp91XuA?= =?us-ascii?Q?twApEsB+xV0jvcDgvx4YJkKs/ELtm+ooOfnJMo5DKxWkvwR+GVm7moO0vqbm?= =?us-ascii?Q?8+gyrxC/P/idsZ0qno07RlE80T5CtJ2Ev9IelNAXzLZCl9C8tpVcPUv+xfFv?= =?us-ascii?Q?/5ge8j2yNoboGa0DbRNhSdPrrsfqk8a5eLRt7INa9jYqpO52OR0ZdfUNZ1YB?= =?us-ascii?Q?rE+LF0XIVSJJJdVlCHcuiYEOSNM6jRPRnKZAuoS0DTfW7rgm9GcthMQqz6oa?= =?us-ascii?Q?at9a5cHEu+NFwv0xgMD9x3K88aUXxf+jE+9RvVsMuTY6zsQj+7wLIfVI3kAZ?= =?us-ascii?Q?S0qxbaxHQ2G2QqXXcMCLJQEAveD1iLJm07VFLb+Q86TC+Z7EFFcoAreq4VmU?= =?us-ascii?Q?m11UKO6dbvNJb98M1HpQddao+2T0QTMFxvXzFZ9llK9gftaytu4DrnyV4yTa?= =?us-ascii?Q?xSckX8ykb3IhZSO5E+NIjKBEmoFz7TN0qVDBCIBimCZzkfloO1crXigfqu9J?= =?us-ascii?Q?u8x/YsjNZx8ITfq2rM1Qi5OODBjJHIAp1FaFnDdygCvYR1739TlL+haaNM+Y?= =?us-ascii?Q?zZMMlAQoNWzUNu4upn9w/+ZrwVdtCGrDxJnASBgTg/4H9MERBu3LoXXf3GRa?= =?us-ascii?Q?MmZxET5iLKSQZR0+UjAUtoxaIzw=3D?= Content-Type: multipart/alternative; boundary="_000_PSAP153MB0536353A03BF26D0F384842DCCD79PSAP153MB0536APCP_" 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: 9da58d2a-9ec0-4949-e395-08da3d80a280 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2022 12:26:31.7497 (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: 9ccQd3cP21cGpFX0rYlOhUeUBYTaQBGX2a8tgQqNkbAwzW38xX6n2znLFxDcMBINmOngsjcNCJ5llYkEBdpnNeM9ST64JtYkxdK9BdD5Ctc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZP153MB0479 X-Rspamd-Queue-Id: 4L6tjd1K06z3rjb X-Spamd-Bar: --------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=microsoft.com header.s=selector2 header.b=bHDi6RBX; 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.14 as permitted sender) smtp.mailfrom=schakrabarti@microsoft.com X-Spamd-Result: default: False [-9.85 / 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]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:52.100.0.0/14]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; 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:+]; DMARC_POLICY_ALLOW(-0.50)[microsoft.com,reject]; NEURAL_HAM_SHORT(-0.85)[-0.855]; 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_PSAP153MB0536353A03BF26D0F384842DCCD79PSAP153MB0536APCP_ 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 From: Souradeep Chakrabarti Sent: Monday, May 23, 2022 3:28 PM To: arm@freebsd.org Cc: Wei Hu Subject: unable to get virtual serial console for EFI 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_PSAP153MB0536353A03BF26D0F384842DCCD79PSAP153MB0536APCP_ 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

 

 

From: Souradeep Chakrabarti
Sent: Monday, May 23, 2022 3:28 PM
To: arm@freebsd.org
Cc: Wei Hu <weh@microsoft.com>
Subject: unable to get virtual serial console for EFI

 

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_PSAP153MB0536353A03BF26D0F384842DCCD79PSAP153MB0536APCP_--