From owner-freebsd-current@freebsd.org Wed Sep 19 15:17:35 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 ED7D9109E92E for ; Wed, 19 Sep 2018 15:17:34 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from hraggstad.unrelenting.technology (hraggstad.unrelenting.technology [71.19.146.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hraggstad.unrelenting.technology", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 740C484EDE for ; Wed, 19 Sep 2018 15:17:34 +0000 (UTC) (envelope-from greg@unrelenting.technology) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=unrelenting.technology; h=date:from:subject:to:message-id; s=default; bh=enmsWA/c3GCjAwRocM5j65m9G6xy9VcbtZ0JDG1NhK0=; b=kkyTblaMZ0EibuU/yAoXsIKICkOYODh7Ww1iS4QG7ukNlyV8zTVfdl/4txK5ySfWDc3oFHyeZ/s0UmBghUxVcu6mgP4iZkSRknBcJvOb5bg87dBolb6cTHbXqHStMJhL5I5JCl31rnk46ISxqje2nlgqQW+SvABdzyl9fc2GNbI= Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id 1417a9d4 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 19 Sep 2018 15:17:25 +0000 (UTC) Date: Wed, 19 Sep 2018 18:17:18 +0300 From: Greg V Subject: Re: FreeBSD EFI projects To: "Rodney W. Grimes" Cc: Rebecca Cran , Konstantin Belousov , Warner Losh , FreeBSD Current Message-Id: <1537370238.5568.2@hraggstad.unrelenting.technology> In-Reply-To: <201809191506.w8JF6W10024280@pdx.rh.CN85.dnsmgr.net> References: <1537368121.5568.1@hraggstad.unrelenting.technology> <201809191506.w8JF6W10024280@pdx.rh.CN85.dnsmgr.net> X-Mailer: geary/0.12.2 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: quoted-printable 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: Wed, 19 Sep 2018 15:17:35 -0000 On Wed, Sep 19, 2018 at 6:06 PM, Rodney W. Grimes=20 wrote: >> On Wed, Sep 19, 2018 at 5:34 PM, Rodney W. Grimes >> wrote: >> >> On 9/18/18 4:11 AM, Greg V wrote: >> >> >> >> > >> >> > I can confirm that the kernel already worked fine when booted=20 >> from >> >> > 32-bit EFI. >> >> > >> >> > I booted an old Mac into HardenedBSD using a 32-bit-EFI build=20 >> of >> >> GRUB2 :) >> >> >> >> >> >> Was that a 64-bit version of FreeBSD? My understanding is the=20 >> 32-bit >> >> FreeBSD boots fine, but 64-bit needs work. >> > >> > You would be hard pressed to find a system with a 64 bit CPU that >> > could run 64 bit FreeBSD that had a 32 bit EFI implementation. >>=20 >> Mac mini 2006 with a Core2Duo instead of the stock CoreDuo (and the >> 2007 model's firmware flashed, but I don't think that impacts=20 >> FreeBSD). >=20 > Yes, that is one of the catagories of rare, a EFI-32 bit system that > was originally shipped with a 32 bit only CPU, that later got upgraded > in the field with a 64 bit CPU, that still runs a EFI-32 bios. > Are you sure the 2007 firmware is EFI32? I would of thought > since they upgraded the base system to a 64 bit CPU they would > of shipped it with a EFI-64 bios. The EFI firmware is technically 64 bit=85 but it only boots 32-bit=20 binaries. https://everymac.com/mac-answers/snow-leopard-mac-os-x-faq/mac-os-x-snow-le= opard-64-bit-macs-64-bit-efi-boot-in-64-bit-mode.html 'Furthermore, it appears that although subsequently released MacBook,=20 MacBook Air, and pre-"Mid-2010" Mac mini models all are equipped with=20 "Core 2 Duo" 64-bit processors and 64-bit EFIs, Apple has blocked these=20 "consumer-targeted" Macs from booting in 64-bit mode. iMac and MacBook=20 Pro models released in 2007 with 64-bit EFIs seem to have been blocked=20 as well.' >> And probably just the 2007 model as well :) >>=20 >> Also, IIRC there were some Intel Atom tablets with 32-bit EFI. >=20 > Atom N2xx and Z5xx series Atom models cannot run x86-64 Atom Z3740 =97 "Instruction Set: 64-bit" https://ark.intel.com/products/76759/Intel-Atom-Processor-Z3740-2M-Cache-up= -to-1_86-GHz The tablet in question: ASUS VivoTab Note 8 (M80TA) https://www.asus.com/us/Tablets/ASUS_VivoTab_Note_8_M80TA/ =