OFWGENCFG revision 1.30
11.30Sjmmv# $NetBSD: OFWGENCFG,v 1.30 2008/02/29 14:42:33 jmmv Exp $ 21.1Sthorpej# 31.1Sthorpej# OFWGENCFG: 'generic' configuration for Open Firmware boards. 41.1Sthorpej# 51.1Sthorpej# Uses all 'generic' drivers (except for 'ofrom', which is 61.1Sthorpej# close enough to generic). 71.1Sthorpej# 81.1Sthorpej 91.7Sjdolecekinclude "arch/shark/conf/std.shark" 101.1Sthorpejinclude "arch/shark/conf/std.ofwgencfg" 111.4Satatat 121.4Satatat#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 131.1Sthorpej 141.1Sthorpej# estimated number of users 151.1Sthorpej 161.1Sthorpejmaxusers 32 171.1Sthorpej 181.1Sthorpej# Standard system options 191.1Sthorpej 201.1Sthorpejoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 211.1Sthorpej#options NTP # NTP phase/frequency locked loop 221.1Sthorpej 231.1Sthorpej# CPU options 241.1Sthorpej 251.1Sthorpejoptions CPU_SA110 # Support the SA110 core 261.1Sthorpejmakeoptions COPTS="-O2 -march=armv4 -mtune=strongarm" 271.1Sthorpej 281.1Sthorpej# Architecture options 291.1Sthorpej 301.1Sthorpejoptions OFWGENCFG # Enable Open Firmware bits specific to GENERIC configuration 311.1Sthorpej 321.1Sthorpej# FPA options 331.1Sthorpej 341.1Sthorpej#options ARMFPE # ARM Ltd FPE 351.1Sthorpej 361.1Sthorpej# File systems 371.1Sthorpej 381.1Sthorpejfile-system FFS # UFS 391.1Sthorpej#file-system LFS # log-structured file system 401.1Sthorpejfile-system MFS # memory file system 411.1Sthorpejfile-system NFS 421.1Sthorpej#file-system ADOSFS # AmigaDOS-compatible file system 431.1Sthorpej#file-system EXT2FS # second extended file system (linux) 441.1Sthorpej#file-system CD9660 # ISO 9660 + Rock Ridge file system 451.1Sthorpej#file-system MSDOSFS # MS-DOS file system 461.1Sthorpej#file-system FDESC # /dev/fd 471.1Sthorpej#file-system FILECORE # Acorn filecore file system 481.1Sthorpejfile-system KERNFS # /kern 491.1Sthorpej#file-system NULLFS # loopback file system 501.1Sthorpej#file-system PORTAL # portal filesystem (still experimental) 511.1Sthorpej#file-system PROCFS # /proc 521.1Sthorpej#file-system UMAPFS # NULLFS + uid and gid remapping 531.1Sthorpej#file-system UNION # union file system 541.22Schristos#file-system PTYFS # /dev/pts/N support 551.1Sthorpej 561.1Sthorpej# File system options 571.1Sthorpej#options QUOTA # UFS quotas 581.1Sthorpej#options NFSSERVER 591.1Sthorpejoptions NFS_BOOT_DHCP # NFS booting via DHCP 601.1Sthorpejoptions NFS_BOOT_RWSIZE=1024 # OFW driver can't cope with more 611.23Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot support 621.1Sthorpej 631.1Sthorpej# Networking options 641.1Sthorpej 651.1Sthorpej#options GATEWAY # packet forwarding 661.1Sthorpejoptions INET # IP + ICMP + TCP + UDP 671.1Sthorpej#options MROUTING # IP multicast routing 681.14Smanu#options PIM # Protocol Independent Multicast 691.1Sthorpej#options ISO,TPIP # OSI 701.1Sthorpej#options EON # OSI tunneling over IP 711.1Sthorpej#options PFIL_HOOKS # pfil(9) packet filter hooks (Required 721.1Sthorpej # if you enable the pseudo-device ipl). 731.1Sthorpej#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 741.1Sthorpej 751.1Sthorpej# Compatibility options 761.1Sthorpej 771.1Sthorpejoptions COMPAT_43 # 4.3BSD compatibility. 781.21Schristosoptions COMPAT_30 # NetBSD 3.0 compatibility. 791.18Ssimonboptions COMPAT_20 # NetBSD 2.0 compatibility. 801.10Schrisoptions COMPAT_16 # NetBSD 1.6 compatibility. 811.1Sthorpejoptions COMPAT_12 # NetBSD 1.2 compatibility. 821.1Sthorpej#options COMPAT_11 # NetBSD 1.1 compatibility. 831.1Sthorpej#options COMPAT_10 # NetBSD 1.0 compatibility. 841.1Sthorpej#options COMPAT_09 # NetBSD 0.9 compatibility. 851.1Sthorpej#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 861.15Schristosoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 871.1Sthorpej 881.1Sthorpej# Shared memory options 891.1Sthorpej 901.1Sthorpejoptions SYSVMSG # System V-like message queues 911.1Sthorpejoptions SYSVSEM # System V-like semaphores 921.1Sthorpejoptions SYSVSHM # System V-like memory sharing 931.1Sthorpejoptions SHMMAXPGS=1024 # 1024 pages is the default 941.1Sthorpej 951.1Sthorpej# Device options 961.1Sthorpej 971.1Sthorpej#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 981.2Slukem#options MEMORY_DISK_ROOT_SIZE=0 # Size in KBytes 991.1Sthorpej 1001.1Sthorpej# Miscellaneous kernel options 1011.1Sthorpejoptions KTRACE # system call tracing, a la ktrace(1) 1021.1Sthorpejoptions IRQSTATS # manage IRQ statistics 1031.1Sthorpej#options LKM # loadable kernel modules 1041.1Sthorpejoptions KMEMSTATS # kernel memory statistics 1051.6Slukemoptions USERCONF # userconf(4) support 1061.1Sthorpej#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 1071.12Satatat#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 1081.1Sthorpej 1091.1Sthorpej# Development and Debugging options 1101.1Sthorpej 1111.1Sthorpej#options ARM700BUGTRACK # track the ARM700 swi bug 1121.1Sthorpej#options PORTMASTER # Enable PortMaster only options 1131.1Sthorpejoptions DIAGNOSTIC # internally consistency checks 1141.1Sthorpejoptions DDB # in-kernel debugger 1151.1Sthorpej#makeoptions DEBUG="-g" # compile full symbol table 1161.1Sthorpej 1171.1Sthorpejconfig netbsd root on ofnet0 type nfs 1181.1Sthorpej#config netbsd root nfs swap nfs 1191.1Sthorpej 1201.1Sthorpej# The main bus device 1211.1Sthorpejmainbus0 at root 1221.1Sthorpej 1231.11Swiz# The boot CPU 1241.1Sthorpejcpu0 at mainbus? 1251.1Sthorpej 1261.1Sthorpej# Open Firmware devices 1271.1Sthorpejofbus* at root 1281.1Sthorpejofbus* at ofbus? 1291.1Sthorpejofdisk* at ofbus? 1301.1Sthorpejofnet* at ofbus? 1311.1Sthorpejofcons* at ofbus? 1321.1Sthorpejofrtc* at ofbus? 1331.1Sthorpejofrom* at ofbus? 1341.1Sthorpej 1351.29Sjmmv# Pull in optional local configuration 1361.30Sjmmvcinclude "arch/shark/conf/GENERIC.local" 1371.29Sjmmv 1381.1Sthorpejpseudo-device loop 1 # network loopback 1391.25Srpaulopseudo-device bpfilter # packet filter 1401.26Scube#pseudo-device sl # CSLIP 1411.26Scube#pseudo-device ppp # PPP 1421.26Scube#pseudo-device tun # network tunneling over tty 1431.1Sthorpej#pseudo-device ipfilter 1 # ip filter 1441.1Sthorpej 1451.1Sthorpejpseudo-device pty # pseudo-terminals 1461.26Scubepseudo-device vnd # disk-like interface to files 1471.1Sthorpej#pseudo-device ccd 2 # concatenated disk devices 1481.16Shannken#pseudo-device fss 4 # file system snapshot device 1491.1Sthorpejpseudo-device rnd # /dev/random and /dev/urandom 1501.1Sthorpej 1511.1Sthorpej#pseudo-device md 1 # Ramdisk driver 1521.5Slukempseudo-device clockctl # user control of clock subsystem 1531.13Sthorpejpseudo-device openfirm # /dev/openfirm 154