Re: Can't boot current on Minnowboard

2019-09-24 Thread D Scott Phillips
Renato Botelho  writes:

> On 24/09/19 17:46, D Scott Phillips wrote:
>> Renato Botelho  writes:
>> 
>>> On 24/09/19 15:36, Toomas Soome wrote:


> On 24 Sep 2019, at 21:12, Renato Botelho  wrote:
>
> On 24/09/19 15:10, Toomas Soome wrote:
>>
>>
>>> On 24 Sep 2019, at 20:50, Renato Botelho  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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Can't boot current on Minnowboard

2019-09-24 Thread Renato Botelho
On 24/09/19 17:46, D Scott Phillips wrote:
> Renato Botelho  writes:
> 
>> On 24/09/19 15:36, Toomas Soome wrote:
>>>
>>>
 On 24 Sep 2019, at 21:12, Renato Botelho  wrote:

 On 24/09/19 15:10, Toomas Soome wrote:
>
>
>> On 24 Sep 2019, at 20:50, Renato Botelho  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.

Thanks!
-- 
Renato Botelho
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Can't boot current on Minnowboard

2019-09-24 Thread D Scott Phillips
Renato Botelho  writes:

> On 24/09/19 15:36, Toomas Soome wrote:
>> 
>> 
>>> On 24 Sep 2019, at 21:12, Renato Botelho  wrote:
>>>
>>> On 24/09/19 15:10, Toomas Soome wrote:


> On 24 Sep 2019, at 20:50, Renato Botelho  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.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Can't boot current on Minnowboard

2019-09-24 Thread Renato Botelho
On 24/09/19 15:36, Toomas Soome wrote:
> 
> 
>> On 24 Sep 2019, at 21:12, Renato Botelho  wrote:
>>
>> On 24/09/19 15:10, Toomas Soome wrote:
>>>
>>>
 On 24 Sep 2019, at 20:50, Renato Botelho  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.
-- 
Renato Botelho
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Can't boot current on Minnowboard

2019-09-24 Thread Toomas Soome



> On 24 Sep 2019, at 21:12, Renato Botelho  wrote:
> 
> On 24/09/19 15:10, Toomas Soome wrote:
>> 
>> 
>>> On 24 Sep 2019, at 20:50, Renato Botelho  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? 

rgds,
toomas

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Can't boot current on Minnowboard

2019-09-24 Thread Renato Botelho
On 24/09/19 15:10, Toomas Soome wrote:
> 
> 
>> On 24 Sep 2019, at 20:50, Renato Botelho  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.

-- 
Renato Botelho
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Can't boot current on Minnowboard

2019-09-24 Thread Toomas Soome



> On 24 Sep 2019, at 20:50, Renato Botelho  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?

rgds,
toomas

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Can't boot current on Minnowboard

2019-09-24 Thread Renato Botelho
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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"