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