Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2019 16:41:15 +0100
From:      Edward Napierala <trasz@freebsd.org>
To:        Eric McCorkle <eric@metricspace.net>
Cc:        Warner Losh <imp@bsdimp.com>, Nathan Whitehorn <nwhitehorn@freebsd.org>,  FreeBSD Hackers <freebsd-hackers@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: FreeBSD and Coreboot
Message-ID:  <CAFLM3-rLTj-fc9Nhz6RqbN=aGPFudgJNdfczKJ_=wsBbaJuiKw@mail.gmail.com>
In-Reply-To: <f65401e3-40ea-fd43-07f2-13b9663c8cd9@metricspace.net>
References:  <4a6b0f1e-64ec-6b83-b43b-f9791ec8428f@metricspace.net> <CAFLM3-rMJmPs4OvRczDtiENtYaSpODRGQaFuONc%2BouxchJQDxw@mail.gmail.com> <1452db0c-1210-3230-c044-bc682e7e1745@metricspace.net> <3aa00c6b-2502-ffad-c915-a833292882bd@freebsd.org> <CANCZdfovLtbwN-mLHSZKNsFwcjX0NzK82TFZunuGJDyHVj709w@mail.gmail.com> <79c249c0-e6b0-a584-ad23-c9a4f57ff3c1@freebsd.org> <CANCZdfoTgyxOoKWqYBUh3ck_Jww3xf6SbKu6vC5a9erH4qOw0Q@mail.gmail.com> <f65401e3-40ea-fd43-07f2-13b9663c8cd9@metricspace.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 May 2019 at 12:17, Eric McCorkle <eric@metricspace.net> wrote:

[..]

> > Now that the loader supports a ram disk, we are almost to something
> > useful... but yea, almost and crummy often go hand in hand.
>
> This is looking out ahead of my current roadmap, but if you were to do a
> kernel as the coreboot payload, there'd need to be some kind of trick to
> support ZFS-only systems.
>
> ZFS requires modules, which are typically pre-loaded (and linked) by
> loader (or GRUB).  Coreboot has no disk or filesystem or even device
> access facilities, however.  It's just "pull an image out of flash, do
> the bare essential hardware initialization to get to a C runtime
> environment, then jump into the image".

A ramdisk could help with that - boot with UFS-formatted ramdisk image
as rootfs, have init(8) execute a script that loads zfs.ko and whatever
other kernel module that's neccessary, and reroot into ZFS.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFLM3-rLTj-fc9Nhz6RqbN=aGPFudgJNdfczKJ_=wsBbaJuiKw>