IQ80310 revision 1.52 1 # $NetBSD: IQ80310,v 1.52 2006/02/05 05:01:49 cube Exp $
2 #
3 # IQ80310 -- Intel IQ80310 Evaluation Board Kernel
4 #
5
6 include "arch/evbarm/conf/std.iq80310"
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 # For StrongARM systems
22 options CPU_XSCALE_80200 # Support the XScale core
23 makeoptions CPUFLAGS="-mcpu=xscale"
24 options XSCALE_CCLKCFG=9 # 733MHz
25 options XSCALE_NO_COALESCE_WRITES
26
27 # Architecture options
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 FFS_NO_SNAPSHOT # No FFS snapshot support
54
55 # Networking options
56
57 #options GATEWAY # packet forwarding
58 options INET # IP + ICMP + TCP + UDP
59 options INET6 # IPV6
60 #options IPSEC # IP security
61 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
62 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
63 #options IPSEC_DEBUG # debug for IP security
64 #options MROUTING # IP multicast routing
65 #options PIM # Protocol Independent Multicast
66 #options NS # XNS
67 #options NSIP # XNS tunneling over IP
68 #options ISO,TPIP # OSI
69 #options EON # OSI tunneling over IP
70 #options CCITT,LLC,HDLC # X.25
71 #options NETATALK # AppleTalk networking
72 #options PFIL_HOOKS # pfil(9) packet filter hooks
73 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
74 #options PPP_DEFLATE # Deflate compression support for PPP
75 #options PPP_FILTER # Active filter support for PPP (requires bpf)
76 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
77
78 options NFS_BOOT_BOOTP
79 options NFS_BOOT_DHCP
80 #options NFS_BOOT_BOOTPARAM
81
82 # Compatibility options
83
84 #options COMPAT_43 # 4.3BSD compatibility.
85 options COMPAT_30 # NetBSD 3.0 compatibility.
86 options COMPAT_20 # NetBSD 2.0 compatibility.
87 options COMPAT_16 # NetBSD 1.6 compatibility.
88 options COMPAT_15 # NetBSD 1.5 compatibility.
89 options COMPAT_14 # NetBSD 1.4 compatibility.
90 #options COMPAT_13 # NetBSD 1.3 compatibility.
91 #options COMPAT_12 # NetBSD 1.2 compatibility.
92 #options COMPAT_11 # NetBSD 1.1 compatibility.
93 #options COMPAT_10 # NetBSD 1.0 compatibility.
94 #options COMPAT_09 # NetBSD 0.9 compatibility.
95 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
96 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
97
98 # Shared memory options
99
100 options SYSVMSG # System V-like message queues
101 options SYSVSEM # System V-like semaphores
102 #options SEMMNI=10 # number of semaphore identifiers
103 #options SEMMNS=60 # number of semaphores in system
104 #options SEMUME=10 # max number of undo entries per process
105 #options SEMMNU=30 # number of undo structures in system
106 options SYSVSHM # System V-like memory sharing
107 options SHMMAXPGS=1024 # 1024 pages is the default
108
109 # Device options
110
111 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
112 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
113 #options MEMORY_DISK_IS_ROOT # use memory disk as root
114
115 # Console options. The default console is on connector J9 ("com0") at
116 # 115200 baud.
117 #options CONSPEED=9600 # Console speed
118 #options CONUNIT=1 # Console unit (0=J9, 1=J10)
119
120 # Miscellaneous kernel options
121 options KTRACE # system call tracing, a la ktrace(1)
122 options IRQSTATS # manage IRQ statistics
123 #options LKM # loadable kernel modules
124 #options KMEMSTATS # kernel memory statistics
125 #options SCSIVERBOSE # Verbose SCSI errors
126 options PCIVERBOSE # Verbose PCI descriptions
127 options MIIVERBOSE # Verbose MII autoconfuration messages
128 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
129 #options DDB_KEYCODE=0x40
130 options USERCONF # userconf(4) support
131 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
132 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
133
134 # Development and Debugging options
135
136 options DIAGNOSTIC # internally consistency checks
137 #options DEBUG
138 #options PMAP_DEBUG # Enable pmap_debug_level code
139 #options IPKDB # remote kernel debugging
140 #options VERBOSE_INIT_ARM # verbose bootstraping messages
141 options DDB # in-kernel debugger
142 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
143 #makeoptions DEBUG="-g" # compile full symbol table
144 options SYMTAB_SPACE=240000
145
146 config netbsd root on ? type ?
147 config netbsd-fxp0 root on fxp0 type nfs
148 config netbsd-wd0 root on wd0 type ffs
149 config netbsd-sd0 root on sd0 type ffs
150
151 # The main bus device
152 mainbus0 at root
153
154 # The boot CPU
155 cpu0 at mainbus?
156
157 # On-board device support
158 obio* at mainbus?
159
160 # On-board XR 16550 UARTs.
161 # Order these so the first UART matches is the one at J9
162 # and the second one is the one at J10.
163 com0 at obio? addr 0xfe810000 xint3 3
164 com1 at obio? addr 0xfe800000 xint3 2
165
166 # i80312 Companion I/O support
167 iopxs* at mainbus?
168
169 iopiic* at iopxs? # I2C Controller Unit
170 iic* at iopiic?
171
172 pci0 at iopxs? bus ?
173
174 # PCI-PCI bridges
175 ppb0 at pci0 dev 7 function ? # on-board 21154
176 pci1 at ppb0 bus ?
177
178 ppb* at pci? dev ? function ?
179 pci* at ppb? bus ?
180
181 #
182 # Storage devices
183 #
184
185 # PCI IDE/S-ATA controllers and devices
186 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
187 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
188 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
189 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
190 pdcide* at pci? dev ? function ? # Promise IDE controllers
191 pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
192 satalink* at pci? dev ? function ? # SiI SATALink controllers
193
194 atabus* at ata? channel ?
195 wd* at atabus? drive ? flags 0x0000
196
197 # PCI SCSI controllers
198 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
199 isp* at pci? dev ? function ? # Qlogic ISP SCSI
200 siop* at pci? dev ? function ? # Symbios/LSI 53c8xx SCSI
201 esiop* at pci? dev ? function ? # Symbios/LSI 53c8xx SCSI
202 mpt* at pci? dev ? function ? # LSI Fusion SCSI/FC
203
204 scsibus* at scsi?
205
206 # SCSI devices
207 sd* at scsibus? target ? lun ? # SCSI disk drives
208 st* at scsibus? target ? lun ? # SCSI tape drives
209 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
210 #ch* at scsibus? target ? lun ? # SCSI media changers
211 #uk* at scsibus? target ? lun ? # unknown SCSI devices
212
213 #
214 # Networking devices
215 #
216
217 # PCI network devices
218 fxp0 at pci1 dev 0 function ? # on-board i82559
219 fxp* at pci? dev ? function ? # Intel i8255x 10/100 Eth.
220
221 # MII/PHY support
222 inphy* at mii? phy ? # Intel i82555 10/100 PHYs
223 ukphy* at mii? phy ? # Generic IEEE 802.3u PHYs
224
225 # Pseudo-Devices
226
227 # disk/mass storage pseudo-devices
228 #pseudo-device md 1 # memory disk device (ramdisk)
229 pseudo-device vnd # disk-like interface to files
230 #pseudo-device fss 4 # file system snapshot device
231
232 # network pseudo-devices
233 pseudo-device bpfilter # Berkeley packet filter
234 pseudo-device loop # network loopback
235
236 # miscellaneous pseudo-devices
237 pseudo-device pty # pseudo-terminals
238 pseudo-device rnd # /dev/random and in-kernel generator
239 pseudo-device clockctl # user control of clock subsystem
240 pseudo-device ksyms # /dev/ksyms
241