IQ80310 revision 1.85 1 # $NetBSD: IQ80310,v 1.85 2014/08/16 17:56:31 apb 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 PROCFS # /proc
43 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
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 # legacy UFS quotas
50 #options QUOTA2 # new, in-filesystem UFS quotas
51 #options FFS_EI # FFS Endian Independent support
52 options NFSSERVER
53 options WAPBL # File system journaling support
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_DEBUG # debug for IP security
63 #options MROUTING # IP multicast routing
64 #options PIM # Protocol Independent Multicast
65 #options NETATALK # AppleTalk networking
66 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
67 #options PPP_DEFLATE # Deflate compression support for PPP
68 #options PPP_FILTER # Active filter support for PPP (requires bpf)
69 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
70
71 options NFS_BOOT_BOOTP
72 options NFS_BOOT_DHCP
73 #options NFS_BOOT_BOOTPARAM
74
75 # Compatibility options
76
77 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
78 #options COMPAT_43 # 4.3BSD compatibility.
79 options COMPAT_70 # NetBSD 7.0 compatibility.
80 options COMPAT_60 # NetBSD 6.0 compatibility.
81 options COMPAT_50 # NetBSD 5.0 compatibility.
82 options COMPAT_40 # NetBSD 4.0 compatibility.
83 options COMPAT_30 # NetBSD 3.0 compatibility.
84 options COMPAT_20 # NetBSD 2.0 compatibility.
85 options COMPAT_16 # NetBSD 1.6 compatibility.
86 options COMPAT_15 # NetBSD 1.5 compatibility.
87 options COMPAT_14 # NetBSD 1.4 compatibility.
88 #options COMPAT_13 # NetBSD 1.3 compatibility.
89 #options COMPAT_12 # NetBSD 1.2 compatibility.
90 #options COMPAT_11 # NetBSD 1.1 compatibility.
91 #options COMPAT_10 # NetBSD 1.0 compatibility.
92 #options COMPAT_09 # NetBSD 0.9 compatibility.
93 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
94 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
95
96 # Shared memory options
97
98 options SYSVMSG # System V-like message queues
99 options SYSVSEM # System V-like semaphores
100 options SYSVSHM # System V-like memory sharing
101
102 # Device options
103
104 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
105 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
106 #options MEMORY_DISK_IS_ROOT # use memory disk as root
107
108 # Console options. The default console is on connector J9 ("com0") at
109 # 115200 baud.
110 #options CONSPEED=9600 # Console speed
111 #options CONUNIT=1 # Console unit (0=J9, 1=J10)
112
113 # Miscellaneous kernel options
114 options KTRACE # system call tracing, a la ktrace(1)
115 options IRQSTATS # manage IRQ statistics
116 #options KMEMSTATS # kernel memory statistics
117 #options SCSIVERBOSE # Verbose SCSI errors
118 options PCIVERBOSE # Verbose PCI descriptions
119 options MIIVERBOSE # Verbose MII autoconfuration messages
120 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
121 #options DDB_KEYCODE=0x40
122 options USERCONF # userconf(4) support
123 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
124 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
125
126 # Development and Debugging options
127
128 options DIAGNOSTIC # internal consistency checks
129 #options DEBUG
130 #options PMAP_DEBUG # Enable pmap_debug_level code
131 #options VERBOSE_INIT_ARM # verbose bootstraping messages
132 options DDB # in-kernel debugger
133 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
134 #makeoptions DEBUG="-g" # compile full symbol table
135 options SYMTAB_SPACE=550000
136
137 config netbsd root on ? type ?
138 config netbsd-fxp0 root on fxp0 type nfs
139 config netbsd-wd0 root on wd0 type ffs
140 config netbsd-sd0 root on sd0 type ffs
141
142 # The main bus device
143 mainbus0 at root
144
145 # The boot CPU
146 cpu0 at mainbus?
147
148 # On-board device support
149 obio* at mainbus?
150
151 # On-board XR 16550 UARTs.
152 # Order these so the first UART matches is the one at J9
153 # and the second one is the one at J10.
154 com0 at obio? addr 0xfe810000 xint3 3
155 com1 at obio? addr 0xfe800000 xint3 2
156
157 # i80312 Companion I/O support
158 iopxs* at mainbus?
159
160 iopiic* at iopxs? # I2C Controller Unit
161 iic* at iopiic?
162
163 pci0 at iopxs? bus ?
164
165 # PCI-PCI bridges
166 ppb0 at pci0 dev 7 function ? # on-board 21154
167 pci1 at ppb0 bus ?
168
169 ppb* at pci? dev ? function ?
170 pci* at ppb? bus ?
171
172 #
173 # Storage devices
174 #
175
176 # PCI IDE/S-ATA controllers and devices
177 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
178 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
179 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
180 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
181 pdcide* at pci? dev ? function ? # Promise IDE controllers
182 pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
183 satalink* at pci? dev ? function ? # SiI SATALink controllers
184
185 atabus* at ata? channel ?
186 wd* at atabus? drive ? flags 0x0000
187
188 # PCI SCSI controllers
189 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
190 isp* at pci? dev ? function ? # Qlogic ISP SCSI
191 siop* at pci? dev ? function ? # Symbios/LSI 53c8xx SCSI
192 esiop* at pci? dev ? function ? # Symbios/LSI 53c8xx SCSI
193 mpt* at pci? dev ? function ? # LSI Fusion SCSI/FC
194
195 scsibus* at scsi?
196
197 # SCSI devices
198 sd* at scsibus? target ? lun ? # SCSI disk drives
199 st* at scsibus? target ? lun ? # SCSI tape drives
200 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
201 #ch* at scsibus? target ? lun ? # SCSI media changers
202 #uk* at scsibus? target ? lun ? # unknown SCSI devices
203
204 #
205 # Networking devices
206 #
207
208 # PCI network devices
209 fxp0 at pci1 dev 0 function ? # on-board i82559
210 fxp* at pci? dev ? function ? # Intel i8255x 10/100 Eth.
211
212 # MII/PHY support
213 inphy* at mii? phy ? # Intel i82555 10/100 PHYs
214 ukphy* at mii? phy ? # Generic IEEE 802.3u PHYs
215
216 # Pseudo-Devices
217
218 # disk/mass storage pseudo-devices
219 #pseudo-device md # memory disk device (ramdisk)
220 pseudo-device vnd # disk-like interface to files
221 #pseudo-device fss # file system snapshot device
222 #pseudo-device putter # for puffs and pud
223
224 # network pseudo-devices
225 pseudo-device bpfilter # Berkeley packet filter
226 pseudo-device loop # network loopback
227
228 # miscellaneous pseudo-devices
229 pseudo-device pty # pseudo-terminals
230 pseudo-device clockctl # user control of clock subsystem
231 pseudo-device ksyms # /dev/ksyms
232