Re: FreeBSD EFI projects

2018-09-20 Thread Greg V
On Thu, Sep 20, 2018 at 12:24 AM, Rebecca Cran wrote: On 9/19/18 3:53 AM, Greg V wrote: Yes, of course it was 64-bit. I don't think I ever downloaded the 32-bit one... And are you sure it was booted via EFI and not the BIOS emulation CSM (Compatibility Support Module)? I'm fairly sur

Re: FreeBSD EFI projects

2018-09-19 Thread Toomas Soome
I still have it all in the queue, just the paid work is taking its toll and then FreeBSD and illumos :) Next week I am on vacation trip but then I’ll be back and kicking. Rgds, Toomas Sent from my iPhone > On 20 Sep 2018, at 02:37, Warner Losh wrote: > >> On Wed, Sep 19, 2018 at 4:33 P

Re: FreeBSD EFI projects

2018-09-19 Thread Rodney W. Grimes
> On 9/19/18 3:53 AM, Greg V wrote: > > > > > Yes, of course it was 64-bit. > > > > I don't think I ever downloaded the 32-bit one... > > > And are you sure it was booted via EFI and not the BIOS emulation CSM > (Compatibility Support Module)? I'm fairly sure we _don't_ support > booting a 64-

Re: FreeBSD EFI projects

2018-09-19 Thread Rodney W. Grimes
> > On 9/19/18 9:06 AM, Rodney W. Grimes wrote: > > 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

Re: FreeBSD EFI projects

2018-09-19 Thread Warner Losh
On Wed, Sep 19, 2018 at 4:33 PM Rebecca Cran wrote: > Oh, that's a really good point - thanks! I happen to have a Minnowboard > Turbot currently sitting unused. > One other idea, unrelated to the 32-bit UEFI to boot 64-bit kernel, is to see about mining tsoome@'s port of FreeBSD boot loader to O

Re: FreeBSD EFI projects

2018-09-19 Thread Rebecca Cran
On 9/19/18 5:13 PM, Ed Maste wrote: The Minnowboard Turbot has an Atom E3826, and has four precompiled Tianocore UEFI firmware releases available: 32 and 64 bit in release and debug builds. It's probably the most approachable development platform for UEFI work on FreeBSD. Oh, that's a really

Re: FreeBSD EFI projects

2018-09-19 Thread Ed Maste
On 19 September 2018 at 10:34, Rodney W. Grimes wrote: > > 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. The Minnowboard Turbot has an Atom E3826, and has four precompiled Tianocore UEFI firmware releases availab

Re: FreeBSD EFI projects

2018-09-19 Thread Rebecca Cran
On 9/19/18 3:53 AM, Greg V wrote: Yes, of course it was 64-bit. I don't think I ever downloaded the 32-bit one... And are you sure it was booted via EFI and not the BIOS emulation CSM (Compatibility Support Module)? I'm fairly sure we _don't_ support booting a 64-bit kernel from 32-bit EF

Re: FreeBSD EFI projects

2018-09-19 Thread Rebecca Cran
On 9/19/18 9:06 AM, Rodney W. Grimes wrote: 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 woul

Re: FreeBSD EFI projects

2018-09-19 Thread Toomas Soome
> On 19 Sep 2018, at 18:31, Rodney W. Grimes > wrote: > >> On Wed, Sep 19, 2018 at 6:06 PM, Rodney W. Grimes >> 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

Re: FreeBSD EFI projects

2018-09-19 Thread Greg V
On Wed, Sep 19, 2018 at 6:31 PM, Rodney W. Grimes wrote: On Wed, Sep 19, 2018 at 6:06 PM, Rodney W. Grimes 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 alre

Re: FreeBSD EFI projects

2018-09-19 Thread Rodney W. Grimes
> On Wed, Sep 19, 2018 at 6:06 PM, Rodney W. Grimes > 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 > >> from > >> >> > 32-b

Re: FreeBSD EFI projects

