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