> Date: Mon, 14 Dec 2020 11:50:42 +0100
> From: "Peter J. Philipp" <p...@centroid.eu>
> 
> On Mon, Dec 14, 2020 at 11:31:46AM +0100, Mark Kettenis wrote:
> > > It could make dual-booting easier on a G5 while adding a (half) stage to
> > > macppc64 (and perhaps eventually macppc arch?).
> > 
> > Doesn't really make sense.  The BOOT kernel is there because POWER9
> > "firmware" doesn't provide a device access interface.  That limitation
> > doesn't exist with Open Firmware.  Having a BOOT kernel adds a
> > significant delay to the boot process, so if we can avoid it, we
> > probably should.
> 
> OK, that explanation makes sense to me.  Good I have something to work with
> on the ofwboot64 stuff I did in 2018, I just have to bring it up to date and
> then add FDT blob compiler, shouldn't be harder than constructing a DNS 
> packet :-).

There is some code in sys/arch/arm64/stand/efiboot/fdt.c that can add
nodes and properties to a tree, so you don't need to start from
scratch here.

Reply via email to