1 1.41 christos # $NetBSD: OFWGENCFG,v 1.41 2013/04/27 18:19:51 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 # File systems 33 1.1 thorpej 34 1.1 thorpej file-system FFS # UFS 35 1.1 thorpej #file-system LFS # log-structured file system 36 1.1 thorpej file-system MFS # memory file system 37 1.1 thorpej file-system NFS 38 1.1 thorpej #file-system ADOSFS # AmigaDOS-compatible file system 39 1.1 thorpej #file-system EXT2FS # second extended file system (linux) 40 1.1 thorpej #file-system CD9660 # ISO 9660 + Rock Ridge file system 41 1.1 thorpej #file-system MSDOSFS # MS-DOS file system 42 1.1 thorpej #file-system FDESC # /dev/fd 43 1.1 thorpej #file-system FILECORE # Acorn filecore file system 44 1.1 thorpej file-system KERNFS # /kern 45 1.1 thorpej #file-system NULLFS # loopback file system 46 1.1 thorpej #file-system PROCFS # /proc 47 1.1 thorpej #file-system UMAPFS # NULLFS + uid and gid remapping 48 1.1 thorpej #file-system UNION # union file system 49 1.22 christos #file-system PTYFS # /dev/pts/N support 50 1.1 thorpej 51 1.1 thorpej # File system options 52 1.37 bouyer #options QUOTA # legacy UFS quotas 53 1.37 bouyer #options QUOTA2 # new, in-filesystem UFS quotas 54 1.1 thorpej #options NFSSERVER 55 1.1 thorpej options NFS_BOOT_DHCP # NFS booting via DHCP 56 1.1 thorpej options NFS_BOOT_RWSIZE=1024 # OFW driver can't cope with more 57 1.23 tsutsui options FFS_NO_SNAPSHOT # No FFS snapshot support 58 1.1 thorpej 59 1.1 thorpej # Networking options 60 1.1 thorpej 61 1.1 thorpej #options GATEWAY # packet forwarding 62 1.1 thorpej options INET # IP + ICMP + TCP + UDP 63 1.1 thorpej #options MROUTING # IP multicast routing 64 1.14 manu #options PIM # Protocol Independent Multicast 65 1.1 thorpej #options PFIL_HOOKS # pfil(9) packet filter hooks (Required 66 1.1 thorpej # if you enable the pseudo-device ipl). 67 1.1 thorpej #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 68 1.1 thorpej 69 1.1 thorpej # Compatibility options 70 1.1 thorpej 71 1.1 thorpej options COMPAT_43 # 4.3BSD compatibility. 72 1.31 tsutsui options COMPAT_40 # NetBSD 4.0 compatibility. 73 1.21 christos options COMPAT_30 # NetBSD 3.0 compatibility. 74 1.18 simonb options COMPAT_20 # NetBSD 2.0 compatibility. 75 1.10 chris options COMPAT_16 # NetBSD 1.6 compatibility. 76 1.1 thorpej options COMPAT_12 # NetBSD 1.2 compatibility. 77 1.1 thorpej #options COMPAT_11 # NetBSD 1.1 compatibility. 78 1.1 thorpej #options COMPAT_10 # NetBSD 1.0 compatibility. 79 1.1 thorpej #options COMPAT_09 # NetBSD 0.9 compatibility. 80 1.1 thorpej #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 81 1.15 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 82 1.1 thorpej 83 1.1 thorpej # Shared memory options 84 1.1 thorpej 85 1.1 thorpej options SYSVMSG # System V-like message queues 86 1.1 thorpej options SYSVSEM # System V-like semaphores 87 1.1 thorpej options SYSVSHM # System V-like memory sharing 88 1.1 thorpej 89 1.1 thorpej # Device options 90 1.1 thorpej 91 1.1 thorpej #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 92 1.2 lukem #options MEMORY_DISK_ROOT_SIZE=0 # Size in KBytes 93 1.1 thorpej 94 1.1 thorpej # Miscellaneous kernel options 95 1.1 thorpej options KTRACE # system call tracing, a la ktrace(1) 96 1.1 thorpej options IRQSTATS # manage IRQ statistics 97 1.1 thorpej options KMEMSTATS # kernel memory statistics 98 1.6 lukem options USERCONF # userconf(4) support 99 1.1 thorpej #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 100 1.12 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 101 1.1 thorpej 102 1.1 thorpej # Development and Debugging options 103 1.1 thorpej 104 1.1 thorpej #options ARM700BUGTRACK # track the ARM700 swi bug 105 1.1 thorpej #options PORTMASTER # Enable PortMaster only options 106 1.1 thorpej options DIAGNOSTIC # internally consistency checks 107 1.1 thorpej options DDB # in-kernel debugger 108 1.1 thorpej #makeoptions DEBUG="-g" # compile full symbol table 109 1.1 thorpej 110 1.1 thorpej config netbsd root on ofnet0 type nfs 111 1.1 thorpej #config netbsd root nfs swap nfs 112 1.1 thorpej 113 1.1 thorpej # The main bus device 114 1.1 thorpej mainbus0 at root 115 1.1 thorpej 116 1.11 wiz # The boot CPU 117 1.1 thorpej cpu0 at mainbus? 118 1.1 thorpej 119 1.1 thorpej # Open Firmware devices 120 1.1 thorpej ofbus* at root 121 1.1 thorpej ofbus* at ofbus? 122 1.1 thorpej ofdisk* at ofbus? 123 1.1 thorpej ofnet* at ofbus? 124 1.1 thorpej ofcons* at ofbus? 125 1.1 thorpej ofrtc* at ofbus? 126 1.1 thorpej ofrom* at ofbus? 127 1.1 thorpej 128 1.29 jmmv # Pull in optional local configuration 129 1.30 jmmv cinclude "arch/shark/conf/GENERIC.local" 130 1.29 jmmv 131 1.41 christos pseudo-device loop # network loopback 132 1.25 rpaulo pseudo-device bpfilter # packet filter 133 1.26 cube #pseudo-device sl # CSLIP 134 1.26 cube #pseudo-device ppp # PPP 135 1.26 cube #pseudo-device tun # network tunneling over tty 136 1.41 christos #pseudo-device ipfilter # ip filter 137 1.1 thorpej 138 1.1 thorpej pseudo-device pty # pseudo-terminals 139 1.26 cube pseudo-device vnd # disk-like interface to files 140 1.41 christos #pseudo-device ccd # concatenated disk devices 141 1.35 pooka #pseudo-device fss # file system snapshot device 142 1.1 thorpej 143 1.36 hannken #pseudo-device md # Ramdisk driver 144 1.5 lukem pseudo-device clockctl # user control of clock subsystem 145 1.13 thorpej pseudo-device openfirm # /dev/openfirm 146