Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2022 14:59:50 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: Boot Loader: OFW network booting support
Message-ID:  <CANCZdfokerLLA80TUJxPOiddYF7hNmzr=R=km__zrT6ZJC4k%2BQ@mail.gmail.com>
In-Reply-To: <Y3sC5enEyxW50QMA@FreeBSD.org>
References:  <CANCZdfr3b2_1WnMtxrK%2B6Sm-Z3GE2ifGK5sGQWAiBhhPgkNAvA@mail.gmail.com> <Y3Lro/8ae6FfE2WH@FreeBSD.org> <CANCZdfrL4SKC0ADWCFpzuVc2EpRxnxz0c_Ykb2wGLXNKEtM_Rw@mail.gmail.com> <Y3sC5enEyxW50QMA@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, Nov 20, 2022 at 9:47 PM Alexey Dokuchaev <danfe@freebsd.org> wrote:

> On Tue, Nov 15, 2022 at 10:04:12AM -0700, Warner Losh wrote:
> > ...
> > So here's the deal. If someone has the ability to test and shows that
> it's
> > working today and promises to test my changes and help me debug it, then
> > I'll keep it and add the new code that's needed to continue to support
> this
> > feature.
>
> I'd happily test anything on my venerable Mac mini G4 (which I currently
> use to ensure ports' endian-cleanness and 32-bit compliance).
>

OK. There's a patch-train available at https://reviews.freebsd.org/D37560,
but I don't know if you'll be able to easily apply it (there's 22 reviews).

Alternatively, you can try the boot-devs branch at
https://github.com/bsdimp/freebsd.git which is the same thing.


> > Alternatively, if someone has the recipe for FreeBSD/powerpc on QEMU that
> > includes OpenFirmware for disks and networking, I'll do the testing and
> > legwork to get my netboot setup locally.
>
> I'll play with that as well.  I recall last time I needed it, finding that
> our Wiki doesn't have much working examples of different systems' emuation
> was frustrating, so at the very least I could probably expand it.
>

Yea. I've managed to get mac99 emulation on qemu-system-powerpc working
well enough to do the test boot, at least for disks. Still haven't found
the secret decoder ring for netbooting with openfirmware, though. There's a
network stack in the current Open BIOS used by qemu, though, so there may
be hope.

Warner

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 20, 2022 at 9:47 PM Alexey Dokuchaev &lt;<a href="mailto:danfe@freebsd.org">danfe@freebsd.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Nov 15, 2022 at 10:04:12AM -0700, Warner Losh wrote:<br>
&gt; ...<br>
&gt; So here&#39;s the deal. If someone has the ability to test and shows that it&#39;s<br>
&gt; working today and promises to test my changes and help me debug it, then<br>
&gt; I&#39;ll keep it and add the new code that&#39;s needed to continue to support this<br>
&gt; feature.<br>
<br>
I&#39;d happily test anything on my venerable Mac mini G4 (which I currently<br>
use to ensure ports&#39; endian-cleanness and 32-bit compliance).<br></blockquote><div><br></div><div>OK. There&#39;s a patch-train available at <a href="https://reviews.freebsd.org/D37560">https://reviews.freebsd.org/D37560</a>, but I don&#39;t know if you&#39;ll be able to easily apply it (there&#39;s 22 reviews).</div><div><br></div><div>Alternatively, you can try the boot-devs branch at <a href="https://github.com/bsdimp/freebsd.git">https://github.com/bsdimp/freebsd.git</a>; which is the same thing.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
&gt; Alternatively, if someone has the recipe for FreeBSD/powerpc on QEMU that<br>
&gt; includes OpenFirmware for disks and networking, I&#39;ll do the testing and<br>
&gt; legwork to get my netboot setup locally.<br>
<br>
I&#39;ll play with that as well.  I recall last time I needed it, finding that<br>
our Wiki doesn&#39;t have much working examples of different systems&#39; emuation<br>
was frustrating, so at the very least I could probably expand it.<br></blockquote><div><br></div><div>Yea. I&#39;ve managed to get mac99 emulation on qemu-system-powerpc working well enough to do the test boot, at least for disks. Still haven&#39;t found the secret decoder ring for netbooting with openfirmware, though. There&#39;s a network stack in the current Open BIOS used by qemu, though, so there may be hope.</div><div><br></div><div>Warner </div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfokerLLA80TUJxPOiddYF7hNmzr=R=km__zrT6ZJC4k%2BQ>