2018-09-19 Thread Greg V
On Wed, Sep 19, 2018 at 6:06 PM, Rodney W. Grimes 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 from >> > 32-bit EFI. >> > >> > I booted an old M

Re: FreeBSD EFI projects

2018-09-19 Thread Rodney W. Grimes
> 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 from > >> > 32-bit EFI. > >> > > >> > I booted an old Mac into HardenedBSD using a 32-bit-EFI build of > >>

Re: FreeBSD EFI projects

2018-09-19 Thread Greg V
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 from > 32-bit EFI. > > I booted an old Mac into HardenedBSD using a 32-bit-EFI build of GRUB2 :) Was that a 64-bit version

Re: FreeBSD EFI projects

2018-09-19 Thread Rodney W. Grimes
> On 9/18/18 4:11 AM, Greg V wrote: > > > > > I can confirm that the kernel already worked fine when booted from > > 32-bit EFI. > > > > I booted an old Mac into HardenedBSD using a 32-bit-EFI build of GRUB2 :) > > > Was that a 64-bit version of FreeBSD? My understanding is the 32-bit > FreeBSD

Re: FreeBSD EFI projects

2018-09-19 Thread Greg V
On 09/18, Rebecca Cran wrote: On 9/18/18 4:11 AM, Greg V wrote: I can confirm that the kernel already worked fine when booted from 32-bit EFI. I booted an old Mac into HardenedBSD using a 32-bit-EFI build of GRUB2 :) Was that a 64-bit version of FreeBSD? My understanding is the 32-bit Free

Re: FreeBSD EFI projects

2018-09-18 Thread Rebecca Cran
On 9/18/18 4:11 AM, Greg V wrote: > > I can confirm that the kernel already worked fine when booted from > 32-bit EFI. > > I booted an old Mac into HardenedBSD using a 32-bit-EFI build of GRUB2 :) Was that a 64-bit version of FreeBSD? My understanding is the 32-bit FreeBSD boots fine, but 64-bit

Re: FreeBSD EFI projects

2018-09-18 Thread Greg V
On Mon, Sep 17, 2018 at 11:09 PM, Konstantin Belousov wrote: That said, making only the loader->kernel transition from EFI 32bit to 64bit kernel should be not too hard, and even significantly simpler than to make 32bit EFI load 32bit kernel. amd64 kernels already aware that there might be

Re: FreeBSD EFI projects

2018-09-17 Thread Ed Maste
On 17 September 2018 at 14:17, Warner Losh wrote: > Items on my list are: > > (1) Retiring boot1.efi entirely before 13.0. It was originally designed to > be a small, never changing blob we'd toss into an ESP and have all the > smarts in loader.efi. I'd go further than this: it was originally des

Re: FreeBSD EFI projects

2018-09-17 Thread Konstantin Belousov
On Mon, Sep 17, 2018 at 12:17:25PM -0600, Warner Losh wrote: > On Sun, Sep 16, 2018 at 11:29 PM Rebecca Cran wrote: > 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

Re: FreeBSD EFI projects

2018-09-17 Thread Warner Losh
On Sun, Sep 16, 2018 at 11:29 PM Rebecca Cran wrote: > 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 t

FreeBSD EFI projects

2018-09-16 Thread Rebecca Cran
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

Re: FreeBSD EFI projects

2018-09-16 Thread Warner Losh
On Sun, Sep 16, 2018 at 4:31 PM Rebecca Cran wrote: > I'm just getting back into FreeBSD development, and I'm trying to focus > on (U)EFI work. > > It seems there are various things that people would like to have done, > some of which are listed on > https://wiki.freebsd.org/DevSummit/201806/Have

FreeBSD EFI projects

2018-09-16 Thread Rebecca Cran
I'm just getting back into FreeBSD development, and I'm trying to focus on (U)EFI work. It seems there are various things that people would like to have done, some of which are listed on https://wiki.freebsd.org/DevSummit/201806/HaveNeedWant12 - and some of which I know are already being worked on