1 1.51 apb # $NetBSD: DISKLESS3X,v 1.51 2012/10/17 14:48:17 apb Exp $ 2 1.1 gwr 3 1.15 gwr # DISKLESS - Root and swap on NFS 4 1.15 gwr # Desktop machines only (3/80) 5 1.15 gwr # 6 1.1 gwr # Includes devices needed to run as an X-terminal 7 1.1 gwr 8 1.13 gwr include "arch/sun3/conf/std.sun3x" 9 1.25 atatat 10 1.25 atatat #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 11 1.1 gwr 12 1.45 tsutsui makeoptions COPTS="-Os" # bootloader has size limit (~2MB) 13 1.45 tsutsui 14 1.13 gwr # Machines to be supported by this kernel 15 1.13 gwr # options FPU_EMULATE # XXX - Ever needed? 16 1.12 gwr # options HAVE_IOCACHE # XXX - Not yet supported. 17 1.1 gwr 18 1.1 gwr # Needs to be set per system. i.e change these as you see fit 19 1.9 gwr maxusers 2 20 1.1 gwr 21 1.1 gwr # Standard system options 22 1.15 gwr #options KTRACE # system call tracing 23 1.15 gwr #options SYSVMSG # System V message queues 24 1.15 gwr #options SYSVSEM # System V semaphores 25 1.15 gwr #options SYSVSHM # System V shared memory 26 1.8 gwr #options INSECURE # disable kernel security level 27 1.27 lukem options USERCONF # userconf(4) support 28 1.43 tsutsui #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 29 1.30 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 30 1.1 gwr 31 1.8 gwr # Which kernel debugger? Uncomment either this: 32 1.15 gwr #options DDB 33 1.3 gwr # ... or these for KGDB (gdb remote target) 34 1.22 lukem #makeoptions DEBUG="-g" # debugging symbols for gdb 35 1.1 gwr #options KGDB 36 1.21 lukem #options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 37 1.8 gwr 38 1.8 gwr # Other debugging options 39 1.10 lukem #options DDB_HISTORY_SIZE=100 # enable history editing in DDB 40 1.8 gwr #options DEBUG # kernel debugging code 41 1.8 gwr #options DIAGNOSTIC # extra kernel sanity checking 42 1.8 gwr #options KMEMSTATS # kernel memory statistics (vmstat -m) 43 1.8 gwr #options PMAP_DEBUG 44 1.8 gwr 45 1.19 wiz # Compatibility options 46 1.15 gwr #options COMPAT_SUNOS # can run SunOS 4.1.1 executables 47 1.15 gwr #options COMPAT_43 # and 4.3BSD and ... 48 1.15 gwr #options COMPAT_10 # NetBSD 1.0 49 1.15 gwr #options COMPAT_11 # NetBSD 1.1 50 1.15 gwr #options COMPAT_12 # NetBSD 1.2 51 1.11 kleink options COMPAT_13 # NetBSD 1.3 52 1.16 augustss options COMPAT_14 # NetBSD 1.4 53 1.42 manu options COMPAT_15 # NetBSD 1.5 54 1.29 cl options COMPAT_16 # NetBSD 1.6 55 1.32 tsutsui options COMPAT_20 # NetBSD 2.0 56 1.43 tsutsui options COMPAT_30 # NetBSD 3.0 57 1.47 tsutsui options COMPAT_40 # NetBSD 4.0 58 1.47 tsutsui options COMPAT_50 # NetBSD 5.0 compatibility. 59 1.51 apb options COMPAT_60 # NetBSD 6.0 compatibility. 60 1.15 gwr #options COMPAT_LINUX # can run Linux/m68k executables 61 1.20 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 62 1.43 tsutsui options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 63 1.1 gwr 64 1.1 gwr # Filesystem options 65 1.9 gwr #file-system FFS # Berkeley Fast Filesystem 66 1.8 gwr file-system NFS # Sun NFS client support 67 1.9 gwr #file-system CD9660 # ISO 9660 + Rock Ridge file system 68 1.9 gwr #file-system MSDOSFS # MS-DOS FAT file system 69 1.15 gwr #file-system FDESC # /dev/fd/* 70 1.15 gwr #file-system KERNFS # /kern 71 1.15 gwr #file-system NULLFS # loopback file system 72 1.15 gwr #file-system PROCFS # /proc 73 1.9 gwr #file-system UNION # union file system 74 1.9 gwr #file-system MFS # memory-based filesystem 75 1.36 christos #file-system PTYFS # /dev/pts/N support 76 1.2 thorpej 77 1.9 gwr #options NFSSERVER # nfs server support 78 1.49 bouyer #options QUOTA # legacy UFS quotas 79 1.49 bouyer #options QUOTA2 # new, in-filesystem UFS quotas 80 1.50 wiz #options FFS_EI # FFS Endian Independent support 81 1.1 gwr 82 1.1 gwr # Networking options 83 1.37 isaki options INET # IP protocol stack support 84 1.6 lukem #options GATEWAY # IP packet forwarding 85 1.9 gwr #options ISO,TPIP # OSI networking 86 1.9 gwr #options EON # OSI tunneling over IP 87 1.9 gwr #options PFIL_HOOKS # pfil(9) packet filter hooks. 88 1.20 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 89 1.8 gwr 90 1.8 gwr # Work-around for root on slow servers (insurance...) 91 1.1 gwr options NFS_BOOT_RWSIZE=1024 92 1.12 gwr options NFS_BOOT_BOOTPARAM 93 1.1 gwr 94 1.2 thorpej config netbsd root on ? type nfs 95 1.1 gwr 96 1.12 gwr # On-board I/O space (required) 97 1.12 gwr include "arch/sun3/conf/obio.sun3x" 98 1.12 gwr 99 1.12 gwr # On-board memory (optional) 100 1.12 gwr # See frame-buffers 101 1.12 gwr obmem0 at mainbus? 102 1.12 gwr 103 1.15 gwr # VME bus support (optional) 104 1.15 gwr # (none on desktop machines) 105 1.15 gwr 106 1.1 gwr # 107 1.1 gwr # Serial ports 108 1.1 gwr # 109 1.6 lukem zstty0 at zsc1 channel 0 # ttya 110 1.6 lukem zstty1 at zsc1 channel 1 # ttyb 111 1.1 gwr 112 1.6 lukem kbd0 at zsc0 channel 0 # keyboard 113 1.6 lukem ms0 at zsc0 channel 1 # mouse 114 1.1 gwr 115 1.1 gwr # 116 1.1 gwr # Network devices 117 1.1 gwr # 118 1.1 gwr 119 1.12 gwr # Intel Ethernet (onboard, or VME) 120 1.15 gwr #ie0 at obio0 addr 0x65000000 ipl 3 121 1.22 lukem #ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 122 1.8 gwr 123 1.1 gwr # Lance Ethernet (only onboard) 124 1.1 gwr le0 at obio0 addr 0x65002000 ipl 3 125 1.1 gwr 126 1.1 gwr # 127 1.1 gwr # Frame buffer devices 128 1.1 gwr # 129 1.1 gwr 130 1.13 gwr # P4 Monochrome frame buffer. 131 1.22 lukem bwtwo0 at obmem0 addr 0x50300000 132 1.13 gwr 133 1.13 gwr # P4 8-bit color frame buffer 134 1.13 gwr cgfour0 at obmem0 addr 0x50300000 135 1.13 gwr 136 1.13 gwr # P4 accelerated 8-bit color frame buffer 137 1.15 gwr # cgsix0 at obmem0 addr 0x50000000 138 1.13 gwr 139 1.13 gwr # P4 24-bit color frame buffer 140 1.13 gwr # cgeight0 at obmem0 addr 0x50300000 141 1.13 gwr 142 1.13 gwr # Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 143 1.13 gwr # This driver is going to need work in its mmap function. 144 1.13 gwr # cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 145 1.13 gwr 146 1.13 gwr # Support for the CG9 24-bit frame buffer (VME A32/D32). 147 1.13 gwr # cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 148 1.1 gwr 149 1.1 gwr # Misc. 150 1.6 lukem pseudo-device loop 1 # network loopback 151 1.39 rpaulo pseudo-device bpfilter # packet filter 152 1.40 cube pseudo-device sl # CSLIP 153 1.40 cube pseudo-device ppp # PPP 154 1.40 cube pseudo-device tun # network tunneling over tty 155 1.40 cube #pseudo-device gre # generic L3 over IP tunnel 156 1.9 gwr #pseudo-device ipfilter # ip filter 157 1.1 gwr 158 1.17 jdolecek pseudo-device pty # pseudo-terminals 159 1.26 lukem pseudo-device clockctl # user control of clock subsystem 160