From owner-freebsd-arch@freebsd.org Thu Feb 1 17:59:16 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 A2312EE1B5D for ; Thu, 1 Feb 2018 17:59:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 33F1F7A7E5 for ; Thu, 1 Feb 2018 17:59:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x236.google.com with SMTP id m11so20107909iob.2 for ; Thu, 01 Feb 2018 09:59:16 -0800 (PST) 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=a+OQGSZSEQpMRC2Yt9g//WAH3jFcy7/8KFXHUl+xPxA=; b=eqePrvJtWoRQYb572qV2hjbts0Z32G4JETnM8TEUDFaYHkekHMZL3H+w/kx39iyjBs ohocEcyEgTUsZ8wiodvLcdLW5AQUYYy4oJEWrcbkwc/zRBayz0GSHOZ6+P3ECERsFGQO r1iiLAT9jX8RfBdE5n2mB8+PrrgG/QTZ4Oio+hncNe6ZWcTfdN2Os5NBr+dY6f2LP9qK Rp9ukPif8m4njLdTIQtSHOZ2GKS4hPWTpqTTZzlEMaH4spMt80rMx2ph0IjqfbBqNLxN Wpum/ap1IArW/xiTZdM2CVDDCXaeGmwmzaRT21GkaHhlbXICMBV+uJMxFpUHH8KICDLE fhcQ== 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=a+OQGSZSEQpMRC2Yt9g//WAH3jFcy7/8KFXHUl+xPxA=; b=P8+mKn2MGowx4awikoDwF8lnVu97VyE3CqqVmetLc1X7rIpslwBE2xRxlV+a3luFqw rA2GMStJz64w+9ePkyD6XwGPdZkSyaRNqDytwfu8L8X0kGIAOM9Xwsp78C41ehrrNasp nL0vMgrov/lw59+5+Ef4KhRA4AofEROyzviZ0VLq/xObEVu+kdhaCpjhPJLMFzRqFJ3S TpSVblJimAv57E+ocOCGd6MNeCmlXIQbZryyS1Ci0iXKjOdWjA+ZQPXdC0UpusxtdPgK ScfryYT65780j1Btn7J8om6EP4v9rV1f/neTs1JnNW8Y9A53TXSgvPKIfUKGiC/WrBGd +3wg== X-Gm-Message-State: AKwxytd8cNzqN9+yLQL/mH9uIZfY6jsQuabHq8WbAeh1SMo4EWLTDRa+ yKZfUonWAzWjuLgUPFuwfY9ih7NHmrGwv21QE80spQ== X-Google-Smtp-Source: AH8x224dsgF2WQ0NzNoJ3KqGWRSjWQvToVGXI3IS63aOVVUd29jNnSjF9Cv902Uv25DU8IPd+/XYXyMPmJSFCzfyiN8= X-Received: by 10.107.107.1 with SMTP id g1mr38261557ioc.63.1517507955410; Thu, 01 Feb 2018 09:59:15 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.201.67 with HTTP; Thu, 1 Feb 2018 09:59:14 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: References: <5015.1517478674@critter.freebsd.dk> From: Warner Losh Date: Thu, 1 Feb 2018 10:59:14 -0700 X-Google-Sender-Auth: 6JXh-S0l-Ck7TWW8YOr7IMnshQ4 Message-ID: Subject: Re: Feedback on proposed loader changes To: Devin Teske Cc: Poul-Henning Kamp , "freebsd-arch@freebsd.org" , Devin Teske Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2018 17:59:16 -0000 On Thu, Feb 1, 2018 at 9:58 AM, Devin Teske wrote: > > > > On Feb 1, 2018, at 1:51 AM, Poul-Henning Kamp > wrote: > > > > -------- > > In message n3ESiUw@mail.gmail.com>, Warner Losh writes: > > > >> So I'd like feedback on two questions: Should I kill the forth feature= s > I > >> oulined above? And should I make the build system build multiple loade= rs > >> with a link controlling the default? > > > > I think you should just move forward and go for the end-stage > > without too many temporary bandaids. > > > > The loader is pretty decoupled from everything, so in case anybody > > needs any of these Forth cornercases, they can use 11.X loader with > > very little, if any, trouble. > > > > As a person that both reviewed the GSoC code you are working with > (in-depth; including a list of short-comings) and the most likely person = to > bring it up-to-par after it is committed, I have 2 opinions: > > 1. Please allow both boot systems for a while so that the lua-based menu > can be made as feature full as the Forth menu. Example: submenus were add= ed > in Forth long after the GSoC lua project had ended > OK. The plan outlined does that. The lua code will be installed into /boot. But it will be .lua, so no conflicts with .4th. And we start from loader.lua not loader.rc. > 2. Please don=E2=80=99t force us to run Lua until I can code the new feat= ures > OK > And as the principal author of the Forth menu since 9.0: > > 3. Please give me a way to run my code (at the very least until I can > bring the Lua up to snuff; and if I can=E2=80=99t just let me run Forth > in-perpetuity). > > Interrupting boot1 so I can drive the system in the pre-boot Execution en= v > is very important to me. For !EFI, this is relatively easy. boot1 you can type /boot/loader_forth instead of the default /boot/loader if the symlink changes and you want to go back. For EFI the answer is more complicated. boot1.efi is going away, so loader.efi will move to the ESP in \efi\freebsd\loader.efi, but it's easy enough to have multiple versions there (loader_lua.efi and loader_forth.efi) and select via EFI Shell or EFI Env variables which one you want should you need to fall back. Does that answer your concerns? Warner