Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8CC3C433F5 for ; Sat, 23 Apr 2022 12:10:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C0AA883DE1; Sat, 23 Apr 2022 14:09:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="h+YEVCU4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E54F683DA7; Sat, 23 Apr 2022 14:09:26 +0200 (CEST) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 167C583DFD for ; Sat, 23 Apr 2022 14:09:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82f.google.com with SMTP id bb21so7264281qtb.3 for ; Sat, 23 Apr 2022 05:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ukazhsvOafiEf/3i4BZnqI1rU6jp+5qUXqbwFWjuZss=; b=h+YEVCU4BIYsRvzytbdZGiR0WvIspT7FUCpQ6aHAW56wF26bQPRn6b+cF6tG4GkMbt omS8rtNo4MmOaaNQ6x/TAjUpDXKQCZ/buFS8WjWf4Md8NbTom4QglNMDkqjrkb4MqvBi ZLMLV4SeflSRwPTiFotDlPIlGkSm3sby1HYWM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ukazhsvOafiEf/3i4BZnqI1rU6jp+5qUXqbwFWjuZss=; b=LKfIBZV7LcKCjOlH6ssWduwuHoSL3cA1my/M3R572bGk2GRndjTJoXDkE2uPM7bGbp m94ljmGo41dIG4+/f0Rjw+Yhh1ul6isQv5PJc3XMOIXK6ax/qJuLBTRnsCz2+WHLIsJN EsVzzNeE1b7VBCRAQFC5zmgW33sEUb7E8p6SCmSkT8lyUwDtBdRA8KOG84rxpbxc30B4 SbJLFTHRCOtvtXUxKY11xKic+cgnfHpqglKX9WlMhqKbwSivCdXiLrQ/PHtwev2s/GfE O62mUuIvZi6McSZJDWEcpDlPdt+7qMIQaoNl71f6G0ME2dh6v8TyP6+QFSILKSbZDM1A TAIA== X-Gm-Message-State: AOAM533iVpkzOKOGR5srisunDspH0QnsUudYRAXfXSKSEneXesNSx876 Izv+uo5KvZUuvkTkq1UultWysg== X-Google-Smtp-Source: ABdhPJyUnhmCy3HNgQfFm+LSnFCKAJdMJR1/ycAX6aoGeEtOAV3/zGqVA5tAGfhY47N+7wNKuWzizQ== X-Received: by 2002:ac8:5ace:0:b0:2f3:6233:e1fe with SMTP id d14-20020ac85ace000000b002f36233e1femr898281qtd.302.1650715760901; Sat, 23 Apr 2022 05:09:20 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id v12-20020a05620a0a8c00b0069eabadd6dasm2190627qkg.41.2022.04.23.05.09.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Apr 2022 05:09:20 -0700 (PDT) Date: Sat, 23 Apr 2022 08:09:18 -0400 From: Tom Rini To: Mark Kettenis Cc: u-boot@lists.denx.de, sjg@chromium.org, Janne Grunau Subject: Re: [PATCH] arm: apple: Point stdout-path to framebuffer when keyboard present Message-ID: <20220423120918.GM3045430@bill-the-cat> References: <20220419192031.57630-1-kettenis@openbsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Vh31efl4+3BNPW2z" Content-Disposition: inline In-Reply-To: <20220419192031.57630-1-kettenis@openbsd.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --Vh31efl4+3BNPW2z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 19, 2022 at 09:20:31PM +0200, Mark Kettenis wrote: > Unless you have a spare Apple Silicon machine, getting access to > the serial port on Apple Silicon machines requires special > hardware. Given that most machines come with a built-in screen > the framebuffer is likely to be the most convenient output device > for most users. While U-Boot will output to both serial and > framebuffer, OSes might not. Therefore set stdout-path to point > at /chosen/framebuffer when a keyboard is connected to the machine. >=20 > This behaviour can be overridden by setting the "stdout" variable > in the U-Boot environment. I addition to that keep the serial > console as the default when running under the m1n1 hypervisor. > The m1n1 hypervisor virtualizes the serial port such that it > can be easily accessed from any other machine with a USB port. >=20 > Signed-off-by: Mark Kettenis > Reviewed-by: Janne Grunau > Tested-by: Janne Grunau Applied to u-boot/master, thanks! --=20 Tom --Vh31efl4+3BNPW2z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJj7G4ACgkQFHw5/5Y0 tyzyGQv9GioDnDtRK0Q0aS6+mmJCIMrLkiYPTi+Igk1/ke4WKYaS3Eq5v1xqvgvD +S14Z7HeR+AMYzkvNy00vpjesMeL/tFelWudOF9w/Lii9rOgJdOjDmKJ7JFqEyfH 5QsnOMNdgqdMKUQ3vZ1ksMA754b46L8WTVxUK2Jjc1BRx85XPdIF7x+KrcRCzpJU Xa+CCGYDN82ol2hbAqMNXREUw4MSf0eVFiNOmP86i36Wl4z49K6O29GyM2lk6yQZ gIt3/Hvo4+glplrOrg8zgqoFafecIPIsDOm2WXA3r0Hijx7BGQHoM3ffVMlaq9zS nj8ZId1lasJlBCgGs1II9Cop9T1MdjtbrgPKZ93NjLl0m+g/z5BY2CaCrBnw1Zv9 YAhTJArxm5/NsFUGdGFCvm9TX0zLE9fFeCtUkpmtOtOYFbx4V05HkMWQmyz6I5ii psApzQjXBDDEhxGHvXs30v+awUpZLmUMEPbB7G054Zvvc3zztFRCvRqTMHSrS5Uu 6SwU8SHV =WO5O -----END PGP SIGNATURE----- --Vh31efl4+3BNPW2z--