LOWMEM_WSCONS revision 1.54
1# $NetBSD: LOWMEM_WSCONS,v 1.54 2010/04/16 13:48:28 pooka Exp $ 2# 3# LOWMEM_WSCONS -- RiscPC config with wscons for SMALL machines 4# 5 6include "arch/acorn32/conf/std.acorn32" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10# estimated number of users 11 12maxusers 2 13 14# Standard system options 15 16options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 17#options NTP # NTP phase/frequency locked loop 18 19# CPU options 20options CPU_SA110 # Support the SA110 core 21options CPU_ARM6 # Support the ARM6 core 22options CPU_ARM7 # Support the ARM7 core 23#options CPU_ARM8 # Support the ARM8 core 24#options ARM6_LATE_ABORT # ARM6XX late abort support 25 26# For StrongARM only kernels 27#makeoptions COPTS="-O2 -march=armv3m -mtune=strongarm" 28 29# For small kernels 30makeoptions COPTS="-Os -fno-inline -Dinline= -D__inline__= -D_inline_= " 31 32# FPA options 33 34#options ARMFPE # ARM Ltd FPE 35 36# File systems 37 38file-system FFS # UFS 39#file-system LFS # log-structured file system 40file-system MFS # memory file system 41file-system NFS # Network file system 42#file-system ADOSFS # AmigaDOS-compatible file system 43#file-system EXT2FS # second extended file system (linux) 44#file-system CD9660 # ISO 9660 + Rock Ridge file system 45#file-system MSDOSFS # MS-DOS file system 46#file-system FDESC # /dev/fd 47file-system FILECORE # Acorn filecore file system 48file-system KERNFS # /kern 49#file-system NULLFS # loopback file system 50#file-system PROCFS # /proc 51#file-system UMAPFS # NULLFS + uid and gid remapping 52#file-system UNION # union file system 53file-system PTYFS # /dev/pts/N support 54 55# File system options 56#options QUOTA # UFS quotas 57#options NFSSERVER 58options FFS_NO_SNAPSHOT # No FFS snapshot support 59 60# Networking options 61 62#options GATEWAY # packet forwarding 63options INET # IP + ICMP + TCP + UDP 64#options INET6 # IPV6 65#options IPSEC # IP security 66#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 67#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 68#options IPSEC_DEBUG # debug for IP security 69#options MROUTING # IP multicast routing 70#options PIM # Protocol Independent Multicast 71#options ISO,TPIP # OSI 72#options EON # OSI tunneling over IP 73#options NETATALK # AppleTalk networking 74#options PFIL_HOOKS # pfil(9) packet filter hooks 75#options PPP_BSDCOMP # BSD-Compress compression support for PPP 76#options PPP_DEFLATE # Deflate compression support for PPP 77#options PPP_FILTER # Active filter support for PPP (requires bpf) 78#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 79 80# Compatibility options 81 82options COMPAT_43 # 4.3BSD compatibility. 83options COMPAT_40 # NetBSD 4.0 compatibility. 84options COMPAT_30 # NetBSD 3.0 compatibility. 85options COMPAT_20 # NetBSD 2.0 compatibility. 86options COMPAT_16 # NetBSD 1.6 compatibility. 87options COMPAT_15 # NetBSD 1.5 compatibility. 88options COMPAT_14 # NetBSD 1.4 compatibility. 89options COMPAT_13 # NetBSD 1.3 compatibility. 90#options COMPAT_12 # NetBSD 1.2 compatibility. 91#options COMPAT_11 # NetBSD 1.1 compatibility. 92#options COMPAT_10 # NetBSD 1.0 compatibility. 93#options COMPAT_09 # NetBSD 0.9 compatibility. 94#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 95options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 96 97# Shared memory options 98 99#options SYSVMSG # System V-like message queues 100#options SYSVSEM # System V-like semaphores 101#options SYSVSHM # System V-like memory sharing 102 103# Device options 104 105options MEMORY_DISK_HOOKS # boottime setup of ramdisk 106#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 107#options MEMORY_DISK_IS_ROOT # use memory disk as root 108 109# Miscellaneous kernel options 110options KTRACE # system call tracing, a la ktrace(1) 111options IRQSTATS # manage IRQ statistics 112options KMEMSTATS # kernel memory statistics 113options USERCONF # userconf(4) support 114#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 115#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 116 117# Development and Debugging options 118 119#options ARM700BUGTRACK # track the ARM700 swi bug 120#options PORTMASTER # Enable PortMaster only options 121#options DIAGNOSTIC # internally consistency checks 122#options PMAP_DEBUG # Enable pmap_debug_level code 123#options DDB # in-kernel debugger 124#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 125#makeoptions DEBUG="-g" # compile full symbol table 126 127config netbsd root on wd0a type ? 128#config netbsd root on ? type ? 129 130# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset 131# this really be fixed some day 132#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600 133 134# The main bus device 135mainbus0 at root 136 137# The boot CPU 138cpu0 at mainbus? 139 140# The IOMD 141iomd0 at mainbus? 142 143# system clock via IOMD 144clock* at iomd? 145 146# IIC bus device 147iomdiic* at iomd? 148iic0 at iomdiic? 149 150# RTC device via IIC bus 151pcfrtc* at iic? addr 0x50 152 153# VIDC device 154vidc0 at mainbus? 155 156# WSCONS 157# ws console uses DUMB, SUN or VT100 terminal emulation 158#options WSEMUL_NODUMB 159#options WSEMUL_SUN 160options WSEMUL_VT100 161 162#options WSDISPLAY_COMPAT_RAWKBD 163 164#options FONT_BOLD8x16 165#options FONT_GALLANT12x22 # Very nice font 166#options FONT_LUCIDA16x29 167#options FONT_OMRON12x20 # looks funny 168#options FONT_QVSS8x15 # broken ? 169options FONT_SONY12x25 # looks like VT220 font 170#options FONT_SONY8x16 # not tested 171#options FONT_VT220L8x8 # 8x8 font as in Arch. cons 172#options FONT_VT220L8x16 # 8x(2x8) font as in Arch. cons 173#options FONT_VT220L8x10 # not tested 174#options FONT_VT220L8x20 # not tested 175 176vidcvideo0 at vidc? # wscons driver for VIDC 177wsdisplay* at vidcvideo? console ? # display itself 178 179iomdkbc* at iomd? # IOMD keyboard/mouse interface 180 181pckbd* at iomdkbc? slot ? # PS/2 keyboard 182options PCKBD_LAYOUT=KB_UK 183wskbd* at pckbd? 184 185pms* at iomdkbc? slot ? # PS/2 mouse 186wsmouse* at pms? 187 188qms* at iomd? # ws quadmouse driver 189wsmouse* at qms? # wsmouse on ws quadmouse 190 191pseudo-device wsmux 192 193 194# Peripheral IO Controller 195pioc0 at mainbus? base 0x00210000 196 197# IDE disk controller 198wdc0 at pioc? offset 0x01f0 irq 9 199#wdc* at pioc? offset 0x0170 irq -1 200 201# ATA (IDE) bus support 202atabus* at ata? 203 204wd* at atabus? drive ? 205#atapibus* at atapi? 206#cd* at atapibus? drive ? 207#sd* at atapibus? drive ? 208 209# Floppy disk controller 210fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000 211fdc* at pioc? offset 0x0370 irq -1 dack 0x2000 212fd0 at fdc? drive ? 213 214# Serial ports 215com* at pioc? offset 0x03f8 irq 10 216#com* at pioc? offset 0x02f8 irq -1 217#com* at pioc? offset 0x0338 irq -1 218#com* at pioc? offset 0x0238 irq -1 219 220# Parallel ports 221lpt* at pioc? offset 0x0278 irq 0 222#lpt* at pioc? offset 0x0378 irq -1 223#lpt* at pioc? offset 0x03bc irq -1 224 225# Audio device 226vidcaudio0 at vidc? 227audio* at vidcaudio0 228 229# Podule bus device 230#podulebus0 at root 231 232#sec* at podulebus? # Acorn SCSI card 233#scsibus* at sec? 234 235#cosc* at podulebus? # MCS Connect32 SCSI II card 236#scsibus* at cosc? 237 238#ptsc* at podulebus? # Power-Tec SCSI II card 239#scsibus* at ptsc? 240 241#csc* at podulebus? # Cumana SCSI II card 242#scsibus* at csc? 243 244#oak* at podulebus? # Oak SCSI I card 245#scsibus* at oak? 246 247#csa* at podulebus? # Cumana SCSI I adapter 248#scsibus* at csa? 249 250#hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface 251#scsibus* at hcsc? 252 253#sd* at scsibus? target ? lun ? # SCSI disk drives 254#st* at scsibus? target ? lun ? # SCSI tape drives 255#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 256#ch* at scsibus? target ? lun ? # SCSI auto-changers 257#uk* at scsibus? target ? lun ? # SCSI unknown device 258#ss* at scsibus? target ? lun ? # SCSI scanner 259 260#icside* at podulebus? # ICS IDE card 261 262#rapide* at podulebus? # Yellowstone RapIDE card 263 264#simide* at podulebus? # Simtec IDE card 265 266#amps* at podulebus? # Atomwide Multi-Port Serial card 267#com* at amps? 268 269#ei* at podulebus? # Ether1 podules 270#ea* at podulebus? # Ether3 podules 271#eb0 at podulebus? # EtherB network slot cards 272#ne* at podulebus? # NE2000 clone cards 273 274pseudo-device loop # network loopback 275#pseudo-device bpfilter # packet filter 276#pseudo-device sl # CSLIP 277pseudo-device ppp # PPP 278#pseudo-device tun # network tunneling over tty 279#pseudo-device ipfilter # ip filter 280#pseudo-device strip # STRIP 281pseudo-device pty # pseudo-terminals 282pseudo-device vnd # disk-like interface to files 283#pseudo-device ccd 2 # concatenated disk devices 284#pseudo-device fss # file system snapshot device 285pseudo-device md 1 # Ramdisk driver 286pseudo-device rnd # /dev/random and /dev/urandom 287pseudo-device clockctl # user control of clock subsystem 288 289# If the standard modes don't work for your monitor, you can specify 290# a RISC-OS-format monitor definition file and a list of modes here. 291 292#makeoptions MONITOR="Taxan875+LR" 293#makeoptions MONITOR="AKF60" 294#makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900" 295