[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-arm
Subject:    Re: unable to get virtual serial console for EFI
From:       Warner Losh <imp () bsdimp ! com>
Date:       2022-05-24 14:52:31
Message-ID: CANCZdfotM2CPtq43aSf_GRAO+nWFhXn_54A3H9EoNYQr=z6gsQ () mail ! gmail ! com
[Download RAW message or body]

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

[Attachment #3 (text/html)]

<div dir="ltr">What does the ComOut variable \
say?<div><br></div><div>Warner</div><div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 23, 2022 at 3:57 AM \
Souradeep Chakrabarti &lt;<a \
href="mailto:schakrabarti@microsoft.com">schakrabarti@microsoft.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-IN" style="overflow-wrap: break-word;">
<div class="gmail-m_-1602174453955658924WordSection1">
<p class="MsoNormal">Hi,<u></u><u></u></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.<u></u><u></u></p> <p \
class="MsoNormal"><u></u>  <u></u></p> <p \
class="gmail-m_-1602174453955658924MsoPlainText">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. <u></u><u></u></p>
<p class="gmail-m_-1602174453955658924MsoPlainText">I can get the loader output in \
vmconnect.exe but not in the putty. <u></u><u></u></p>
<p class="gmail-m_-1602174453955658924MsoPlainText"><u></u>  <u></u></p>
<p class="gmail-m_-1602174453955658924MsoPlainText">Though I can see VM is getting \
connected to Hyper-V virtual COM1 console. But no output is coming to \
putty.<u></u><u></u></p> <p class="gmail-m_-1602174453955658924MsoPlainText"><u></u>  \
<u></u></p> <p class="gmail-m_-1602174453955658924MsoPlainText">I have following \
question :<u></u><u></u></p> <p class="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="gmail-m_-1602174453955658924MsoPlainText"><u></u>  <u></u></p> <p \
class="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="gmail-m_-1602174453955658924MsoPlainText"><u></u>  <u></u></p> <p \
class="gmail-m_-1602174453955658924MsoPlainText">With set console=&quot;efi&quot; or \
set console=&quot;comconsole,efi&quot;   or set console=&quot;efi&quot; , nothing in \
getting redirected in putty in arm64.<u></u><u></u></p> <p \
class="gmail-m_-1602174453955658924MsoPlainText">But in X86 that is not the \
problem.<u></u><u></u></p> <p \
class="gmail-m_-1602174453955658924MsoPlainText"><u></u>  <u></u></p> <p \
class="gmail-m_-1602174453955658924MsoPlainText">Without this debugging 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="gmail-m_-1602174453955658924MsoPlainText"><u></u>  <u></u></p> <p \
class="gmail-m_-1602174453955658924MsoPlainText">Regards,<u></u><u></u></p> <p \
class="gmail-m_-1602174453955658924MsoPlainText">Souradeep<u></u><u></u></p> <p \
class="MsoNormal"><u></u>  <u></u></p> </div>
</div>

</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic