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>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000111b5805eea31c1f Content-Type: text/plain; charset="UTF-8" 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 --000000000000111b5805eea31c1f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Sun, Nov 20, 2022 at 9:47 PM Alexe= y Dokuchaev <<a href=3D"mailto:danfe@freebsd.org">danfe@freebsd.org</a>&= gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0= px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tu= e, Nov 15, 2022 at 10:04:12AM -0700, Warner Losh wrote:<br> > ...<br> > So here's the deal. If someone has the ability to test and shows t= hat it's<br> > working today and promises to test my changes and help me debug it, th= en<br> > I'll keep it and add the new code that's needed to continue to= support this<br> > feature.<br> <br> I'd happily test anything on my venerable Mac mini G4 (which I currentl= y<br> use to ensure ports' endian-cleanness and 32-bit compliance).<br></bloc= kquote><div><br></div><div>OK. There's a patch-train available at <a hr= ef=3D"https://reviews.freebsd.org/D37560">https://reviews.freebsd.org/D3756= 0</a>, but I don't know if you'll be able to easily apply it (there= 's 22 reviews).</div><div><br></div><div>Alternatively, you can try the= boot-devs branch at <a href=3D"https://github.com/bsdimp/freebsd.git">http= s://github.com/bsdimp/freebsd.git</a> which is the same thing.</div><div>= =C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0= .8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> > Alternatively, if someone has the recipe for FreeBSD/powerpc on QEMU t= hat<br> > includes OpenFirmware for disks and networking, I'll do the testin= g and<br> > legwork to get my netboot setup locally.<br> <br> I'll play with that as well.=C2=A0 I recall last time I needed it, find= ing that<br> our Wiki doesn't have much working examples of different systems' e= muation<br> was frustrating, so at the very least I could probably expand it.<br></bloc= kquote><div><br></div><div>Yea. I've managed to get mac99 emulation on = qemu-system-powerpc working well enough to do the test boot, at least for d= isks. Still haven't found the secret decoder ring for netbooting with o= penfirmware, though. There's a network stack in the current Open BIOS u= sed by qemu, though, so there may be hope.</div><div><br></div><div>Warner= =C2=A0</div></div></div> --000000000000111b5805eea31c1f--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfokerLLA80TUJxPOiddYF7hNmzr=R=km__zrT6ZJC4k%2BQ>