DISKLESS3X revision 1.62
11.62Snia# $NetBSD: DISKLESS3X,v 1.62 2021/01/21 06:51:56 nia Exp $ 21.1Sgwr 31.15Sgwr# DISKLESS - Root and swap on NFS 41.15Sgwr# Desktop machines only (3/80) 51.15Sgwr# 61.1Sgwr# Includes devices needed to run as an X-terminal 71.1Sgwr 81.13Sgwrinclude "arch/sun3/conf/std.sun3x" 91.25Satatat 101.25Satatat#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 111.1Sgwr 121.61Stsutsuimakeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB) 131.45Stsutsui 141.13Sgwr# Machines to be supported by this kernel 151.13Sgwr# options FPU_EMULATE # XXX - Ever needed? 161.12Sgwr# options HAVE_IOCACHE # XXX - Not yet supported. 171.1Sgwr 181.1Sgwr# Needs to be set per system. i.e change these as you see fit 191.9Sgwrmaxusers 2 201.1Sgwr 211.1Sgwr# Standard system options 221.15Sgwr#options KTRACE # system call tracing 231.15Sgwr#options SYSVMSG # System V message queues 241.15Sgwr#options SYSVSEM # System V semaphores 251.15Sgwr#options SYSVSHM # System V shared memory 261.8Sgwr#options INSECURE # disable kernel security level 271.27Slukemoptions USERCONF # userconf(4) support 281.43Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 291.30Satatat#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 301.1Sgwr 311.8Sgwr# Which kernel debugger? Uncomment either this: 321.15Sgwr#options DDB 331.3Sgwr# ... or these for KGDB (gdb remote target) 341.22Slukem#makeoptions DEBUG="-g" # debugging symbols for gdb 351.1Sgwr#options KGDB 361.21Slukem#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 371.8Sgwr 381.8Sgwr# Other debugging options 391.10Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 401.8Sgwr#options DEBUG # kernel debugging code 411.8Sgwr#options DIAGNOSTIC # extra kernel sanity checking 421.8Sgwr#options PMAP_DEBUG 431.8Sgwr 441.19Swiz# Compatibility options 451.59Smrginclude "conf/compat_netbsd10.config" 461.59Smrg 471.59Smrg#options COMPAT_LINUX # can run Linux/m68k executables 481.62Snia#options COMPAT_OSSAUDIO # can run Linux/m68k executables 491.15Sgwr#options COMPAT_SUNOS # can run SunOS 4.1.1 executables 501.1Sgwr 511.1Sgwr# Filesystem options 521.9Sgwr#file-system FFS # Berkeley Fast Filesystem 531.8Sgwrfile-system NFS # Sun NFS client support 541.9Sgwr#file-system CD9660 # ISO 9660 + Rock Ridge file system 551.9Sgwr#file-system MSDOSFS # MS-DOS FAT file system 561.15Sgwr#file-system FDESC # /dev/fd/* 571.15Sgwr#file-system KERNFS # /kern 581.15Sgwr#file-system NULLFS # loopback file system 591.15Sgwr#file-system PROCFS # /proc 601.9Sgwr#file-system UNION # union file system 611.9Sgwr#file-system MFS # memory-based filesystem 621.36Schristos#file-system PTYFS # /dev/pts/N support 631.2Sthorpej 641.9Sgwr#options NFSSERVER # nfs server support 651.49Sbouyer#options QUOTA # legacy UFS quotas 661.49Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 671.50Swiz#options FFS_EI # FFS Endian Independent support 681.1Sgwr 691.1Sgwr# Networking options 701.37Sisakioptions INET # IP protocol stack support 711.6Slukem#options GATEWAY # IP packet forwarding 721.20Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 731.8Sgwr 741.8Sgwr# Work-around for root on slow servers (insurance...) 751.1Sgwroptions NFS_BOOT_RWSIZE=1024 761.12Sgwroptions NFS_BOOT_BOOTPARAM 771.1Sgwr 781.2Sthorpejconfig netbsd root on ? type nfs 791.1Sgwr 801.12Sgwr# On-board I/O space (required) 811.12Sgwrinclude "arch/sun3/conf/obio.sun3x" 821.12Sgwr 831.12Sgwr# On-board memory (optional) 841.12Sgwr# See frame-buffers 851.12Sgwrobmem0 at mainbus? 861.12Sgwr 871.15Sgwr# VME bus support (optional) 881.15Sgwr# (none on desktop machines) 891.15Sgwr 901.1Sgwr# 911.1Sgwr# Serial ports 921.1Sgwr# 931.6Slukemzstty0 at zsc1 channel 0 # ttya 941.6Slukemzstty1 at zsc1 channel 1 # ttyb 951.1Sgwr 961.6Slukemkbd0 at zsc0 channel 0 # keyboard 971.6Slukemms0 at zsc0 channel 1 # mouse 981.1Sgwr 991.1Sgwr# 1001.1Sgwr# Network devices 1011.1Sgwr# 1021.1Sgwr 1031.12Sgwr# Intel Ethernet (onboard, or VME) 1041.15Sgwr#ie0 at obio0 addr 0x65000000 ipl 3 1051.22Slukem#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1061.8Sgwr 1071.1Sgwr# Lance Ethernet (only onboard) 1081.1Sgwrle0 at obio0 addr 0x65002000 ipl 3 1091.1Sgwr 1101.1Sgwr# 1111.1Sgwr# Frame buffer devices 1121.1Sgwr# 1131.1Sgwr 1141.13Sgwr# P4 Monochrome frame buffer. 1151.22Slukembwtwo0 at obmem0 addr 0x50300000 1161.13Sgwr 1171.13Sgwr# P4 8-bit color frame buffer 1181.13Sgwrcgfour0 at obmem0 addr 0x50300000 1191.13Sgwr 1201.13Sgwr# P4 accelerated 8-bit color frame buffer 1211.15Sgwr# cgsix0 at obmem0 addr 0x50000000 1221.13Sgwr 1231.13Sgwr# P4 24-bit color frame buffer 1241.13Sgwr# cgeight0 at obmem0 addr 0x50300000 1251.13Sgwr 1261.13Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 1271.13Sgwr# This driver is going to need work in its mmap function. 1281.13Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 1291.13Sgwr 1301.13Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 1311.13Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 1321.1Sgwr 1331.1Sgwr# Misc. 1341.53Schristospseudo-device loop # network loopback 1351.39Srpaulopseudo-device bpfilter # packet filter 1361.40Scubepseudo-device sl # CSLIP 1371.40Scubepseudo-device ppp # PPP 1381.40Scubepseudo-device tun # network tunneling over tty 1391.40Scube#pseudo-device gre # generic L3 over IP tunnel 1401.60Smaxv#pseudo-device npf # NPF packet filter 1411.1Sgwr 1421.17Sjdolecekpseudo-device pty # pseudo-terminals 1431.26Slukempseudo-device clockctl # user control of clock subsystem 144