INSTALL revision 1.21
1# $NetBSD: INSTALL,v 1.21 2005/08/19 02:03:53 christos Exp $ 2# 3# Shark installation kernel 4# 5 6include "arch/shark/conf/std.shark" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10# estimated number of users 11 12maxusers 32 13 14# Standard system options 15 16options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 17options HZ=64 18#options NTP # NTP phase/frequency locked loop 19options NMBCLUSTERS=1024 # XXX, temporarily required 20#options BOOT_QUIETLY # twiddle instead of normal boot msg output 21 22# CPU options 23 24options CPU_SA110 # Support the SA110 core 25makeoptions COPTS="-Os" 26 27# Architecture options 28 29options SHARK # We are a Shark 30options NSIO # We are using the National Semi SuperIO 31 32# compatibility with old version of OFW, which may have incorrect 33# properties and/or may set up devices incorrectly. 34options COMPAT_OLD_OFW 35 36# FPA options 37 38#options ARMFPE # ARM Ltd FPE 39 40# File systems 41 42file-system FFS # UFS 43#file-system LFS # log-structured file system 44file-system MFS # memory file system 45file-system NFS 46#file-system ADOSFS # AmigaDOS-compatible file system 47#file-system EXT2FS # second extended file system (linux) 48#file-system CD9660 # ISO 9660 + Rock Ridge file system 49file-system MSDOSFS # MS-DOS file system 50#file-system FDESC # /dev/fd 51#file-system FILECORE # Acorn filecore file system 52file-system KERNFS # /kern 53#file-system NULLFS # loopback file system 54#file-system PORTAL # portal filesystem (still experimental) 55#file-system PROCFS # /proc 56#file-system UMAPFS # NULLFS + uid and gid remapping 57#file-system UNION # union file system 58 59# File system options 60#options QUOTA # UFS quotas 61#options FFS_EI # FFS Endian Independant support 62#options NFSSERVER 63#options FFS_NO_SNAPSHOT # ffs snapshots 64 65options VNODE_OP_NOINLINE # Not inlining vnode op calls saves mem 66 67# Networking options 68 69#options GATEWAY # packet forwarding 70options INET # IP + ICMP + TCP + UDP 71#options MROUTING # IP multicast routing 72#options PIM # Protocol Independent Multicast 73#options NS # XNS 74#options NSIP # XNS tunneling over IP 75#options ISO,TPIP # OSI 76#options EON # OSI tunneling over IP 77#options CCITT,LLC,HDLC # X.25 78#options NETATALK # AppleTalk networking 79#options PFIL_HOOKS # pfil(9) packet filter hooks (Required 80 # if you enable the pseudo-device ipl). 81 82#options PPP_BSDCOMP # BSD-Compress compression support for PPP 83#options PPP_DEFLATE # Deflate compression support for PPP 84#options PPP_FILTER # Active filter support for PPP (requires bpf) 85options NFS_BOOT_DHCP # use NetBSD standard DHCP/NFS boot code 86#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 87 88# Compatibility options 89 90#options COMPAT_43 # 4.3BSD compatibility. 91#options COMPAT_30 # NetBSD 3.0 compatibility. 92#options COMPAT_20 # NetBSD 2.0 compatibility. 93#options COMPAT_16 # NetBSD 1.6 compatibility. 94#options COMPAT_14 # NetBSD 1.4 compatibility. 95#options COMPAT_13 # NetBSD 1.3 compatibility. 96#options COMPAT_12 # NetBSD 1.2 compatibility. 97#options COMPAT_11 # NetBSD 1.1 compatibility. 98#options COMPAT_10 # NetBSD 1.0 compatibility. 99#options COMPAT_09 # NetBSD 0.9 compatibility. 100#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 101options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 102 103# Shared memory options 104 105#options SYSVMSG # System V-like message queues 106#options SYSVSEM # System V-like semaphores 107#options SYSVSHM # System V-like memory sharing 108#options SHMMAXPGS=1024 # 1024 pages is the default 109 110# Device options 111 112options MEMORY_DISK_HOOKS # boottime setup of ramdisk 113options MEMORY_DISK_IS_ROOT # use memory disk as root 114options MEMORY_DISK_ROOT_SIZE=7000 # Size in blocks (3.5MB) 115 116options XSERVER # also need INSECURE for now 117options INSECURE # disable kernel securelevel 118 119# Use the following to force the serial to always be the console 120# device. 19200 is what the serial gets set up as by the firmware 121# when it hasn't fallen back from PC. If it has fallen back then 122# the speed will be set at 9600. 123#options COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200 124 125# Miscellaneous kernel options 126#options KTRACE # system call tracing, a la ktrace(1) 127#options IRQSTATS # manage IRQ statistics, XXX temp required 128#options LKM # loadable kernel modules 129#options KMEMSTATS # kernel memory statistics, XXX temp required 130options USERCONF # userconf(4) support 131options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 132#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 133options MALLOC_NOINLINE # Not inlining MALLOC saves memory 134 135# Development and Debugging options 136 137#options ARM700BUGTRACK # track the ARM700 swi bug 138#options PORTMASTER # Enable PortMaster only options 139#options DIAGNOSTIC # internal consistency checks 140#options PMAP_DEBUG # Enable pmap_debug_level code 141#options IPKDB # remote kernel debugging 142options DDB # in-kernel debugger 143#options DDB_ONPANIC=0 # don't run DDB at panictime 144#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 145#options KERNEL_DEBUG # compile in kernel debugging capability 146#makeoptions DEBUG="-g" # compile full symbol table 147 148config netbsd root on ? type ffs # root on miniroot 149 150# The main bus device 151mainbus0 at root 152 153# The boot CPU 154cpu0 at mainbus? 155 156# Open Firmware devices 157ofbus* at root 158ofbus* at ofbus? 159#ofdisk* at ofbus? 160#ofnet* at ofbus? # don't use with cs0 161#ofcons* at ofbus? # don't use with pc0 162ofrtc* at ofisa? 163ofrom* at ofbus? 164 165ofisa* at ofbus? 166ofbus* at ofisa? 167 168# IDE/ATA disk 169wdc* at ofisa? 170atabus* at wdc? channel ? 171wd* at atabus? drive ? 172 173atapibus* at atabus? 174cd* at atapibus? drive? 175sd* at atapibus? drive? 176 177# PCCONS@OFW 178ofisapc* at ofbus? 179pc* at ofisapc? 180 181# PS/2 Mouse 182opms0 at spckbd? irq 12 183 184# CS8900 Ethernet@OFW 185cs* at ofisa? 186 187# Serial @OFW 188com* at ofisa? 189 190# Parallel @OFW 191lpt* at ofisa? 192 193# Smart Card 194ofisascr* at ofisa? 195scr* at ofisascr? 196 197# ESS Sound@OFW 198#ess* at ofisa? 199#audio* at ess? 200#opl* at ess? 201#midi* at opl? 202 203# Joystick @OFW 204#joy* at ofisa? 205 206pseudo-device loop 1 # network loopback 207pseudo-device bpfilter 8 # packet filter 208#pseudo-device sl 2 # CSLIP 209#pseudo-device ppp 2 # PPP 210#pseudo-device tun 2 # network tunneling over tty 211#pseudo-device ipfilter 1 # ip filter 212 213pseudo-device pty # pseudo-terminals 214#pseudo-device tb 1 # tablet line discipline 215#pseudo-device vnd 4 # disk-like interface to files 216#pseudo-device ccd 2 # concatenated disk devices 217#pseudo-device fss 4 # file system snapshot device 218pseudo-device rnd # /dev/random and /dev/urandom 219 220pseudo-device md 1 # Ramdisk driver 221#pseudo-device profiler 1 # fiq based profiling device 222#pseudo-device sequencer 1 # MIDI sequencer 223