Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2019 18:05:45 -0700
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Eric McCorkle <eric@metricspace.net>, Edward Napierala <trasz@freebsd.org>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: FreeBSD and Coreboot
Message-ID:  <3aa00c6b-2502-ffad-c915-a833292882bd@freebsd.org>
In-Reply-To: <1452db0c-1210-3230-c044-bc682e7e1745@metricspace.net>
References:  <4a6b0f1e-64ec-6b83-b43b-f9791ec8428f@metricspace.net> <CAFLM3-rMJmPs4OvRczDtiENtYaSpODRGQaFuONc%2BouxchJQDxw@mail.gmail.com> <1452db0c-1210-3230-c044-bc682e7e1745@metricspace.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--LyIxkKby04YEpGsH5AeydSISyWGbOKjgf
Content-Type: multipart/mixed; boundary="q6PuLJAQ2dVeKq7lQ0j4emexr8iAFIqQL";
 protected-headers="v1"
From: Nathan Whitehorn <nwhitehorn@freebsd.org>
To: Eric McCorkle <eric@metricspace.net>, Edward Napierala <trasz@freebsd.org>
Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>,
 FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <3aa00c6b-2502-ffad-c915-a833292882bd@freebsd.org>
Subject: Re: FreeBSD and Coreboot
References: <4a6b0f1e-64ec-6b83-b43b-f9791ec8428f@metricspace.net>
 <CAFLM3-rMJmPs4OvRczDtiENtYaSpODRGQaFuONc+ouxchJQDxw@mail.gmail.com>
 <1452db0c-1210-3230-c044-bc682e7e1745@metricspace.net>
In-Reply-To: <1452db0c-1210-3230-c044-bc682e7e1745@metricspace.net>

--q6PuLJAQ2dVeKq7lQ0j4emexr8iAFIqQL
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US



On 2019-05-27 15:50, Eric McCorkle wrote:
> On 5/27/19 5:53 PM, Edward Napierala wrote:
>> On Mon, 27 May 2019 at 16:14, Eric McCorkle <eric@metricspace.net> wro=
te:
>>
>> [..]
>>
>>> My plan is roughly this:
>>>
>>> * Refurbish the GRUB port, get it working again in QEMU (possibly on =
one
>>> of my machines), also possibly push a patch to GRUB to use the keybuf=
s
>>> mechanism to pass in GELI keys.
>>>
>>> * Get coreboot with GRUB/Seabios booting FreeBSD in QEMU
>>>
>>> * Possibly create a coreboot port (uncertain how this would work, sin=
ce
>>> Coreboot has its own extensive config menu)
>>>
>>> * Hold my breath and test it out on real hardware (I have a Librem 13=
 r1
>>> for this purpose)
>>>
>>> * Possibly try getting the FreeBSD kernel to work as a coreboot paylo=
ad.
>> Out of curiosity - why the kernel and not loader(8)?
>>
> If I understand coreboot correctly, loader would have to directly
> manipulate devices _without a BIOS_.  That is, it would have to have an=

> entire device detection/interface layer, which I don't believe is the
> case today.
>
> At least in the EFI case, loader is talking through the system's EFI
> implementation, which takes care of all that for you.  BIOS works in a
> similar way.  My sense is getting loader to the point where it could be=

> a coreboot (without Seabios/GRUB/Tianocore) would be quite an undertaki=
ng.
>

On IBM PowerNV systems, which also don't provide interfaces to a
second-stage loader, we just abandoned loader(8). It's way too much work.=

-Nathan


--q6PuLJAQ2dVeKq7lQ0j4emexr8iAFIqQL--

--LyIxkKby04YEpGsH5AeydSISyWGbOKjgf
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE06V/sjLd+bX0X7ePTVLMJAifsGoFAlzsiWoACgkQTVLMJAif
sGrKyxAAnhNhQhSx91G/JcTnIdvrvcQLJCOhlX6TZhQdWOXNeB0/Eb7CjeEWns3a
Cxoi4abJmHYV82oerBSnszEuj5rZFo0H8wy0PCaPYsg4UhBUI0GtrfGCxSzewbfq
NAgPnYA9hENLk0YX1QjI3gASSKv10+Ab6MiLIvrwwIgaB1iAEPy3GjI+OlvhqBak
3VeQyyM8PpQOhMirhND21oGiAV5uknLJdtNQCXqlFAGZa9l1KDeviKlNm7Hnur9N
Xa5xzNF8fHtPs8kmWdd2gof8hthdFESHV3E6+3l2RHeVTrJBtv8NfnwmM/xwdjbA
xQDS3Qs7kvjY034KvALgIDamhNScN6Lg+51rpAyfkgwXmPpgWLk2S/Wl41rKDuNH
V6AYd2ceNe7fdKwz6cMgraQOsqMAG3jO4r9Cy9bPrIGX28oPet2jee0NsJv+f5qV
HP+Qc4GZNCMM7cQbLaX5qeNVtAri0Tc02jz7m3wfqejzJDCx2XAbfQYWpYU2t3qk
YH0o7RgrVtxUi0tMawe1BSlCcvBYqRUEqB7wLxWRAYUDCI4HUs1DJhaRjNMfBj5C
MlwhU3cNxhS+/tzl16kRPePCNJnvP7nZzz6y7ceiPBfBeAbc0pdX4SqNoD/Dm1Gv
vy3A2rOUa2oT5OZjlYgR2p3cWa5FLo6/x40WnvWFz4XpyMRjp5c=
=O/BF
-----END PGP SIGNATURE-----

--LyIxkKby04YEpGsH5AeydSISyWGbOKjgf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3aa00c6b-2502-ffad-c915-a833292882bd>