1 1.43 dholland # $NetBSD: OFWGENCFG,v 1.43 2014/07/27 03:34:41 dholland 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 # if you enable the pseudo-device ipl). 66 1.1 thorpej #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 67 1.1 thorpej 68 1.1 thorpej # Compatibility options 69 1.1 thorpej 70 1.1 thorpej options COMPAT_43 # 4.3BSD compatibility. 71 1.31 tsutsui options COMPAT_40 # NetBSD 4.0 compatibility. 72 1.21 christos options COMPAT_30 # NetBSD 3.0 compatibility. 73 1.18 simonb options COMPAT_20 # NetBSD 2.0 compatibility. 74 1.10 chris options COMPAT_16 # NetBSD 1.6 compatibility. 75 1.1 thorpej options COMPAT_12 # NetBSD 1.2 compatibility. 76 1.1 thorpej #options COMPAT_11 # NetBSD 1.1 compatibility. 77 1.1 thorpej #options COMPAT_10 # NetBSD 1.0 compatibility. 78 1.1 thorpej #options COMPAT_09 # NetBSD 0.9 compatibility. 79 1.1 thorpej #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 80 1.15 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 81 1.1 thorpej 82 1.1 thorpej # Shared memory options 83 1.1 thorpej 84 1.1 thorpej options SYSVMSG # System V-like message queues 85 1.1 thorpej options SYSVSEM # System V-like semaphores 86 1.1 thorpej options SYSVSHM # System V-like memory sharing 87 1.1 thorpej 88 1.1 thorpej # Device options 89 1.1 thorpej 90 1.1 thorpej #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 91 1.2 lukem #options MEMORY_DISK_ROOT_SIZE=0 # Size in KBytes 92 1.1 thorpej 93 1.1 thorpej # Miscellaneous kernel options 94 1.1 thorpej options KTRACE # system call tracing, a la ktrace(1) 95 1.1 thorpej options IRQSTATS # manage IRQ statistics 96 1.1 thorpej options KMEMSTATS # kernel memory statistics 97 1.6 lukem options USERCONF # userconf(4) support 98 1.1 thorpej #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 99 1.12 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 100 1.1 thorpej 101 1.1 thorpej # Development and Debugging options 102 1.1 thorpej 103 1.1 thorpej #options ARM700BUGTRACK # track the ARM700 swi bug 104 1.1 thorpej #options PORTMASTER # Enable PortMaster only options 105 1.43 dholland options DIAGNOSTIC # internal consistency checks 106 1.1 thorpej options DDB # in-kernel debugger 107 1.1 thorpej #makeoptions DEBUG="-g" # compile full symbol table 108 1.1 thorpej 109 1.1 thorpej config netbsd root on ofnet0 type nfs 110 1.1 thorpej #config netbsd root nfs swap nfs 111 1.1 thorpej 112 1.1 thorpej # The main bus device 113 1.1 thorpej mainbus0 at root 114 1.1 thorpej 115 1.11 wiz # The boot CPU 116 1.1 thorpej cpu0 at mainbus? 117 1.1 thorpej 118 1.1 thorpej # Open Firmware devices 119 1.1 thorpej ofbus* at root 120 1.1 thorpej ofbus* at ofbus? 121 1.1 thorpej ofdisk* at ofbus? 122 1.1 thorpej ofnet* at ofbus? 123 1.1 thorpej ofcons* at ofbus? 124 1.1 thorpej ofrtc* at ofbus? 125 1.1 thorpej ofrom* at ofbus? 126 1.1 thorpej 127 1.29 jmmv # Pull in optional local configuration 128 1.30 jmmv cinclude "arch/shark/conf/GENERIC.local" 129 1.29 jmmv 130 1.41 christos pseudo-device loop # network loopback 131 1.25 rpaulo pseudo-device bpfilter # packet filter 132 1.26 cube #pseudo-device sl # CSLIP 133 1.26 cube #pseudo-device ppp # PPP 134 1.26 cube #pseudo-device tun # network tunneling over tty 135 1.41 christos #pseudo-device ipfilter # ip filter 136 1.1 thorpej 137 1.1 thorpej pseudo-device pty # pseudo-terminals 138 1.26 cube pseudo-device vnd # disk-like interface to files 139 1.41 christos #pseudo-device ccd # concatenated disk devices 140 1.35 pooka #pseudo-device fss # file system snapshot device 141 1.1 thorpej 142 1.36 hannken #pseudo-device md # Ramdisk driver 143 1.5 lukem pseudo-device clockctl # user control of clock subsystem 144 1.13 thorpej pseudo-device openfirm # /dev/openfirm 145