From owner-freebsd-current@freebsd.org Fri Jan 18 17:14:02 2019 Return-Path: Delivered-To: freebsd-current@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 6B99514A483C for ; Fri, 18 Jan 2019 17:14:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D7DA97F80 for ; Fri, 18 Jan 2019 17:14:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82a.google.com with SMTP id n32so15951049qte.11 for ; Fri, 18 Jan 2019 09:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vCe/6Ny1KDkkFTBOp3MiNXCrVo9IZP5ZtubCD2GW0rU=; b=Qz2kXZTxLm84DE/SEtegIYG68RdHqR7tVyZUEk4weipaFlBS99Ehgs20fs47E13QdB cVbgKlgo23UbOFJPJpngicGrMQgL0aDSa373oYuFtUHYd4090pSDlILgAiZ+zcpeudRr mNMYFNpuqaJ74LvG0yV9KlXrV29yUEcogpjLr5a7xItS+uvvugs3AyFxRdvtmE4fX4xI QoVATirema/aJ5Ssgkmnmg0735MkWuGzH0Zzjl55u/VcdvdZ0lNZYNEUKsfxwi8mbt1V 5U1WoUqsbWYpqfDh+7Lcz5jV1ui2vEt74MuXEC0QxRHrA0nCTnr/lZqnOwshBGd553En qZJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vCe/6Ny1KDkkFTBOp3MiNXCrVo9IZP5ZtubCD2GW0rU=; b=j14086eT+g2P95rPXPhYBTRsBpRuLyPJdd5d595U0UrGGt7QK4Ydp+XcFc+GurPtT/ EAYGcA9aJLfoBfTlzXkE2xNONx7eHZo6xmUKGX0sYP3QgSJQ/A4f9vd/DQMODq30mWfK bknkZNvzfZFOwdRLdCQ8igKPSh3/djlSXJ+EkZULSMqhNyyAyG0sdNV4ud0yklqZ0imS cxsrMXAX1w6ABT7wtyP8x8oNYUojYMYCZ/uXvy2x8wdGe0OY4LlIdV9VmFEEowb/TVWr BiM49qrqiSYg3FlgbXJScaMwRrkAuN/8wisxHxDznxWA/FDzGFxnwNZAxTVK1NFRySg6 eItg== X-Gm-Message-State: AJcUuke7KDEjmnCIZ93YGob8QwbSnsfasZHbX3297LvgzKy1f5tQ7W2y 0Mcq6eQH3m290zcmSEqYSJSX7Fh6nCTg8f/oMvPqbg== X-Google-Smtp-Source: ALg8bN46bJjb0wyTEXdOb4asnxn9AzNUzFUFPdtvwly3E48wamdgiDPgvX2uoGoxfc0to7SVMWrJ4I69Azp1w001yaM= X-Received: by 2002:a0c:f143:: with SMTP id y3mr16705978qvl.21.1547831640893; Fri, 18 Jan 2019 09:14:00 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Fri, 18 Jan 2019 10:13:49 -0700 Message-ID: Subject: Re: UEFI, loader.efi and /boot.config To: Lev Serebryakov Cc: Kyle Evans , =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= , Rebecca Cran , FreeBSD Current X-Rspamd-Queue-Id: 8D7DA97F80 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=Qz2kXZTx X-Spamd-Result: default: False [-5.21 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[a.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.83)[-0.835,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; IP_SCORE(-2.37)[ip: (-7.58), ipnet: 2607:f8b0::/32(-2.37), asn: 15169(-1.82), country: US(-0.08)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 18 Jan 2019 17:14:02 -0000 On Fri, Jan 18, 2019 at 8:55 AM Lev Serebryakov wrote: > On 18.01.2019 17:10, Kyle Evans wrote: > > > There's some UEFI var that's supposed to serve the same kind of > > purpose as /boot.config -- early boot parameters. I think we had > > discussed implementing this at some point, but this hasn't been done > > yet as far as I've seen. Would this be usable on your appliances? > How could I set UEFI variable? Via BIOS/UEFI Setup? I don't see this at > my systems. > If your BIOS allows it, you can set the standard ConOut variables the UEFI standard defines with the efivar program. In addition, you can add args to the 'binary blob' part of the BOOT OPTIONS variables (BootXXXX), though efibootmgr doesn't currently support it (it likely should). > Also, there are same problems with GPT/BIOS setup (which uses GPT but > legacy boot) :-( > What same problems? I don't think we've touched how gptboot has handed off to /boot/loader in a long, long time. It there's an issue here, it's a different issue. Warner