# RAMDISK: Root/swap on ramdisk
# This kernel is used to:
# format the disk (not yet implemented)
# partition the disk (disklabel)
# install the miniroot in the swap partition
include "arch/sun3/conf/std.sun3"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB)
# Machines to be supported by this kernel
# options FPU_EMULATE # No FP code here!
options HAVECACHE # Sun3/260 VAC
# Needs to be set per system. i.e change these as you see fit
maxusers 2
# Standard system options
# ... debugging options
#options DDB
# Compatibility options (none)
# Filesystem options
# Need FFS for the ramdisk image.
file-system FFS # Berkeley Fast Filesystem
# May need these to get miniroot image.
file-system NFS # Sun NFS client support
file-system CD9660 # ISO 9660 + Rock Ridge file system
options FFS_NO_SNAPSHOT # No FFS snapshot support
#file-system PTYFS # /dev/pts/N support
# Networking options
options INET # IP protocol stack support
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
# 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 MEMORY_DISK_ROOT_SIZE=1320 # size of memory disk, in blocks
options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
options USERCONF # userconf(4) support
options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
config netbsd root on ? type ffs
# On-board I/O space (required)
include "arch/sun3/conf/obio.sun3"
# On-board memory (optional)
# See frame-buffers
# obmem0 at mainbus?
# VME bus support (optional)
# One unit for each address space
vme0 at mainbus? # A16/D16
vme1 at mainbus? # A16/D32
vme2 at mainbus? # A24/D16
vme3 at mainbus? # A24/D32
vme4 at mainbus? # A32/D16
vme5 at mainbus? # A32/D32
#
# Serial ports
#
zstty0 at zsc1 channel 0 # ttya
zstty1 at zsc1 channel 1 # ttyb
kbd0 at zsc0 channel 0 # keyboard
#ms0 at zsc0 channel 1 # mouse
#
# Network devices
#
# Intel Ethernet (onboard, or VME)
ie0 at obio0 addr 0x0C0000 ipl 3
ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75