1# $NetBSD: INSTALL,v 1.22 2005/08/19 05:20:03 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#file-system PTYFS # /dev/pts/N support 59 60# File system options 61#options QUOTA # UFS quotas 62#options FFS_EI # FFS Endian Independant support 63#options NFSSERVER 64#options FFS_NO_SNAPSHOT # ffs snapshots 65 66options VNODE_OP_NOINLINE # Not inlining vnode op calls saves mem 67 68# Networking options 69 70#options GATEWAY # packet forwarding 71options INET # IP + ICMP + TCP + UDP 72#options MROUTING # IP multicast routing 73#options PIM # Protocol Independent Multicast 74#options NS # XNS 75#options NSIP # XNS tunneling over IP 76#options ISO,TPIP # OSI 77#options EON # OSI tunneling over IP 78#options CCITT,LLC,HDLC # X.25 79#options NETATALK # AppleTalk networking 80#options PFIL_HOOKS # pfil(9) packet filter hooks (Required 81 # if you enable the pseudo-device ipl). 82 83#options PPP_BSDCOMP # BSD-Compress compression support for PPP 84#options PPP_DEFLATE # Deflate compression support for PPP 85#options PPP_FILTER # Active filter support for PPP (requires bpf) 86options NFS_BOOT_DHCP # use NetBSD standard DHCP/NFS boot code 87#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 88 89# Compatibility options 90 91#options COMPAT_43 # 4.3BSD compatibility. 92#options COMPAT_30 # NetBSD 3.0 compatibility. 93#options COMPAT_20 # NetBSD 2.0 compatibility. 94#options COMPAT_16 # NetBSD 1.6 compatibility. 95#options COMPAT_14 # NetBSD 1.4 compatibility. 96#options COMPAT_13 # NetBSD 1.3 compatibility. 97#options COMPAT_12 # NetBSD 1.2 compatibility. 98#options COMPAT_11 # NetBSD 1.1 compatibility. 99#options COMPAT_10 # NetBSD 1.0 compatibility. 100#options COMPAT_09 # NetBSD 0.9 compatibility. 101#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 102options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 103 104# Shared memory options 105 106#options SYSVMSG # System V-like message queues 107#options SYSVSEM # System V-like semaphores 108#options SYSVSHM # System V-like memory sharing 109#options SHMMAXPGS=1024 # 1024 pages is the default 110 111# Device options 112 113options MEMORY_DISK_HOOKS # boottime setup of ramdisk 114options MEMORY_DISK_IS_ROOT # use memory disk as root 115options MEMORY_DISK_ROOT_SIZE=7000 # Size in blocks (3.5MB) 116 117options XSERVER # also need INSECURE for now 118options INSECURE # disable kernel securelevel 119 120# Use the following to force the serial to always be the console 121# device. 19200 is what the serial gets set up as by the firmware 122# when it hasn't fallen back from PC. If it has fallen back then 123# the speed will be set at 9600. 124#options COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200 125 126# Miscellaneous kernel options 127#options KTRACE # system call tracing, a la ktrace(1) 128#options IRQSTATS # manage IRQ statistics, XXX temp required 129#options LKM # loadable kernel modules 130#options KMEMSTATS # kernel memory statistics, XXX temp required 131options USERCONF # userconf(4) support 132options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 133#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 134options MALLOC_NOINLINE # Not inlining MALLOC saves memory 135 136# Development and Debugging options 137 138#options ARM700BUGTRACK # track the ARM700 swi bug 139#options PORTMASTER # Enable PortMaster only options 140#options DIAGNOSTIC # internal consistency checks 141#options PMAP_DEBUG # Enable pmap_debug_level code 142#options IPKDB # remote kernel debugging 143options DDB # in-kernel debugger 144#options DDB_ONPANIC=0 # don't run DDB at panictime 145#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 146#options KERNEL_DEBUG # compile in kernel debugging capability 147#makeoptions DEBUG="-g" # compile full symbol table 148 149config netbsd root on ? type ffs # root on miniroot 150 151# The main bus device 152mainbus0 at root 153 154# The boot CPU 155cpu0 at mainbus? 156 157# Open Firmware devices 158ofbus* at root 159ofbus* at ofbus? 160#ofdisk* at ofbus? 161#ofnet* at ofbus? # don't use with cs0 162#ofcons* at ofbus? # don't use with pc0 163ofrtc* at ofisa? 164ofrom* at ofbus? 165 166ofisa* at ofbus? 167ofbus* at ofisa? 168 169# IDE/ATA disk 170wdc* at ofisa? 171atabus* at wdc? channel ? 172wd* at atabus? drive ? 173 174atapibus* at atabus? 175cd* at atapibus? drive? 176sd* at atapibus? drive? 177 178# PCCONS@OFW 179ofisapc* at ofbus? 180pc* at ofisapc? 181 182# PS/2 Mouse 183opms0 at spckbd? irq 12 184 185# CS8900 Ethernet@OFW 186cs* at ofisa? 187 188# Serial @OFW 189com* at ofisa? 190 191# Parallel @OFW 192lpt* at ofisa? 193 194# Smart Card 195ofisascr* at ofisa? 196scr* at ofisascr? 197 198# ESS Sound@OFW 199#ess* at ofisa? 200#audio* at ess? 201#opl* at ess? 202#midi* at opl? 203 204# Joystick @OFW 205#joy* at ofisa? 206 207pseudo-device loop 1 # network loopback 208pseudo-device bpfilter 8 # packet filter 209#pseudo-device sl 2 # CSLIP 210#pseudo-device ppp 2 # PPP 211#pseudo-device tun 2 # network tunneling over tty 212#pseudo-device ipfilter 1 # ip filter 213 214pseudo-device pty # pseudo-terminals 215#pseudo-device tb 1 # tablet line discipline 216#pseudo-device vnd 4 # disk-like interface to files 217#pseudo-device ccd 2 # concatenated disk devices 218#pseudo-device fss 4 # file system snapshot device 219pseudo-device rnd # /dev/random and /dev/urandom 220 221pseudo-device md 1 # Ramdisk driver 222#pseudo-device profiler 1 # fiq based profiling device 223#pseudo-device sequencer 1 # MIDI sequencer 224