1 1.22 christos # $NetBSD: OFWGENCFG,v 1.22 2005/08/19 05:20:03 christos Exp $ 2 1.1 thorpej # 3 1.1 thorpej # OFWGENCFG: 'generic' configuration for Open Firmware boards. 4 1.1 thorpej # 5 1.1 thorpej # Uses all 'generic' drivers (except for 'ofrom', which is 6 1.1 thorpej # close enough to generic). 7 1.1 thorpej # 8 1.1 thorpej 9 1.7 jdolecek include "arch/shark/conf/std.shark" 10 1.1 thorpej include "arch/shark/conf/std.ofwgencfg" 11 1.4 atatat 12 1.4 atatat #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 13 1.1 thorpej 14 1.1 thorpej # estimated number of users 15 1.1 thorpej 16 1.1 thorpej maxusers 32 17 1.1 thorpej 18 1.1 thorpej # Standard system options 19 1.1 thorpej 20 1.1 thorpej options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 21 1.1 thorpej #options NTP # NTP phase/frequency locked loop 22 1.1 thorpej 23 1.1 thorpej # CPU options 24 1.1 thorpej 25 1.1 thorpej options CPU_SA110 # Support the SA110 core 26 1.1 thorpej makeoptions COPTS="-O2 -march=armv4 -mtune=strongarm" 27 1.1 thorpej 28 1.1 thorpej # Architecture options 29 1.1 thorpej 30 1.1 thorpej options OFWGENCFG # Enable Open Firmware bits specific to GENERIC configuration 31 1.1 thorpej 32 1.1 thorpej # FPA options 33 1.1 thorpej 34 1.1 thorpej #options ARMFPE # ARM Ltd FPE 35 1.1 thorpej 36 1.1 thorpej # File systems 37 1.1 thorpej 38 1.1 thorpej file-system FFS # UFS 39 1.1 thorpej #file-system LFS # log-structured file system 40 1.1 thorpej file-system MFS # memory file system 41 1.1 thorpej file-system NFS 42 1.1 thorpej #file-system ADOSFS # AmigaDOS-compatible file system 43 1.1 thorpej #file-system EXT2FS # second extended file system (linux) 44 1.1 thorpej #file-system CD9660 # ISO 9660 + Rock Ridge file system 45 1.1 thorpej #file-system MSDOSFS # MS-DOS file system 46 1.1 thorpej #file-system FDESC # /dev/fd 47 1.1 thorpej #file-system FILECORE # Acorn filecore file system 48 1.1 thorpej file-system KERNFS # /kern 49 1.1 thorpej #file-system NULLFS # loopback file system 50 1.1 thorpej #file-system PORTAL # portal filesystem (still experimental) 51 1.1 thorpej #file-system PROCFS # /proc 52 1.1 thorpej #file-system UMAPFS # NULLFS + uid and gid remapping 53 1.1 thorpej #file-system UNION # union file system 54 1.22 christos #file-system PTYFS # /dev/pts/N support 55 1.1 thorpej 56 1.1 thorpej # File system options 57 1.1 thorpej #options QUOTA # UFS quotas 58 1.1 thorpej #options NFSSERVER 59 1.1 thorpej options NFS_BOOT_DHCP # NFS booting via DHCP 60 1.1 thorpej options NFS_BOOT_RWSIZE=1024 # OFW driver can't cope with more 61 1.17 dsl options FFS_NO_SNAPSHOT # No FFS snapshots 62 1.1 thorpej 63 1.1 thorpej # Networking options 64 1.1 thorpej 65 1.1 thorpej #options GATEWAY # packet forwarding 66 1.1 thorpej options INET # IP + ICMP + TCP + UDP 67 1.1 thorpej #options MROUTING # IP multicast routing 68 1.14 manu #options PIM # Protocol Independent Multicast 69 1.1 thorpej #options NS # XNS 70 1.1 thorpej #options NSIP # XNS tunneling over IP 71 1.1 thorpej #options ISO,TPIP # OSI 72 1.1 thorpej #options EON # OSI tunneling over IP 73 1.1 thorpej #options CCITT,LLC,HDLC # X.25 74 1.1 thorpej #options PFIL_HOOKS # pfil(9) packet filter hooks (Required 75 1.1 thorpej # if you enable the pseudo-device ipl). 76 1.1 thorpej #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 77 1.1 thorpej 78 1.1 thorpej # Compatibility options 79 1.1 thorpej 80 1.1 thorpej options COMPAT_43 # 4.3BSD compatibility. 81 1.21 christos options COMPAT_30 # NetBSD 3.0 compatibility. 82 1.18 simonb options COMPAT_20 # NetBSD 2.0 compatibility. 83 1.10 chris options COMPAT_16 # NetBSD 1.6 compatibility. 84 1.1 thorpej options COMPAT_12 # NetBSD 1.2 compatibility. 85 1.1 thorpej #options COMPAT_11 # NetBSD 1.1 compatibility. 86 1.1 thorpej #options COMPAT_10 # NetBSD 1.0 compatibility. 87 1.1 thorpej #options COMPAT_09 # NetBSD 0.9 compatibility. 88 1.1 thorpej #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 89 1.15 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 90 1.1 thorpej 91 1.1 thorpej # Shared memory options 92 1.1 thorpej 93 1.1 thorpej options SYSVMSG # System V-like message queues 94 1.1 thorpej options SYSVSEM # System V-like semaphores 95 1.1 thorpej options SYSVSHM # System V-like memory sharing 96 1.1 thorpej options SHMMAXPGS=1024 # 1024 pages is the default 97 1.1 thorpej 98 1.1 thorpej # Device options 99 1.1 thorpej 100 1.1 thorpej #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 101 1.2 lukem #options MEMORY_DISK_ROOT_SIZE=0 # Size in KBytes 102 1.1 thorpej 103 1.1 thorpej # Miscellaneous kernel options 104 1.1 thorpej options KTRACE # system call tracing, a la ktrace(1) 105 1.1 thorpej options IRQSTATS # manage IRQ statistics 106 1.1 thorpej #options LKM # loadable kernel modules 107 1.1 thorpej options KMEMSTATS # kernel memory statistics 108 1.6 lukem options USERCONF # userconf(4) support 109 1.1 thorpej #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 110 1.12 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 111 1.1 thorpej 112 1.1 thorpej # Development and Debugging options 113 1.1 thorpej 114 1.1 thorpej #options ARM700BUGTRACK # track the ARM700 swi bug 115 1.1 thorpej #options PORTMASTER # Enable PortMaster only options 116 1.1 thorpej options DIAGNOSTIC # internally consistency checks 117 1.1 thorpej #options IPKDB # remote kernel debugging 118 1.1 thorpej options DDB # in-kernel debugger 119 1.1 thorpej #makeoptions DEBUG="-g" # compile full symbol table 120 1.1 thorpej 121 1.1 thorpej config netbsd root on ofnet0 type nfs 122 1.1 thorpej #config netbsd root nfs swap nfs 123 1.1 thorpej 124 1.1 thorpej # The main bus device 125 1.1 thorpej mainbus0 at root 126 1.1 thorpej 127 1.11 wiz # The boot CPU 128 1.1 thorpej cpu0 at mainbus? 129 1.1 thorpej 130 1.1 thorpej # Open Firmware devices 131 1.1 thorpej ofbus* at root 132 1.1 thorpej ofbus* at ofbus? 133 1.1 thorpej ofdisk* at ofbus? 134 1.1 thorpej ofnet* at ofbus? 135 1.1 thorpej ofcons* at ofbus? 136 1.1 thorpej ofrtc* at ofbus? 137 1.1 thorpej ofrom* at ofbus? 138 1.1 thorpej 139 1.1 thorpej pseudo-device loop 1 # network loopback 140 1.1 thorpej pseudo-device bpfilter 8 # packet filter 141 1.1 thorpej #pseudo-device sl 2 # CSLIP 142 1.1 thorpej #pseudo-device ppp 2 # PPP 143 1.1 thorpej #pseudo-device tun 2 # network tunneling over tty 144 1.1 thorpej #pseudo-device ipfilter 1 # ip filter 145 1.1 thorpej 146 1.1 thorpej pseudo-device pty # pseudo-terminals 147 1.1 thorpej #pseudo-device tb 1 # tablet line discipline 148 1.1 thorpej pseudo-device vnd 4 # disk-like interface to files 149 1.1 thorpej #pseudo-device ccd 2 # concatenated disk devices 150 1.16 hannken #pseudo-device fss 4 # file system snapshot device 151 1.1 thorpej pseudo-device rnd # /dev/random and /dev/urandom 152 1.1 thorpej 153 1.1 thorpej #pseudo-device md 1 # Ramdisk driver 154 1.5 lukem pseudo-device clockctl # user control of clock subsystem 155 1.13 thorpej pseudo-device openfirm # /dev/openfirm 156