From owner-freebsd-hackers@freebsd.org Mon May 27 22:50:51 2019 Return-Path: Delivered-To: freebsd-hackers@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 592E015AD6B6; Mon, 27 May 2019 22:50:51 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from mail.metricspace.net (static-108-31-38-18.washdc.fios.verizon.net [108.31.38.18]) by mx1.freebsd.org (Postfix) with ESMTP id 6EE468A437; Mon, 27 May 2019 22:50:50 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from [IPv6:2001:470:1f11:617:3210:b3ff:fe77:ca3f] (unknown [IPv6:2001:470:1f11:617:3210:b3ff:fe77:ca3f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: eric) by mail.metricspace.net (Postfix) with ESMTPSA id 2BB70128F; Mon, 27 May 2019 22:50:49 +0000 (UTC) To: Edward Napierala Cc: FreeBSD Current , "freebsd-hackers@freebsd.org" References: <4a6b0f1e-64ec-6b83-b43b-f9791ec8428f@metricspace.net> From: Eric McCorkle Openpgp: preference=signencrypt Autocrypt: addr=eric@metricspace.net; prefer-encrypt=mutual; keydata= mDMEXMXabRYJKwYBBAHaRw8BAQdAJ2yzSUUR7u7H/bLAFOzhPII7vvJ45zQeB60TxyCoio20 JEVyaWMgTWNDb3JrbGUgPGVyaWNAbWV0cmljc3BhY2UubmV0PoiWBBMWCAA+FiEEG/v8wt9b D9+AxsV/6Y4m2LfgVbIFAlzF2m0CGwMFCQHhM4AFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA CgkQ6Y4m2LfgVbJ9mwD/YpSeQ5F9gpvKFS5Bs5w1Bw7zTOfO7zJQrh9NzDbWtd0BAOSGr/i5 zJer2pAjwambsyU0bhgHNy9IDQ7AGnidIyMHuDgEXMXabRIKKwYBBAGXVQEFAQEHQEBwYuBK iJPJEDtS6hbLgcDSUSbfUNA2rGp3TJ1G+7EqAwEIB4h+BBgWCAAmFiEEG/v8wt9bD9+AxsV/ 6Y4m2LfgVbIFAlzF2m0CGwwFCQHhM4AACgkQ6Y4m2LfgVbJ2kwEAlJj1z3zRJm3mmi6N81by nuwAxk3qcKa67WX2/F3C4soA/iwVuPMnx5RWaoX3i2eKXVNzNwzvTFfeGKxfQBOzMocM Subject: Re: FreeBSD and Coreboot Message-ID: <1452db0c-1210-3230-c044-bc682e7e1745@metricspace.net> Date: Mon, 27 May 2019 18:50:45 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9ECAOtpg9rw2jdh2m5vI63HP0iDzOZsig" X-Rspamd-Queue-Id: 6EE468A437 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-1.79 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[metricspace.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.94)[0.940,0]; NEURAL_HAM_LONG(-0.87)[-0.874,0]; IP_SCORE(0.25)[asn: 701(1.29), country: US(-0.06)]; MX_GOOD(-0.01)[mail.metricspace.net]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; ASN(0.00)[asn:701, ipnet:108.31.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2019 22:50:51 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9ECAOtpg9rw2jdh2m5vI63HP0iDzOZsig Content-Type: multipart/mixed; boundary="V8N54xAkborfrU9cp4VGzVm42fljY09MH"; protected-headers="v1" From: Eric McCorkle To: Edward Napierala Cc: FreeBSD Current , "freebsd-hackers@freebsd.org" Message-ID: <1452db0c-1210-3230-c044-bc682e7e1745@metricspace.net> Subject: Re: FreeBSD and Coreboot References: <4a6b0f1e-64ec-6b83-b43b-f9791ec8428f@metricspace.net> In-Reply-To: --V8N54xAkborfrU9cp4VGzVm42fljY09MH Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 5/27/19 5:53 PM, Edward Napierala wrote: > On Mon, 27 May 2019 at 16:14, Eric McCorkle wrot= e: >=20 > [..] >=20 >> My plan is roughly this: >> >> * Refurbish the GRUB port, get it working again in QEMU (possibly on o= ne >> of my machines), also possibly push a patch to GRUB to use the keybufs= >> 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, sinc= e >> 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 payloa= d. >=20 > Out of curiosity - why the kernel and not loader(8)? >=20 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 undertaking= =2E --V8N54xAkborfrU9cp4VGzVm42fljY09MH-- --9ECAOtpg9rw2jdh2m5vI63HP0iDzOZsig Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQb+/zC31sP34DGxX/pjibYt+BVsgUCXOxpxQAKCRDpjibYt+BV smxvAQC8YAcRUOedMVulJbiCdYNJzUWUBzCU6CBBxPYrn1R7VAEAgGBE64FIU0Wk WDMkEUWLlnfktDk+bFSVQWk1KtFVqQQ= =jtPc -----END PGP SIGNATURE----- --9ECAOtpg9rw2jdh2m5vI63HP0iDzOZsig--