Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2022 12:29:05 +0000
From:      Souradeep Chakrabarti <schakrabarti@microsoft.com>
To:        "freebsd-arm@FreeBSD.org" <freebsd-arm@FreeBSD.org>, "freebsd-hackers@FreeBSD.org" <freebsd-hackers@FreeBSD.org>
Cc:        Wei Hu <weh@microsoft.com>
Subject:   RE: unable to get virtual serial console for EFI
Message-ID:  <PSAP153MB0536ABA1A82461F1474A3389CCD79@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM>
In-Reply-To: <PSAP153MB0536353A03BF26D0F384842DCCD79@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM>
References:  <PSAP153MB0536FC1FA3DA80BC228AEC6ECCD49@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM> <PSAP153MB0536353A03BF26D0F384842DCCD79@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,

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


Setting console="efi" is not helping to have the virtual serial console access 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. But no output is coming to putty.



I have following question :

Any specific support from EFI firmware, is required for virtual serial to work in EFI loader in this phase of loading?



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



With set console="efi" or set console="comconsole,efi"  or set console="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 difficult. Any help or pointers are really appreciated.



Regards,

Souradeep



[-- Attachment #2 --]
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">;
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I am trying to get the virtual serial console to access via putty while booting FreeBSD 13 arm64 bootonly on Hyper-V.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Setting console=&quot;efi&quot; is not helping to have the virtual serial console access using putty for ARM64. It is before any kernel module loaded.
<o:p></o:p></p>
<p class="MsoPlainText">I can get the loader output in vmconnect.exe but not in the putty.
<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Though I can see VM is getting connected to Hyper-V virtual COM1 console. But no output is coming to putty.<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">I have following question :<o:p></o:p></p>
<p class="MsoPlainText">Any specific support from EFI firmware, is required for virtual serial to work in EFI loader in this phase of loading?<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">I can see FreeBSD EFI loader is able to read the ConInDev and ConOutDev variables.<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">With set console=&quot;efi&quot; or set console=&quot;comconsole,efi&quot;&nbsp; or set console=&quot;efi&quot; , nothing in getting redirected in putty in arm64.<o:p></o:p></p>
<p class="MsoPlainText">But in X86 that is not the problem.<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Without this debugging the bring up of FreeBSD on arm64 Hyper-V is quite difficult. Any help or pointers are really appreciated.<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Regards,<o:p></o:p></p>
<p class="MsoPlainText">Souradeep<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAP153MB0536ABA1A82461F1474A3389CCD79>