From owner-freebsd-current@freebsd.org Sun Jul 31 20:51:07 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDBE7BA8AAE for ; Sun, 31 Jul 2016 20:51:07 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from kif.fubar.geek.nz (kif.fubar.geek.nz [178.62.119.249]) by mx1.freebsd.org (Postfix) with ESMTP id AF3F2188F for ; Sun, 31 Jul 2016 20:51:07 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from zapp (bcdf0033.skybroadband.com [188.223.0.51]) by kif.fubar.geek.nz (Postfix) with ESMTPSA id 0E097D838C; Sun, 31 Jul 2016 20:50:31 +0000 (UTC) Date: Sun, 31 Jul 2016 21:50:29 +0100 From: Andrew Turner To: Xin Li Cc: FreeBSD Current , d@delphij.net Subject: Re: EFI boot: can we make loader.efi work as BOOT{x64, aa64, arm, ia32}.efi? Message-ID: <20160731215029.6d04169b@zapp> In-Reply-To: <5bf35d8a-9941-9c6e-ea0a-20827ad26466@delphij.net> References: <5bf35d8a-9941-9c6e-ea0a-20827ad26466@delphij.net> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Sun, 31 Jul 2016 20:51:08 -0000 On Sat, 30 Jul 2016 23:20:55 -0700 Xin Li wrote: > Hi, > > I finally got some time to explore the UEFI boot process (kudos to > everyone who made this work!) and getting myself familiarize with the > basics. > > One quick question -- Is there some technical restriction that > prevents us from merging boot1.efi and loader.efi into one binary? The only issue I know about is loader.efi will use the wrong partition to load the kernel. This is because it assumes the kernel is to be loaded from the same filesystem as it was. Andrew