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