From owner-freebsd-current@freebsd.org Wed Sep 19 16:46:13 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 F091010A1618 for ; Wed, 19 Sep 2018 16:46:12 +0000 (UTC) (envelope-from tsoome@me.com) Received: from st13p35im-asmtp002.me.com (st13p35im-asmtp002.me.com [17.164.199.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 90530897B5 for ; Wed, 19 Sep 2018 16:46:12 +0000 (UTC) (envelope-from tsoome@me.com) Received: from process-dkim-sign-daemon.st13p35im-asmtp002.me.com by st13p35im-asmtp002.me.com (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) id <0PFB00K005I24Q00@st13p35im-asmtp002.me.com> for freebsd-current@freebsd.org; Wed, 19 Sep 2018 15:46:05 +0000 (GMT) Received: from icloud.com ([127.0.0.1]) by st13p35im-asmtp002.me.com (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPSA id <0PFB00EPZ7SL4O10@st13p35im-asmtp002.me.com>; Wed, 19 Sep 2018 15:46:00 +0000 (GMT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=2 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=934 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809190153 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-19_09:,, signatures=0 From: Toomas Soome Message-id: MIME-version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: FreeBSD EFI projects Date: Wed, 19 Sep 2018 18:45:56 +0300 In-reply-to: <201809191531.w8JFVeDN024426@pdx.rh.CN85.dnsmgr.net> Cc: Greg V , Rebecca Cran , Konstantin Belousov , Warner Losh , FreeBSD Current To: "Rodney W. Grimes" References: <201809191531.w8JFVeDN024426@pdx.rh.CN85.dnsmgr.net> X-Mailer: Apple Mail (2.3445.9.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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 16:46:13 -0000 > On 19 Sep 2018, at 18:31, Rodney W. Grimes = wrote: >=20 >> 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: >>>>>>=20 >>>>>>>=20 >>>>>>> I can confirm that the kernel already worked fine when booted=20 >>>> from >>>>>>> 32-bit EFI. >>>>>>>=20 >>>>>>> I booted an old Mac into HardenedBSD using a 32-bit-EFI build=20 >>>> of >>>>>> GRUB2 :) >>>>>>=20 >>>>>>=20 >>>>>> Was that a 64-bit version of FreeBSD? My understanding is the=20 >>>> 32-bit >>>>>> FreeBSD boots fine, but 64-bit needs work. >>>>>=20 >>>>> 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. >>=20 >> The EFI firmware is technically 64 bit? but it only boots 32-bit=20 >> binaries. >>=20 >> = https://everymac.com/mac-answers/snow-leopard-mac-os-x-faq/mac-os-x-snow-l= eopard-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.' >=20 > That is not EFI32, so that is not a test case for how FreeBSD boots = = =20 > on EFI32 systems. That is a restriction apple artificially placed > in the implementation. >=20 >>>> 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 >>=20 >> Atom Z3740 ? "Instruction Set: 64-bit" >> = https://ark.intel.com/products/76759/Intel-Atom-Processor-Z3740-2M-Cache-u= p-to-1_86-GHz = >=20 > The above does not say Atom Z3xxx. If you find a Atom > N2xx or Z5xx based system it most certainly has a EFI32. >=20 >>=20 >> The tablet in question: ASUS VivoTab Note 8 (M80TA) >> https://www.asus.com/us/Tablets/ASUS_VivoTab_Note_8_M80TA/ = >=20 > I can not find enough detail to know for certain that tablet > actually has which version of EFI. > You are saying it has EFI32? And if so based on what information? >=20 I have Lenovo MIIX-300 and it has UEFI32. rgds, toomas