add options for sysinst (memory disk size etc.)

This commit is contained in:
shin 2000-01-09 07:57:43 +00:00
parent 355d8b383f
commit 2c751cff39
7 changed files with 26 additions and 17 deletions

View File

@ -2,7 +2,7 @@
# Distribution kernel (any model) kernel config file
#
# $NetBSD: GENERIC,v 1.21 2000/01/09 07:55:57 shin Exp $
# $NetBSD: GENERIC,v 1.22 2000/01/09 07:57:43 shin Exp $
#
include "arch/hpcmips/conf/std.hpcmips"
@ -13,7 +13,8 @@ options MIPS3 # R4000/R4400/R4600 CPUs
# Support for specific models of H/PC MIPS
options VR41X1 # NEC VR41x1 series
options MIPS3_4100 # VR4100 core
options SOFTFLOAT # No FPU
options NOFPU # No FPU
options SOFTFLOAT # emulate FPU insn
options MIPS3_L2CACHE_ABSENT
# Standard system options

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.hpcmips,v 1.4 2000/01/01 04:46:22 shin Exp $
# $NetBSD: Makefile.hpcmips,v 1.5 2000/01/09 07:57:43 shin Exp $
# Makefile for NetBSD
#
@ -103,7 +103,7 @@ SYSTEM_OBJ+= locore_mips1.o
.if !empty(IDENT:M-DMIPS3)
SYSTEM_OBJ+= locore_mips3.o
.endif
SYSTEM_OBJ+= fp.o param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
SYSTEM_OBJ+= param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o ; \
@ -171,12 +171,12 @@ links:
sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
sh makelinks && rm -f dontlink
SRCS= ${MIPS}/mips/locore.S ${MIPS}/mips/fp.S \
SRCS= ${MIPS}/mips/locore.S \
${HPCMIPS}/hpcmips/locore_machdep.S \
param.c ioconf.c ${CFILES} ${SFILES}
depend: .depend
.depend: ${SRCS} assym.h param.c
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${MIPS}/mips/locore.S ${MIPS}/mips/fp.S
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${MIPS}/mips/locore.S
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${HPCMIPS}/hpcmips/locore_machdep.S
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
.if (${SFILES} != "")
@ -212,9 +212,6 @@ locore_mips1.o: ${MIPS}/mips/locore_mips1.S assym.h
locore_mips3.o: ${MIPS}/mips/locore_mips3.S assym.h
${NORMAL_S}
fp.o: ${MIPS}/mips/fp.S assym.h
${NORMAL_S}
locore_machdep.o: ${HPCMIPS}/hpcmips/locore_machdep.S assym.h
${NORMAL_S}

View File

@ -1,12 +1,13 @@
#
# $NetBSD: NULLCONF,v 1.3 1999/11/21 12:46:51 shin Exp $
# $NetBSD: NULLCONF,v 1.4 2000/01/09 07:57:43 shin Exp $
#
include "arch/hpcmips/conf/std.hpcmips"
maxusers 8
options MIPS3 # R4000/R4400/R4600 CPUs
options VR41X1 # NEC VR41x1 series
options MIPS3_4100 # VR4100 core
options SOFTFLOAT # No FPU
options NOFPU # No FPU
options SOFTFLOAT # emulate FPU insn
options MIPS3_L2CACHE_ABSENT
options DDB # in-kernel debugger
options "NKMEMCLUSTERS=1024" # 4K pages in kernel malloc pool

View File

@ -1,9 +1,15 @@
#
# kernel config file for memory(RAM) disk
#
# $NetBSD: RAMDISK,v 1.9 1999/11/23 05:08:25 shin Exp $
# $NetBSD: RAMDISK,v 1.10 2000/01/09 07:57:43 shin Exp $
#
include "arch/hpcmips/conf/GENERIC"
pseudo-device md 1 # memory disk
# Enable the hooks used for initializing the root memory-disk.
options MEMORY_DISK_HOOKS
options MEMORY_DISK_IS_ROOT # force root on memory disk
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
options MINIROOTSIZE=12288 # size of memory disk, in blocks

View File

@ -2,7 +2,7 @@
# Distribution kernel (TX3912 based model) kernel config file
#
# $NetBSD: TX3912,v 1.5 2000/01/08 21:07:04 uch Exp $
# $NetBSD: TX3912,v 1.6 2000/01/09 07:57:43 shin Exp $
#
include "arch/hpcmips/conf/std.hpcmips"
@ -10,7 +10,8 @@ maxusers 8
options MIPS1 # R2000/R3000 CPUs
options ENABLE_MIPS_TX3900 # R3900 CPU core
options SOFTFLOAT # No FPU
options NOFPU # No FPU
options SOFTFLOAT # emulate FPU insn
#options R3900_CACHE_DISABLE # Disable I/D-cache
options TX39XX # Toshiba TX39 series

View File

@ -2,7 +2,7 @@
# Distribution kernel (TX3922 based model) kernel config file
#
# $NetBSD: TX3922,v 1.3 1999/12/12 17:08:37 uch Exp $
# $NetBSD: TX3922,v 1.4 2000/01/09 07:57:43 shin Exp $
#
include "arch/hpcmips/conf/std.hpcmips"
@ -10,7 +10,8 @@ maxusers 8
options MIPS1 # R2000/R3000 CPUs
options ENABLE_MIPS_TX3900 # R3900 CPU core
options SOFTFLOAT # No FPU
options NOFPU # No FPU
options SOFTFLOAT # emulate FPU insn
#options R3900_CACHE_DISABLE # Disable I/D-cache
options TX39XX # Toshiba TX39 series

View File

@ -1,4 +1,4 @@
# $NetBSD: files.hpcmips,v 1.14 2000/01/07 15:19:14 uch Exp $
# $NetBSD: files.hpcmips,v 1.15 2000/01/09 07:57:43 shin Exp $
# maxpartitions must be first item in files.${ARCH}.
maxpartitions 8
@ -41,6 +41,8 @@ defopt TX39XX
file arch/hpcmips/vr/vr.c vr41x1 # NEC VR4000 series
file arch/hpcmips/tx/tx39.c tx39xx # TOSHIBA TX3900 series
file arch/mips/mips/fp.S softfloat
file arch/hpcmips/hpcmips/autoconf.c
file arch/hpcmips/hpcmips/conf.c
file arch/hpcmips/hpcmips/machdep.c