Module Name: src
Committed By: scw
Date: Sat Apr 11 10:56:13 UTC 2009
Modified Files:
src/sys/arch/mvme68k/stand: Makefile.booters
src/sys/arch/mvme68k/stand/bootst: dev_tape.c version
Log Message:
Fix for install/40961: The RAMDISK kernel has grown significantly
since bootst was written. Grab 3MB of the kernel image from tape
in hackprom_diskrd() instead of 2MB.
Bump bootst version on account of the above fix.
While here, use -Os instead of -O2 to compile mvme68k stand code.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/mvme68k/stand/Makefile.booters
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/mvme68k/stand/bootst/dev_tape.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mvme68k/stand/bootst/version
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mvme68k/stand/Makefile.booters
diff -u src/sys/arch/mvme68k/stand/Makefile.booters:1.17 src/sys/arch/mvme68k/stand/Makefile.booters:1.18
--- src/sys/arch/mvme68k/stand/Makefile.booters:1.17 Fri Apr 3 10:38:13 2009
+++ src/sys/arch/mvme68k/stand/Makefile.booters Sat Apr 11 10:56:12 2009
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.booters,v 1.17 2009/04/03 10:38:13 tsutsui Exp $
+# $NetBSD: Makefile.booters,v 1.18 2009/04/11 10:56:12 scw Exp $
S?= ${.CURDIR}/../../../..
MDEC_DIR?= /usr/mdec
RELOC?= 0x3F0000
-COPTS?= -O2 -Wall -Wno-main -Wmissing-prototypes -Wstrict-prototypes \
- -ffreestanding
+COPTS?= -Os -Wall -Wno-main -Wmissing-prototypes -Wstrict-prototypes \
+ -ffreestanding -fomit-frame-pointer
DEFS?=
STRIPFLAG?=
Index: src/sys/arch/mvme68k/stand/bootst/dev_tape.c
diff -u src/sys/arch/mvme68k/stand/bootst/dev_tape.c:1.10 src/sys/arch/mvme68k/stand/bootst/dev_tape.c:1.11
--- src/sys/arch/mvme68k/stand/bootst/dev_tape.c:1.10 Mon Apr 28 20:23:29 2008
+++ src/sys/arch/mvme68k/stand/bootst/dev_tape.c Sat Apr 11 10:56:13 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: dev_tape.c,v 1.10 2008/04/28 20:23:29 martin Exp $ */
+/* $NetBSD: dev_tape.c,v 1.11 2009/04/11 10:56:13 scw Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -169,7 +169,7 @@
static int blkoffset = 0;
#define hackload_addr ((char *)0x080000) /* Load tape segment here */
-#define hackload_blocks 0x2000 /* 2Mb worth */
+#define hackload_blocks 0x3000 /* 3Mb worth */
if ((ti->flag & IGNORE_FILENUM) == 0) {
/*
Index: src/sys/arch/mvme68k/stand/bootst/version
diff -u src/sys/arch/mvme68k/stand/bootst/version:1.4 src/sys/arch/mvme68k/stand/bootst/version:1.5
--- src/sys/arch/mvme68k/stand/bootst/version:1.4 Fri Nov 9 19:53:14 2001
+++ src/sys/arch/mvme68k/stand/bootst/version Sat Apr 11 10:56:13 2009
@@ -1,7 +1,8 @@
-$NetBSD: version,v 1.4 2001/11/09 19:53:14 scw Exp $
+$NetBSD: version,v 1.5 2009/04/11 10:56:13 scw Exp $
1.1: Initial bootst (from Dale Rahn)
1.2: Update based on sun3 tapeboot (by Chuck Cranor)
1.3: Support verbose/quiet boot.
1.4: loadfile() update: ELF symbols no longer need backward seeks.
1.5: loadfile() update to avoid backwards seeks for ELF Program Headers.
+1.6: hackprom_diskrd() needs loads up to 3MB from tape for current kernels.