Subject: Re: PowerMac 7300 won't boot 2.0 iso
To: Tim Kelly <hockey@dialectronics.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: port-macppc
Date: 12/14/2004 17:46:27
--TYecfFk8j8mZq+dy
Content-Type: multipart/mixed; boundary="b5gNqxB1S1yM7hjW"
Content-Disposition: inline


--b5gNqxB1S1yM7hjW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Dec 12, 2004 at 11:36:16PM -0500, Tim Kelly wrote:
> On Sun, 12 Dec 2004 20:45:22 -0700
> Chaz McGarvey <chaz@brokenzipper.com> wrote:
>=20
> So r0, r3, r4, and r5 are in the 0xe0xxxx area
>=20
> > Special Regs:
> >      %SRR0: 006000D8  =20
> >      %LR: 006000D8=20
>=20
> but the execution instructions were last at 0x600xxx. This looks a lot
> like a mismatch between bootxx and ofwboot. bootxx 1.12 would have
> loaded ofwboot to 0x600000 but ofwboot 1.10 (?) is linked to 0xe00000,

bootxx 1.13 loads ofwboot to 0xe00000.

The problem is that there is dark magic in how the bootable CD rom get=20
made, and we didn't update it when we changed ofwboot.

Luke and I just spent a fair bit of time talking about this, and we really=
=20
don't understand how the current code can hope to work. Thus I find it=20
unlikely that we will be able to cook up something using the new bootxx=20
any time soon.

As an interum step, could someone who can make NetBSD iso images using the=
=20
distrib/cdrom stuff try the attached patch? It changes what I think is the=
=20
load address for ofwboot.

Take care,

Bill

--b5gNqxB1S1yM7hjW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="macppc.diffie"

Index: bootxx.raw.uue
===================================================================
RCS file: /cvsroot/src/distrib/cdrom/macppc_installboot/bootxx.raw.uue,v
retrieving revision 1.1
diff -u -r1.1 bootxx.raw.uue
--- bootxx.raw.uue	21 Oct 2002 05:08:24 -0000	1.1
+++ bootxx.raw.uue	15 Dec 2004 01:27:55 -0000
@@ -21,6 +21,6 @@
 M``````````````````````````````!"J`````0````!````````````````
 M`````````````$*P`````0````$`````````````0K@````#`````0``````
 M`````````````````$+``````P````$`````````````````````3H``(0``
-B``````````````!@`````0``````'@``````````````````
+B``````````````#@`````0``````'@``````````````````
 `
 end

--b5gNqxB1S1yM7hjW--

--TYecfFk8j8mZq+dy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFBv5dzWz+3JHUci9cRArQxAJ0a/mQqP9Pm56T8l8247DtktwlBFQCeLWlA
8RHvDisNkjXTBK9Prt7sYLw=
=F4Ug
-----END PGP SIGNATURE-----

--TYecfFk8j8mZq+dy--