1 1.67 thorpej # $NetBSD: INSTALL,v 1.67 2021/04/27 23:37:01 thorpej Exp $ 2 1.1 thorpej # 3 1.1 thorpej # Shark installation kernel 4 1.1 thorpej # 5 1.1 thorpej 6 1.1 thorpej include "arch/shark/conf/std.shark" 7 1.6 atatat 8 1.6 atatat #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 1.1 thorpej 10 1.1 thorpej # estimated number of users 11 1.1 thorpej 12 1.1 thorpej maxusers 32 13 1.1 thorpej 14 1.1 thorpej # Standard system options 15 1.1 thorpej 16 1.1 thorpej options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 17 1.1 thorpej options HZ=64 18 1.1 thorpej #options NTP # NTP phase/frequency locked loop 19 1.1 thorpej #options BOOT_QUIETLY # twiddle instead of normal boot msg output 20 1.1 thorpej 21 1.1 thorpej # CPU options 22 1.1 thorpej 23 1.1 thorpej options CPU_SA110 # Support the SA110 core 24 1.2 thorpej makeoptions COPTS="-Os" 25 1.1 thorpej 26 1.1 thorpej # Architecture options 27 1.1 thorpej 28 1.1 thorpej options SHARK # We are a Shark 29 1.1 thorpej options NSIO # We are using the National Semi SuperIO 30 1.1 thorpej 31 1.1 thorpej # compatibility with old version of OFW, which may have incorrect 32 1.1 thorpej # properties and/or may set up devices incorrectly. 33 1.1 thorpej options COMPAT_OLD_OFW 34 1.1 thorpej 35 1.1 thorpej # File systems 36 1.1 thorpej 37 1.1 thorpej file-system FFS # UFS 38 1.1 thorpej #file-system LFS # log-structured file system 39 1.1 thorpej file-system MFS # memory file system 40 1.1 thorpej file-system NFS 41 1.1 thorpej #file-system ADOSFS # AmigaDOS-compatible file system 42 1.1 thorpej #file-system EXT2FS # second extended file system (linux) 43 1.1 thorpej #file-system CD9660 # ISO 9660 + Rock Ridge file system 44 1.1 thorpej file-system MSDOSFS # MS-DOS file system 45 1.1 thorpej #file-system FDESC # /dev/fd 46 1.1 thorpej #file-system FILECORE # Acorn filecore file system 47 1.1 thorpej file-system KERNFS # /kern 48 1.1 thorpej #file-system NULLFS # loopback file system 49 1.1 thorpej #file-system PROCFS # /proc 50 1.1 thorpej #file-system UMAPFS # NULLFS + uid and gid remapping 51 1.1 thorpej #file-system UNION # union file system 52 1.22 christos #file-system PTYFS # /dev/pts/N support 53 1.1 thorpej 54 1.1 thorpej # File system options 55 1.46 bouyer #options QUOTA # legacy UFS quotas 56 1.46 bouyer #options QUOTA2 # new, in-filesystem UFS quotas 57 1.47 wiz #options FFS_EI # FFS Endian Independent support 58 1.1 thorpej #options NFSSERVER 59 1.23 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support 60 1.49 dholland options WAPBL # File system journaling support 61 1.1 thorpej 62 1.1 thorpej # Networking options 63 1.1 thorpej 64 1.1 thorpej #options GATEWAY # packet forwarding 65 1.1 thorpej options INET # IP + ICMP + TCP + UDP 66 1.1 thorpej #options MROUTING # IP multicast routing 67 1.15 manu #options PIM # Protocol Independent Multicast 68 1.1 thorpej #options NETATALK # AppleTalk networking 69 1.1 thorpej # if you enable the pseudo-device ipl). 70 1.1 thorpej 71 1.1 thorpej #options PPP_BSDCOMP # BSD-Compress compression support for PPP 72 1.1 thorpej #options PPP_DEFLATE # Deflate compression support for PPP 73 1.1 thorpej #options PPP_FILTER # Active filter support for PPP (requires bpf) 74 1.1 thorpej options NFS_BOOT_DHCP # use NetBSD standard DHCP/NFS boot code 75 1.1 thorpej #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 76 1.1 thorpej 77 1.1 thorpej # Compatibility options 78 1.1 thorpej 79 1.63 mrg #include "conf/compat_netbsd09.config" 80 1.16 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 81 1.1 thorpej 82 1.1 thorpej # Shared memory options 83 1.1 thorpej 84 1.2 thorpej #options SYSVMSG # System V-like message queues 85 1.2 thorpej #options SYSVSEM # System V-like semaphores 86 1.2 thorpej #options SYSVSHM # System V-like memory sharing 87 1.1 thorpej 88 1.1 thorpej # Device options 89 1.1 thorpej 90 1.1 thorpej options MEMORY_DISK_HOOKS # boottime setup of ramdisk 91 1.1 thorpej options MEMORY_DISK_IS_ROOT # use memory disk as root 92 1.4 lukem options MEMORY_DISK_ROOT_SIZE=7000 # Size in blocks (3.5MB) 93 1.40 jym options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 94 1.1 thorpej 95 1.1 thorpej options INSECURE # disable kernel securelevel 96 1.1 thorpej 97 1.1 thorpej # Use the following to force the serial to always be the console 98 1.1 thorpej # device. 19200 is what the serial gets set up as by the firmware 99 1.1 thorpej # when it hasn't fallen back from PC. If it has fallen back then 100 1.1 thorpej # the speed will be set at 9600. 101 1.1 thorpej #options COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200 102 1.1 thorpej 103 1.1 thorpej # Miscellaneous kernel options 104 1.2 thorpej #options KTRACE # system call tracing, a la ktrace(1) 105 1.2 thorpej #options IRQSTATS # manage IRQ statistics, XXX temp required 106 1.8 lukem options USERCONF # userconf(4) support 107 1.7 abs options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 108 1.14 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 109 1.1 thorpej 110 1.1 thorpej # Development and Debugging options 111 1.1 thorpej 112 1.1 thorpej #options ARM700BUGTRACK # track the ARM700 swi bug 113 1.1 thorpej #options PORTMASTER # Enable PortMaster only options 114 1.2 thorpej #options DIAGNOSTIC # internal consistency checks 115 1.65 skrll #options UVMHIST # kernhist for uvm/pmap subsystems 116 1.1 thorpej options DDB # in-kernel debugger 117 1.58 uebayasi pseudo-device ksyms 118 1.1 thorpej #options DDB_ONPANIC=0 # don't run DDB at panictime 119 1.1 thorpej #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 120 1.9 wiz #options KERNEL_DEBUG # compile in kernel debugging capability 121 1.1 thorpej #makeoptions DEBUG="-g" # compile full symbol table 122 1.1 thorpej 123 1.32 jmmv # 124 1.32 jmmv # wscons options 125 1.32 jmmv # 126 1.32 jmmv # builtin terminal emulations 127 1.32 jmmv #options WSEMUL_SUN # sun terminal emulation 128 1.32 jmmv options WSEMUL_VT100 # VT100 / VT220 emulation 129 1.32 jmmv # customization of console and kernel output - see dev/wscons/wsdisplayvar.h 130 1.32 jmmv #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 131 1.32 jmmv #options WS_DEFAULT_FG=WSCOL_WHITE 132 1.32 jmmv #options WS_DEFAULT_BG=WSCOL_BLACK 133 1.32 jmmv #options WS_DEFAULT_COLATTR="(0)" 134 1.32 jmmv #options WS_DEFAULT_MONOATTR="(0)" 135 1.32 jmmv #options WS_KERNEL_FG=WSCOL_GREEN 136 1.32 jmmv #options WS_KERNEL_BG=WSCOL_BLACK 137 1.32 jmmv #options WS_KERNEL_COLATTR="" 138 1.32 jmmv #options WS_KERNEL_MONOATTR="" 139 1.32 jmmv # customization of console border color 140 1.32 jmmv #options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8) 141 1.32 jmmv #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color 142 1.32 jmmv # compatibility to other console drivers 143 1.32 jmmv #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 144 1.32 jmmv #options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 145 1.50 abs #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 146 1.32 jmmv #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 147 1.32 jmmv # see dev/pckbport/wskbdmap_mfii.c for implemented layouts 148 1.32 jmmv #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 149 1.32 jmmv #options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)" 150 1.32 jmmv # allocate a number of virtual screens at autoconfiguration time 151 1.32 jmmv #options WSDISPLAY_DEFAULTSCREENS=4 152 1.32 jmmv # use a large software cursor that doesn't blink 153 1.32 jmmv #options PCDISPLAY_SOFTCURSOR 154 1.32 jmmv # modify the screen type of the console; defaults to "80x25" 155 1.32 jmmv #options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 156 1.32 jmmv # console scrolling support. 157 1.32 jmmv #options WSDISPLAY_SCROLLSUPPORT 158 1.32 jmmv # enable VGA raster mode capable of displaying multilingual text on console 159 1.32 jmmv #options VGA_RASTERCONSOLE 160 1.32 jmmv 161 1.1 thorpej config netbsd root on ? type ffs # root on miniroot 162 1.1 thorpej 163 1.1 thorpej # The main bus device 164 1.1 thorpej mainbus0 at root 165 1.1 thorpej 166 1.13 wiz # The boot CPU 167 1.1 thorpej cpu0 at mainbus? 168 1.1 thorpej 169 1.1 thorpej # Open Firmware devices 170 1.1 thorpej ofbus* at root 171 1.1 thorpej ofbus* at ofbus? 172 1.1 thorpej #ofdisk* at ofbus? 173 1.1 thorpej #ofnet* at ofbus? # don't use with cs0 174 1.1 thorpej #ofcons* at ofbus? # don't use with pc0 175 1.1 thorpej ofrom* at ofbus? 176 1.1 thorpej 177 1.1 thorpej ofisa* at ofbus? 178 1.1 thorpej 179 1.1 thorpej # IDE/ATA disk 180 1.1 thorpej wdc* at ofisa? 181 1.12 bouyer atabus* at wdc? channel ? 182 1.12 bouyer wd* at atabus? drive ? 183 1.1 thorpej 184 1.12 bouyer atapibus* at atabus? 185 1.1 thorpej cd* at atapibus? drive? 186 1.1 thorpej sd* at atapibus? drive? 187 1.1 thorpej 188 1.32 jmmv # wscons 189 1.32 jmmv pckbc* at ofisa? 190 1.32 jmmv pckbd* at pckbc? 191 1.32 jmmv #pms* at pckbc? 192 1.32 jmmv vga* at ofbus? 193 1.32 jmmv #igsfb* at ofbus? 194 1.32 jmmv wsdisplay* at wsemuldisplaydev? 195 1.32 jmmv wskbd* at pckbd? console ? 196 1.32 jmmv #wsmouse* at pms? mux 0 197 1.32 jmmv 198 1.66 thorpej # mc146818 real time clock 199 1.66 thorpej mcclock* at ofisa? 200 1.66 thorpej 201 1.1 thorpej # CS8900 Ethernet@OFW 202 1.1 thorpej cs* at ofisa? 203 1.1 thorpej 204 1.1 thorpej # Serial @OFW 205 1.1 thorpej com* at ofisa? 206 1.1 thorpej 207 1.1 thorpej # Parallel @OFW 208 1.1 thorpej lpt* at ofisa? 209 1.1 thorpej 210 1.1 thorpej # Smart Card 211 1.1 thorpej ofisascr* at ofisa? 212 1.1 thorpej scr* at ofisascr? 213 1.1 thorpej 214 1.1 thorpej # ESS Sound@OFW 215 1.2 thorpej #ess* at ofisa? 216 1.2 thorpej #audio* at ess? 217 1.2 thorpej #opl* at ess? 218 1.2 thorpej #midi* at opl? 219 1.1 thorpej 220 1.61 christos #spkr* at audio? # PC speaker (synthesized) 221 1.59 nat 222 1.1 thorpej # Joystick @OFW 223 1.2 thorpej #joy* at ofisa? 224 1.1 thorpej 225 1.53 christos pseudo-device loop # network loopback 226 1.26 rpaulo pseudo-device bpfilter # packet filter 227 1.27 cube #pseudo-device sl # CSLIP 228 1.27 cube #pseudo-device ppp # PPP 229 1.27 cube #pseudo-device tun # network tunneling over tty 230 1.64 maxv #pseudo-device npf # NPF packet filter 231 1.1 thorpej 232 1.1 thorpej pseudo-device pty # pseudo-terminals 233 1.27 cube #pseudo-device vnd # disk-like interface to files 234 1.53 christos #pseudo-device ccd # concatenated disk devices 235 1.44 pooka #pseudo-device fss # file system snapshot device 236 1.1 thorpej 237 1.45 hannken pseudo-device md # Ramdisk driver 238 1.1 thorpej #pseudo-device profiler 1 # fiq based profiling device 239 1.54 christos #pseudo-device sequencer # MIDI sequencer 240 1.32 jmmv pseudo-device wsmux # mouse & keyboard multiplexor 241 1.32 jmmv #pseudo-device wsfont 242