Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2021 13:25:12 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Kevin Bowling <kevin.bowling@kev009.com>
Cc:        Brandon Bergren <bdragon@freebsd.org>, Jessica Clarke <jrtc27@freebsd.org>, Nathan Whitehorn <nwhitehorn@freebsd.org>, Colin Percival <cperciva@tarsnap.com>,  src-committers <src-committers@freebsd.org>,  "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org
Subject:   Re: git: 0b7472b3d8d2 - main - Mount the EFI system partition (ESP) on newly-installed systems.
Message-ID:  <CANCZdfrej=mY0uZnY4Cg0PxTtPjJdCUVsM2trBO83z--Qks7JA@mail.gmail.com>
In-Reply-To: <CAK7dMtD9k5FscvG754tLO6ZeTm5%2Bru87F06O8%2BH3bVJqVjf9iQ@mail.gmail.com>
References:  <202102232124.11NLOT27012354@gitrepo.freebsd.org> <01000177d0e7f033-389acb59-2004-4040-ba7c-762878ef86b4-000000@email.amazonses.com> <dba58a1f-5eb0-da87-7d18-d930aa5d422a@freebsd.org> <CANCZdfoL3QFg9NvpkPW8pfVrNvUK-cTPD2ZGbBr2xxh-0dv=eA@mail.gmail.com> <dc61048c-2cfa-0ff5-0470-e93aa5233aae@freebsd.org> <583f83d8-c78b-d961-d2c5-9693bd36563b@freebsd.org> <743fd126-2077-49b1-9c85-7ccc61616b98@www.fastmail.com> <460ceb98-e0c1-42b3-8e3c-2587c5ce8398@www.fastmail.com> <F4E1978D-DE96-4082-885F-D6686A5D005C@freebsd.org> <CANCZdfpw1%2BsjHVPH4zahywMsLHJ1jKWbnd5A3RjGinu=nQFSGA@mail.gmail.com> <a30870ef-00b1-40b6-b378-033d8737c7e4@www.fastmail.com> <CANCZdfqPNf-RW=-T9qk5a4o-rX3CWFVGz0H_hTav-CqnW9JJ=Q@mail.gmail.com> <CAK7dMtD9k5FscvG754tLO6ZeTm5%2Bru87F06O8%2BH3bVJqVjf9iQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 28, 2021 at 9:48 AM Kevin Bowling <kevin.bowling@kev009.com>
wrote:

> This got me interested because I did recall something like Warner
> mentioned.  It seems like some of the folks that used to be at OzLabs
> did it as a PoC
>
> https://www.flamingspork.com/blog/2015/10/20/tianocore-uefi-ported-to-openpower/
> .
>

Ah yes, it was OzLabs' tianocore port that I recalled.


> One of the exciting things about OpenPower was that everything above
> the gates was open in a way only RISC-V seems a chance of repeating
> any time soon.  There are no practical limits to the firmware and
> runtime service; if you haven't seen this you both might enjoy it
>
> https://www.flamingspork.com/blog/2016/10/30/windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu/
> .
>
> Practically speaking, with Petitboot (which FreeBSD on PowerNV uses)
> there isn't much point to go to something like UEFI.  It's literally
> Unix vs DOS-like.  The primary targets are Raptor POWER9 hardware and
> LoPAPR/LoPAR VMs (kvm, PowerVM) and I don't see any near term
> indication of the ISA expanding to new platforms that would concern
> FreeBSD.
>

Yes. I agree as well. I was just hoping to say just that: EFI is barely
theoretically possible, but in reality we'll likely never use it....

The net effect is that we don't want to install efi on powerpc on freebsd.

Warner


> Regards,
> Kevin
>
> On Sat, Feb 27, 2021 at 8:18 PM Warner Losh <imp@bsdimp.com> wrote:
> >
> > On Sat, Feb 27, 2021, 8:01 PM Brandon Bergren <bdragon@freebsd.org>
> wrote:
> >
> > > On Sat, Feb 27, 2021, at 8:39 PM, Warner Losh wrote:
> > > > > 32-bit Arm can boot via EFI. Just mips* and powerpc*.
> > > >
> > > > There was some rumblings of little endian powerpc64 efi, but I don't
> > > > think it's ready...
> > >
> > > I've never heard of such things. PAPR/LoPAPR/LoPAR (pseries) is
> specified
> > > as an OpenFirmware platform, and I don't see that changing in the
> future
> > > given the way it's baked into the spec. And PowerNV is a
> > > minimal-runtime-services platform where the runtime abstraction (OPAL)
> > > calls don't include any sort of way to access disk devices.
> > >
> > > Do you mean alternative firmware for PowerNV? I've heard people
> talking on
> > > and off about coreboot, but I don't see that becoming mainstream over
> the
> > > petitboot skiroot payload.
> > >
> > > I don't see the pseries virtualization requirements changing away from
> > > OpenFirmware in the future either, given the OpenFirmware requirement
> has
> > > been a constant all the way back to CHRP.
> > >
> >
> >
> > There was a working group that was defining powerpc bindings that were
> > being worked on. When I went back to find them again I couldn't, so maybe
> > they came to naught...
> >
> > Warner
> >
> > >
> > > > Yea, we have long since switched our preferred boot on arm to EFI...
> > > > though we don't have installer images for 32bit arm, which is this
> > > > runs... so it's needed for correctness, but not a practical
> > > > difference...
> > > >
> > > > Warner
> > >
> > > --
> > >   Brandon Bergren
> > >   bdragon@FreeBSD.org
> > >
> > _______________________________________________
> > dev-commits-src-main@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
> > To unsubscribe, send any mail to "
> dev-commits-src-main-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrej=mY0uZnY4Cg0PxTtPjJdCUVsM2trBO83z--Qks7JA>