From owner-freebsd-current@freebsd.org Tue Sep 24 22:51:33 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3A3A4F438F for ; Tue, 24 Sep 2019 22:51:33 +0000 (UTC) (envelope-from scottph@freebsd.org) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "orsmga105.jf.intel.com", Issuer "Sectigo RSA Organization Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46dGdc6MfJz47wR; Tue, 24 Sep 2019 22:51:32 +0000 (UTC) (envelope-from scottph@freebsd.org) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2019 15:51:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,545,1559545200"; d="scan'208";a="201053315" Received: from aaushija-mobl1.amr.corp.intel.com (HELO localhost) ([10.252.202.2]) by orsmga002.jf.intel.com with ESMTP; 24 Sep 2019 15:51:30 -0700 From: D Scott Phillips To: Renato Botelho , Toomas Soome Cc: freebsd-current , Kyle Evans Subject: Re: Can't boot current on Minnowboard In-Reply-To: <095087f2-2e12-e606-0f1e-b17b929fb227@FreeBSD.org> References: <6F7BE568-1D8A-4E5C-9E99-361CD12CCA20@me.com> <5c42b030-dccc-98e4-2afd-7d3099ba80d3@FreeBSD.org> <3385516e-7794-72a5-19c4-270c6e8675b5@FreeBSD.org> <86r245777o.fsf@intel.com> <095087f2-2e12-e606-0f1e-b17b929fb227@FreeBSD.org> Date: Tue, 24 Sep 2019 15:51:30 -0700 Message-ID: <86muet71fx.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 46dGdc6MfJz47wR X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.99 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2019 22:51:33 -0000 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