Re: Can't boot current on Minnowboard

From: D Scott Phillips <scottph_at_FreeBSD.org>
Date: Tue, 24 Sep 2019 15:51:30 -0700
Renato Botelho <garga_at_FreeBSD.org> writes:

> On 24/09/19 17:46, D Scott Phillips wrote:
>> Renato Botelho <garga_at_FreeBSD.org> writes:
>> 
>>> On 24/09/19 15:36, Toomas Soome wrote:
>>>>
>>>>
>>>>> On 24 Sep 2019, at 21:12, Renato Botelho <garga_at_FreeBSD.org> wrote:
>>>>>
>>>>> On 24/09/19 15:10, Toomas Soome wrote:
>>>>>>
>>>>>>
>>>>>>> On 24 Sep 2019, at 20:50, Renato Botelho <garga_at_FreeBSD.org> wrote:
>>>>>>>
>>>>>>> As reported at pfSense ticket [1], we can't see console after booting
>>>>>>> FreeBSD installer iso on Minnowboard.  This video [2] demonstrates the
>>>>>>> problem.
>>>>>>>
>>>>>>> Basically I can see all kernel messages but nothing from userland after
>>>>>>> kernel finishes to load.
>>>>>>>
>>>>>>> I would be glad to collect any kind of data you need to help tracking it
>>>>>>> down.
>>>>>>>
>>>>>>> Thanks!
>>>>>>>
>>>>>>> [1] https://redmine.pfsense.org/issues/9488
>>>>>>> [2] https://imgur.com/a/V4IrQWo
>>>>>>> -- 
>>>>>>> Renato Botelho
>>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> does it have bios emulation and does it behave there?
>>>>>
>>>>> No, this board is EFI only.
>>>>>
>>>>
>>>> Is it atom board? UEFI32 or UEFI64? 
>>>
>>> It's Atom and is UEFI64.
>>>
>>> I figured out this board has HDMI and serial console and output is going
>>> only to serial.  If LiveCD option is selected on serial it shows up on
>>> HDMI as well.
>>>
>>> I've downloaded latest firmware version and updated the board.  After
>>> that I noted serial console is configurable on setup and disabled by
>>> default.
>>>
>>> Even with Input/Output serial items disabled it's sending output to
>>> serial console and I can see UArt item listed on EFI variables on loader
>>> prompt.
>> 
>> The logic in stand/efi/loader/main.c:parse_uefi_con_out() seems to be
>> that RB_SERIAL is set when the serial device appears before the video
>> device in the ConOut efi variable, which is the case on a minnowboard
>> that I looked at. You can override this by setting boot_serial="NO" in
>> loader.conf or running `set boot_serial=NO` at the loader prompt.
>
> Adding boot_serial=NO works.  I just wonder why the firmware setup
> option to disable serial port is not being respected.

I'm not 100% sure, but the uart settings in the config screen on the
minnowboard might not actually be wired up:

https://github.com/tianocore/edk2/blob/UDK2018/Vlv2TbltDevicePkg/PlatformInitPei/PchInitPeim.c#L441

> Thanks!
> -- 
> Renato Botelho
Received on Tue Sep 24 2019 - 20:51:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC