From owner-freebsd-arch@freebsd.org Mon Jun 25 18:25:39 2018 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECB5B101A3AA for ; Mon, 25 Jun 2018 18:25:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7932188532 for ; Mon, 25 Jun 2018 18:25:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id 350AE101A3A9; Mon, 25 Jun 2018 18:25:38 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12959101A3A8 for ; Mon, 25 Jun 2018 18:25:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 984BE88530 for ; Mon, 25 Jun 2018 18:25:37 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22b.google.com with SMTP id j135-v6so13758950itj.1 for ; Mon, 25 Jun 2018 11:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=zzX9jhIprPl0e+oaD8ipuvVKoRe6+vIIY5KfM579qe0=; b=mHcfHtfLvBSzm6TXiZm4M+Xe5LkSQcyTIBSgRjXXSukTzTjsFfRFHoLe9kdjcVXs6e s6O2rWuwtwXeIUHY+8sBfhXYwjtA/jVdMbl6WfCB8V3rL47NNr16vPE7A5x3c/MKQpT1 HSpx2+M/l1mMBwn1ITPAv85BSr6977og22vSnqLzQIsnYCzVET1KCNnw9M7x1/vshmhc dD9ss6vW5HjJeYlI5T06MzhJ3RopNVRtNvEE8Z/JK6JfsyAJhABnL6B1W21isX+u8GMV OHv6/0nhurMHLviOHE8TqACm0g/iNJeSgScGRZ7EBLGXG8jch9WnS9pBVrst7oHti+jo 1Isg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=zzX9jhIprPl0e+oaD8ipuvVKoRe6+vIIY5KfM579qe0=; b=meYPLiRQl9FIpTleKfMea1NfShKkNvD4BH9zJQ8KX3JaLdnS+I/KjK2XTsfMDRgFRh hceJDjfDmdEA5X9MLwVimOWvEAagch1YQCXrzi3GXIaOqKrlR1Re+gYleWiszFJL2KHo vaIggIVdgBTprb0wS8hi+lWMACDGJN7NHmqx3g12ZO/lpMcnmE9EvRmAHSQ8UkGi3E9s 7uLbed1sN+uvcCqu+hiHmeW8hANWNCyySr1FNL0DzMVJVV6Fx9OZouTCZk2Z6Qc2ht5l hgMfn9XHqNj67Qy0+mCvWB8SfVGFqeWt+ckP6YXz2wLKXsCFt2HB1zjgzqGa7O9o6Yay J6Kw== X-Gm-Message-State: APt69E3Z3N14T8hh3/Cw7uaTLIjSQ6QfoAtlECsh4ZSknBRMetfnhT+h bV0J6zlPkTL/TLbDlc9RLWxiGK2iokM3xx5iAR0R8g== X-Google-Smtp-Source: AAOMgpdnLlJYRpNUdQcJjH3TvciCnmPzgpXqPkASwEO+CXm0FP7LSvDBk5IdGW4ah9/HB6z6SXiUNcMSeI/Ab4VRa4g= X-Received: by 2002:a24:64ce:: with SMTP id t197-v6mr1844891itc.36.1529951136749; Mon, 25 Jun 2018 11:25:36 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:5945:0:0:0:0:0 with HTTP; Mon, 25 Jun 2018 11:25:36 -0700 (PDT) X-Originating-IP: [50.227.106.226] In-Reply-To: <20854.1529948445@critter.freebsd.dk> References: <19341.1529917294@critter.freebsd.dk> <20180625091844.GC2430@kib.kiev.ua> <20180625154740.GF2430@kib.kiev.ua> <20854.1529948445@critter.freebsd.dk> From: Warner Losh Date: Mon, 25 Jun 2018 12:25:36 -0600 X-Google-Sender-Auth: G0IC4xX2nPpW5r463IYQ91IvtDk Message-ID: Subject: Re: UEFI Plans / Shifts -- RFC To: Poul-Henning Kamp Cc: Konstantin Belousov , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2018 18:25:39 -0000 On Mon, Jun 25, 2018 at 11:40 AM, Poul-Henning Kamp wrote: > -------- > In message gmail.com> > , Warner Losh writes: > > >I thought about adding something that would set a FreeBSD-specific env var > >that would give the loader.efi a hint to make things work on the second > >boot (the first boot setting it in rc.d somewhere). But that's a fragile > >solution at best, and wouldn't solve the serial installer issues. > > In the very special case of the installer, how hard would it be to > give loader.efi a compiletime option of "All serial ports and video" ? There's much diversity here. There's 4 choices at standard addresses, plus PCI options and a few non-standard choices (though some of those are really PCI). And people often connect other things to their serial ports, so blasting all of them may be unwise if you have a 'sealed box' that you then do a serial install on. Is it possible? Sure. I'm just not sure it's wise. We tried something similar recently with the GELI boot blocks and it broke a lot of people. Warner