From owner-freebsd-arch@freebsd.org Thu Feb 8 05:42:47 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 741CAF0513A for ; Thu, 8 Feb 2018 05:42:47 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::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 01322745AB for ; Thu, 8 Feb 2018 05:42:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x236.google.com with SMTP id k131so5219941ith.4 for ; Wed, 07 Feb 2018 21:42:46 -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=DvEETkNqT5dIO2OuP1Y8DSCiFeALpCAUiO+PsI2uqJA=; b=G551OmwLQlB0vsZl5XF+nhcsTqxsUT8XJrln26h2Z7E/vWVqbKTgpoHU9yOdKDFpp0 +2Ap2sl2DXK2W5F0LFY8VpS04g7tgD3rp6V1ZzNkzMBcfYYQZNGh0eGOElHdRO92lpmA B9ZPxZRK4+v0fITPhTxmOLPRdHBc8w699CuLWTf97hLGEb6bniU+XBuPHpcjntfMZfAt yNiR9kCZymwftwBhvi68CnIoT9RdBmlu7gsZPnBks2+9SCyqKV2+f1ToYGbJ09Q9hEIy ZBsOIv44m4yNh8Yu6qb/mHKMRF22tXKnw2kl79jocdrRQ3oyHu0en9TVsIZj1pzO4PUI kUaw== 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=DvEETkNqT5dIO2OuP1Y8DSCiFeALpCAUiO+PsI2uqJA=; b=sLW2CRn4ogZKbwZSvov0oXcb3OxLSgLXLLspleDHUUfPPlZl+w5CiDyUheBb3gaMYp ZL3rJyVdosybk5tO1QoZZ9KFZh4zJxSOHfMh3yTRViUHaE5kgA+rxG2JT0gR8sVThdCd 5EXPHwCl26ICytwBdHUT8VCsV+i9NfQKOzfq/qW9mxAOTKeri6Bcpmw/UUYcQ/mde6H0 JCgO0ctu3tS8DC/rJsjFwI4RXMA4sPf0m8n1/aNboa8MP35iKnX2lJzqr+vA98nVhW+n ySNR3UTaIWADT/ToHOeEObF95klCQSFSk4bWAUgi+OWSq6TlUBRWyU7VWYNJf3sjloxE dn6g== X-Gm-Message-State: APf1xPD0GfrO8xxLSSzNHqMLyT8NU6P1BMbT7KTzeVw05+ItYt4cBFEm KDNrXfTDGUx33qL8dpZExJ1Zm+dflEe/Ge/5/s+lkQ== X-Google-Smtp-Source: AH8x2270Si+k+fCCmzixW9KWPMrHybRd6owUaw/RTb+ZnJIvi4ZpFQcuzUJ+4hYlmiDi7cd8gJzElEPcv5U3tuNW0+k= X-Received: by 10.36.145.139 with SMTP id i133mr4564447ite.69.1518068566097; Wed, 07 Feb 2018 21:42:46 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.201.67 with HTTP; Wed, 7 Feb 2018 21:42:45 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:18a2:a4f7:170:8dd9] In-Reply-To: References: <5015.1517478674@critter.freebsd.dk> From: Warner Losh Date: Wed, 7 Feb 2018 22:42:45 -0700 X-Google-Sender-Auth: KYsihNjpNzf-RX81UVzBmGyiWWE Message-ID: Subject: Re: Feedback on proposed loader changes To: Ed Maste Cc: Devin Teske , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" 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, 08 Feb 2018 05:42:47 -0000 On Wed, Feb 7, 2018 at 7:04 PM, Ed Maste wrote: > On 1 February 2018 at 11:58, Devin Teske wrote: > > > > 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. > > Zak, my co-op student from last term did a bunch of this work; it's in > the lua-bootloader branch of https://github.com/ZakSN/freebsd. The > work term ended before Warner's rework was ready, but it should be > relatively straightforward to rebase it and begin review / refinement. > I haven't changed the .lua code at all yet from what was in the github branch that Rui did to forward port the GSoC svn branch. I have plans for a lot of changes (since it's lame to call perform to call setenv when we can just directly do a setenv function call, for example). This code looks to be mergeable, so I'll do that as a separate commit. The non-lua bits I have to pick and choose, since there's some conflicts though... > I agree we should support both variants for at least some time. > Forth will be in 12, but not 13 is my plan. Lua will be in 12 and the default. And thanks to Kyle Evans' heroic MFCs, there's a fighting chance lua will be an off-by-default option in 11.2. Warner