Change the relocation address of `boot' once again to steer clear of

memory used by the PROM on sun4 and early sun4c machines.
This commit is contained in:
pk 2000-10-31 23:21:47 +00:00
parent 50e0133709
commit 628fe3035f

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.14 2000/10/20 11:21:08 pk Exp $
# $NetBSD: Makefile.buildboot,v 1.15 2000/10/31 23:21:47 pk Exp $
S= ${.CURDIR}/../../../..
@ -10,8 +10,17 @@ SRCS= ${COMMONSOURCE} ${PROGSOURCE}
MKMAN= no
BINMODE= 444
# Note: relocating `boot' at 0x3C8000 seems to work on most machines
RELOC_DEFAULT?= 3C8000
#
# The relocation address for `boot' must leave enough free memory below
# it to load a kernel at address 0x4000. On the other hand, on some
# machines, the PROM uses memory in the upper portion of the first 4MB
# segment, depending on the actual memory bank configuration probably.
# Our boot program must stear clear of that as well.
#
# Relocating `boot' at 0x388000 seems to provide a working compromise
# on the machines tested so far.
#
RELOC_DEFAULT?= 388000
RELOCS= $(RELOC_DEFAULT)
#RELOCS+= 200000 400000 700000 # additional link addresses