From nobody Sun Aug 21 23:04:57 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M9rfx3Szsz4Z3N0 for ; Sun, 21 Aug 2022 23:04:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M9rfx0zXrz3rJW for ; Sun, 21 Aug 2022 23:04:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M9rfw6tgqzSNS for ; Sun, 21 Aug 2022 23:04:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 27LN4uDe054620 for ; Sun, 21 Aug 2022 23:04:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27LN4uGV054619 for bugs@FreeBSD.org; Sun, 21 Aug 2022 23:04:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265980] memstick image defaults to serial console on Asus PRIME Z690-P D4 / i7-12700 system - EFI FW has no ConOut Date: Sun, 21 Aug 2022 23:04:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661123097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R5yj0fjsZvsIyYB7YidkBfpJft2oD7vNM4Q4OXGXo7g=; b=dMfWL1YXXHLn87F8y7+GBsF/Hl916gunU2U56RbNlUttc7SijS1wh62VtDnTYU0oQ8AaWw 1DJTWEHYSeOSf6Li33KinOmoagVyYZNuDjh7nUKkr/kHCESA0dqXZCI4CEYdAe1+erSbJJ F/1Yhs/hj/+ByAt/n0ae0lfiAWtq+gHe03xxUVlrKHg3PAfZoUpfl+XJMQBT1Cch9ujnoY x0dcupyFZo8WH1Bx8aGfV4LEQs9L/Lwv0OzLjCJSu6vs7OSzGX0fl0f8JxE99O4iS41vZr DfFoenKGF/HpYpg4dqvSehffkTtLTgJEtdd9lyYsFHAO/Pm4yxQXtlFkuKjzBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661123097; a=rsa-sha256; cv=none; b=nQ9o7Wt16xS6VIpIII7fgiA89pwpRAjhxAenE4Gx0Su9q7ggl34Ng41WHCIQOO1TBP4LWB OrVNbZUVWP3NQkmjZ5+8OzFnAUsteqqVYmgSjnSPEiRYgWMIyLIcAwSr4qhVmGGKtw5UIP jN9eNxFSjpvqwbc5f85WcWIYlg2Cc5bJPGoXuT2ThaeWa60ibPqu5F/gaXWM9+NjPnRFN/ 5fMzRyt3N5BVcpQO0Qa23rylGVDuBKWdkajc56lI9POio3OZd06pjVN6OSfx8xB50VxKCb ygfJEsflQpBqMfS9guPzra53b32NBptdz9WcVRMydAbO+89W+mSFoa9BzDyk4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265980 --- Comment #8 from Ed Maste --- Related commit: commit 14fb9485a4dc9c8212bfae6c2049cb4930f4b8e5 Author: Emmanuel Vadot Date: Fri Nov 8 20:08:44 2019 +0000 loader.efi: Default to serial if we don't have a ConOut variable In the EFI implementation in U-Boot no ConOut efi variable is created, this cause loader to fallback to TERM_EMU implementation which is very very very slow (and uses the ConOut device in the system table anyway). The UEFI spec aren't clear as if this variable needs to exists or not. Reviewed by: imp, kevans Notes: svn path=3D/head/; revision=3D354559 diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c index c5d664dce65e..641cc7154f13 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -703,8 +703,11 @@ parse_uefi_con_out(void) how =3D 0; sz =3D sizeof(buf); rv =3D efi_global_getenv("ConOut", buf, &sz); - if (rv !=3D EFI_SUCCESS) + if (rv !=3D EFI_SUCCESS) { + /* If we don't have any ConOut default to serial */ + how =3D RB_SERIAL; goto out; + } ep =3D buf + sz; node =3D (EFI_DEVICE_PATH *)buf; while ((char *)node < ep) { --=20 You are receiving this mail because: You are the assignee for the bug.=