Subject: [wrstuden@netbsd.org: CVS commit: src/sys/arch/macppc/stand]
To: None <port-macppc@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: port-macppc
Date: 03/12/2004 11:23:37
--DocE+STaALJfprDB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I think this should change the booting large kernels issue. I've used an=20
ofwboot made with these changes to netboot my Beige G3, and it's been=20
fine. While my kernel is less than 5 MB big, the relocation didn't break=20
anything.

Someone please test bootxx too. Making a boot floppy should do that...

Take care,

Bill

----- Forwarded message from Bill Studenmund <wrstuden@netbsd.org> -----

From: Bill Studenmund <wrstuden@netbsd.org>
Subject: CVS commit: src/sys/arch/macppc/stand
To: source-changes@NetBSD.org
Reply-To: wrstuden@netbsd.org
Date: Fri, 12 Mar 2004 19:13:38 +0000 (UTC)


Module Name:	src
Committed By:	wrstuden
Date:		Fri Mar 12 19:13:38 UTC 2004

Modified Files:
	src/sys/arch/macppc/stand/bootxx: bootxx.c
	src/sys/arch/macppc/stand/ofwboot: Makefile
Removed Files:
	src/sys/arch/macppc/stand/ofwboot: boot1.c

Log Message:
Fix ofwboot to deal with larger kernels. Rather than loading at
0x6?0000, load at 0xe00000. This gives us room for around 13 MB of
kernel, as opposed to the current 5 MB (0x600000 - 0x100000).

No changes to load-base or real-base are needed due to this change,
though machines that needed specific OFW settings before (OF 1.x
and 2.x) this change still need those settings.

Partially revert revision 1.25 -> 1.26 of ofwboot/Makefile & friends.
We do not need to distinguish between where ofwboot and ofwboot.{elf,xcf}
load; they are both fine loading somewhere other than load-base.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/arch/macppc/stand/bootxx/bootxx.c
cvs rdiff -r1.41 -r1.42 src/sys/arch/macppc/stand/ofwboot/Makefile
cvs rdiff -r1.1 -r0 src/sys/arch/macppc/stand/ofwboot/boot1.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

----- End forwarded message -----

--DocE+STaALJfprDB
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD4DBQFAUg45Wz+3JHUci9cRAoinAJ94aH/a1F/QypBAGaMujX2rXJvjVgCY6boD
PiRpWmrNt9QbTgwHhFLuJg==
=2YR7
-----END PGP SIGNATURE-----

--DocE+STaALJfprDB--