From owner-freebsd-current@freebsd.org Mon Sep 17 05:29:15 2018 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 B8CA710920BB for ; Mon, 17 Sep 2018 05:29:15 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33D068ED0A for ; Mon, 17 Sep 2018 05:29:15 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id F2CD33447A; Sun, 16 Sep 2018 23:29:48 -0600 (MDT) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2cOb7w18eENc; Sun, 16 Sep 2018 23:29:48 -0600 (MDT) Received: from tau.bluestop.org (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Sun, 16 Sep 2018 23:29:48 -0600 (MDT) From: Rebecca Cran Subject: FreeBSD EFI projects To: Warner Losh Cc: FreeBSD Current References: <1dbeee10-857e-7fb2-dac2-1047353739ba@bluestop.org> Message-ID: <3ce6e6cb-a608-2969-09d4-201df07df586@bluestop.org> Date: Sun, 16 Sep 2018 23:29:12 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Mon, 17 Sep 2018 05:29:15 -0000 On 9/16/18 9:32 PM, Warner Losh wrote: > > What did you have in mind working on? I have a few things that are in > various stages of completeness around this issue that I've not had > time to polish off for the tree. Some I'd like to, but some may > benefit from a fresh perspective. Also, there's a fair number of > hidden bugs in the stuff committed around finding the whole path > sometimes and the like. One thing I've started working on is switching the ESP to use FAT32 everywhere except the ISO images (due to the limitation in the El Torito format not supporting sufficiently large regions). The specifications from EFI 1.10 onward have been clear that only FAT32 is supported for the ESP (but that FAT12 and FAT16 must be supported for removable devices), and I've read that some systems do enforce that. Unfortunately that does mean the ESP must be a minimum of 33MB, but I think it's worthwhile for increased compatibility. Related to that, I've also been working on removing the FAT filesystem templates that are currently checked into svn, instead generating them during the release stage. I've had some interest on #bsdmips about booting a 64-bit FreeBSD on old Apple systems that use 32-bit EFI: it sounds like it should be possible, and is something I'd like to try and get working. I'd also really like to help move the changes to mount an existing ESP during installation instead of clobbering it towards being committed, if possible. Another thing I'd like to work on is trying to catch corner cases like in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210244 where calling GetMemoryMap causes the memory map to become fragmented. I'd also like to try and improve diagnostics, for example at the moment if the system doesn't have enough memory to run the loader it silently exits instead of displaying an error message. And I would also be interested in taking a look at any projects you've not completed yet, to see if I can help in any way. -- Rebecca