Date: Tue, 24 May 2022 08:52:31 -0600 From: Warner Losh <imp@bsdimp.com> To: Souradeep Chakrabarti <schakrabarti@microsoft.com> Cc: "arm@freebsd.org" <arm@freebsd.org>, Wei Hu <weh@microsoft.com> Subject: Re: unable to get virtual serial console for EFI Message-ID: <CANCZdfotM2CPtq43aSf_GRAO%2BnWFhXn_54A3H9EoNYQr=z6gsQ@mail.gmail.com> In-Reply-To: <PSAP153MB0536FC1FA3DA80BC228AEC6ECCD49@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM> References: <PSAP153MB0536FC1FA3DA80BC228AEC6ECCD49@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000dfad9205dfc31b71 Content-Type: text/plain; charset="UTF-8" What does the ComOut variable say? Warner On Mon, May 23, 2022 at 3:57 AM Souradeep Chakrabarti < schakrabarti@microsoft.com> wrote: > 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 > > > --000000000000dfad9205dfc31b71 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">What does the ComOut variable say?<div><br></div><div>Warn= er</div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr= " class=3D"gmail_attr">On Mon, May 23, 2022 at 3:57 AM Souradeep Chakrabart= i <<a href=3D"mailto:schakrabarti@microsoft.com">schakrabarti@microsoft.= com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg= in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e= x"> <div lang=3D"EN-IN" style=3D"overflow-wrap: break-word;"> <div class=3D"gmail-m_-1602174453955658924WordSection1"> <p class=3D"MsoNormal">Hi,<u></u><u></u></p> <p class=3D"MsoNormal">I am trying to get the virtual serial console to acc= ess via putty while booting FreeBSD 13 arm64 bootonly on Hyper-V.<u></u><u>= </u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText">Setting console=3D&qu= ot;efi" is not helping to have the virtual serial console access using= putty for ARM64. It is before any kernel module loaded. <u></u><u></u></p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText">I can get the loader = output in vmconnect.exe but not in the putty. <u></u><u></u></p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText"><u></u>=C2=A0<u></u><= /p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText">Though I can see VM i= s getting connected to Hyper-V virtual COM1 console. But no output is comin= g to putty.<u></u><u></u></p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText"><u></u>=C2=A0<u></u><= /p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText">I have following ques= tion :<u></u><u></u></p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText">Any specific support = from EFI firmware, is required for virtual serial to work in EFI loader in = this phase of loading?<u></u><u></u></p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText"><u></u>=C2=A0<u></u><= /p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText">I can see FreeBSD EFI= loader is able to read the ConInDev and ConOutDev variables.<u></u><u></u>= </p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText"><u></u>=C2=A0<u></u><= /p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText">With set console=3D&q= uot;efi" or set console=3D"comconsole,efi"=C2=A0 or set cons= ole=3D"efi" , nothing in getting redirected in putty in arm64.<u>= </u><u></u></p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText">But in X86 that is no= t the problem.<u></u><u></u></p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText"><u></u>=C2=A0<u></u><= /p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText">Without this debuggin= g the bring up of FreeBSD on arm64 Hyper-V is quite difficult. Any help or = pointers are really appreciated.<u></u><u></u></p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText"><u></u>=C2=A0<u></u><= /p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText">Regards,<u></u><u></u= ></p> <p class=3D"gmail-m_-1602174453955658924MsoPlainText">Souradeep<u></u><u></= u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> </div> </blockquote></div> --000000000000dfad9205dfc31b71--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfotM2CPtq43aSf_GRAO%2BnWFhXn_54A3H9EoNYQr=z6gsQ>