INTEGRATOR revision 1.52 1 # $NetBSD: INTEGRATOR,v 1.52 2008/07/31 07:41:00 simonb Exp $
2 #
3 # GENERIC -- ARM Integrator board Generic kernel
4 #
5
6 include "arch/evbarm/conf/std.integrator"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10 # estimated number of users
11
12 maxusers 32
13
14 # Standard system options
15
16 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
17 options NTP # NTP phase/frequency locked loop
18
19 # CPU options
20
21 options CPU_ARM9 # Support the ARM9TDMI core
22 options CPU_ARM10 # Support the ARM10 core
23 options CPU_ARM11 # Support the ARM11 core
24 options FPU_VFP
25
26 # XXX Should be armv5 for ARM10 processor.
27 makeoptions CPUFLAGS="-march=armv4"
28
29 # File systems
30
31 file-system FFS # UFS
32 #file-system LFS # log-structured file system
33 file-system MFS # memory file system
34 file-system NFS # Network file system
35 #file-system ADOSFS # AmigaDOS-compatible file system
36 #file-system EXT2FS # second extended file system (linux)
37 #file-system CD9660 # ISO 9660 + Rock Ridge file system
38 #file-system MSDOSFS # MS-DOS file system
39 #file-system FDESC # /dev/fd
40 file-system KERNFS # /kern
41 #file-system NULLFS # loopback file system
42 #file-system PORTAL # portal filesystem (still experimental)
43 file-system PROCFS # /proc
44 #file-system UMAPFS # NULLFS + uid and gid remapping
45 #file-system UNION # union file system
46 file-system PTYFS # /dev/pts/N support
47
48 # File system options
49 #options QUOTA # UFS quotas
50 #options FFS_EI # FFS Endian Independant support
51 #options NFSSERVER
52 options SOFTDEP
53 options WAPBL # File system journaling support - Experimental
54 #options FFS_NO_SNAPSHOT # No FFS snapshot support
55
56 # Networking options
57
58 #options GATEWAY # packet forwarding
59 options INET # IP + ICMP + TCP + UDP
60 options INET6 # IPV6
61 #options IPSEC # IP security
62 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
63 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
64 #options IPSEC_DEBUG # debug for IP security
65 #options MROUTING # IP multicast routing
66 #options PIM # Protocol Independent Multicast
67 #options ISO,TPIP # OSI
68 #options EON # OSI tunneling over IP
69 #options NETATALK # AppleTalk networking
70 #options PFIL_HOOKS # pfil(9) packet filter hooks
71 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
72 #options PPP_DEFLATE # Deflate compression support for PPP
73 #options PPP_FILTER # Active filter support for PPP (requires bpf)
74 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
75
76 options NFS_BOOT_BOOTP
77 options NFS_BOOT_DHCP
78 options NFS_BOOT_BOOTPARAM
79
80 # Compatibility options
81
82 #options COMPAT_43 # 4.3BSD compatibility.
83 options COMPAT_40 # NetBSD 4.0 compatibility.
84 options COMPAT_30 # NetBSD 3.0 compatibility.
85 options COMPAT_20 # NetBSD 2.0 compatibility.
86 options COMPAT_16 # NetBSD 1.6 compatibility.
87 options COMPAT_15 # NetBSD 1.5 compatibility.
88 #options COMPAT_14 # NetBSD 1.4 compatibility.
89 #options COMPAT_13 # NetBSD 1.3 compatibility.
90 #options COMPAT_12 # NetBSD 1.2 compatibility.
91 #options COMPAT_11 # NetBSD 1.1 compatibility.
92 #options COMPAT_10 # NetBSD 1.0 compatibility.
93 #options COMPAT_09 # NetBSD 0.9 compatibility.
94 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
95 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
96
97 # Shared memory options
98
99 #options SYSVMSG # System V-like message queues
100 #options SYSVSEM # System V-like semaphores
101 #options SEMMNI=10 # number of semaphore identifiers
102 #options SEMMNS=60 # number of semaphores in system
103 #options SEMUME=10 # max number of undo entries per process
104 #options SEMMNU=30 # number of undo structures in system
105 #options SYSVSHM # System V-like memory sharing
106 #options SHMMAXPGS=1024 # 1024 pages is the default
107
108 # Device options
109
110 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
111 #options MEMORY_DISK_ROOT_SIZE=4000 # Size in blocks
112 #options MEMORY_DISK_IS_ROOT # use memory disk as root
113
114 # Miscellaneous kernel options
115 options KTRACE # system call tracing, a la ktrace(1)
116 options IRQSTATS # manage IRQ statistics
117 #options LKM # loadable kernel modules
118 #options KMEMSTATS # kernel memory statistics
119 options SCSIVERBOSE # Verbose SCSI errors
120 options PCIVERBOSE # Verbose PCI descriptions
121 options MIIVERBOSE # Verbose MII autoconfuration messages
122 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
123 options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to
124 # configure PCI devices
125 options PCI_CONFIGURE_VERBOSE # Show PCI config information
126 options DDB_KEYCODE=0x1d # Enter ddb on ^]
127 options USERCONF # userconf(4) support
128 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
129 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
130
131 # Development and Debugging options
132
133 #options ARM700BUGTRACK # track the ARM700 swi bug
134 #options PORTMASTER # Enable PortMaster only options
135 #options DIAGNOSTIC # internal consistency checks
136 #options PMAP_DEBUG # Enable pmap_debug_level code
137 options DDB # in-kernel debugger
138 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
139 #options UVMHIST
140 #makeoptions DEBUG="-g" # compile full symbol table
141 options SYMTAB_SPACE=350000
142 options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=38400,PLCONMODE=0xB00
143
144 config netbsd root on ? type ?
145 config netbsd-fxp0 root on fxp0 type nfs
146 config netbsd-sd0 root on sd0 type ffs
147
148 # The main bus device
149 mainbus0 at root
150
151 # The boot CPU
152 cpu0 at mainbus?
153
154 # Core logic
155 ifpga0 at mainbus?
156
157 # PL010 uart
158 plcom0 at ifpga? offset 0x06000000 irq 1
159 plcom1 at ifpga? offset 0x07000000 irq 2
160
161 # PL030 real time clock
162 plrtc0 at ifpga? offset 0x05000000
163
164 # PCI bus via ifpga
165 pci0 at ifpga? # PCI bus
166
167 # Compact PCI bus via PCI bridge.
168 ppb* at pci? dev? function ? # PCI-PCI bridges
169 pci* at ppb? bus ?
170
171 # PCI IDE Controllers and Devices
172 # PCI IDE controllers - see pciide(4) for supported hardware.
173 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
174 # how to set up DMA modes for this chip. This may work, or may cause
175 # a machine hang with some controllers.
176 #pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
177 #artsata* at pci? dev ? function ? # Intel i31244 SATA controller
178 #cmdide* at pci? dev ? function ? # CMD tech IDE controllers
179 #hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
180 #pdcide* at pci? dev ? function ? # Promise IDE controllers
181 #pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
182 #satalink* at pci? dev ? function ? # SiI SATALink controllers
183
184 # ATA bus support
185 #atabus* at ata? channel ?
186
187 # IDE drives
188 # Flags are used only with controllers that support DMA operations
189 # and mode settings (e.g. some pciide controllers)
190 # The lowest order four bits (rightmost digit) of the flags define the PIO
191 # mode to use, the next set of four bits the DMA mode and the third set the
192 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
193 # to use, and the last bit must be 1 for this setting to be used.
194 # For DMA and UDMA, 0xf (1111) means 'disable'.
195 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
196 # (0xc=1100, 0xa=1010, 0xf=1111)
197 # 0x0000 means "use whatever the drive claims to support".
198 #wd* at atabus? drive ? flags 0x0000 # the drives themselves
199
200 # PCI SCSI Controllers and Buses
201 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI Controllers
202 scsibus* at ahc?
203
204 # SCSI devices
205
206 sd* at scsibus? target ? lun ? # SCSI disk drives
207 st* at scsibus? target ? lun ? # SCSI tape drives
208 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
209 #ch* at scsibus? target ? lun ? # SCSI auto-changers drives
210 #uk* at scsibus? target ? lun ? # SCSI unknown drives
211 #ss* at scsibus? target ? lun ? # SCSI scanner
212
213 # PCI network interfaces
214 fxp* at pci? dev ? function ? # I82557/I82558 ethernet cards
215 #ne* at pci? dev ? function ? # NE2000 compat ethernet
216 #tlp* at pci? dev ? function ? # DECchip 21x4x and clones
217
218 # MII/PHY support
219 inphy* at mii? phy ? # Intel 82555 PHYs
220 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
221 ukphy* at mii? phy ? # generic unknown PHYs
222
223 # WSCONS Support
224 #options WSEMUL_VT100 # VT100 / VT220 emulation
225 #options WS_KERNEL_FG=WSCOL_GREEN
226 #pckbc0 at isa?
227 #pckbd* at pckbc?
228 #wskbd* at pckbd? console ?
229 #pms* at pckbc?
230 #wsmouse* at pms? mux 0
231
232 #vga* at pci? dev ? function ?
233 #wsdisplay* at vga? console ?
234
235 # Pseudo-Devices
236
237 # disk/mass storage pseudo-devices
238 #pseudo-device md 1 # memory disk device (ramdisk)
239 pseudo-device vnd # disk-like interface to files
240 #pseudo-device fss 4 # file system snapshot device
241
242 # network pseudo-devices
243 #pseudo-device bpfilter # Berkeley packet filter
244 #pseudo-device bridge # simple inter-network bridging
245 pseudo-device loop # network loopback
246
247 # miscellaneous pseudo-devices
248 pseudo-device pty # pseudo-terminals
249 pseudo-device rnd # /dev/random and in-kernel generator
250 pseudo-device clockctl # user control of clock subsystem
251 pseudo-device ksyms # /dev/ksyms
252