IQ80310 revision 1.77 1 # $NetBSD: IQ80310,v 1.77 2012/09/11 19:43:09 msaitoh 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_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_50 # NetBSD 5.0 compatibility.
84 options COMPAT_40 # NetBSD 4.0 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 SYSVSHM # System V-like memory sharing
103
104 # Device options
105
106 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
107 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
108 #options MEMORY_DISK_IS_ROOT # use memory disk as root
109
110 # Console options. The default console is on connector J9 ("com0") at
111 # 115200 baud.
112 #options CONSPEED=9600 # Console speed
113 #options CONUNIT=1 # Console unit (0=J9, 1=J10)
114
115 # Miscellaneous kernel options
116 options KTRACE # system call tracing, a la ktrace(1)
117 options IRQSTATS # manage IRQ statistics
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 DDB_KEYCODE=0x40
124 options USERCONF # userconf(4) support
125 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
126 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
127
128 # Development and Debugging options
129
130 options DIAGNOSTIC # internally consistency checks
131 #options DEBUG
132 #options PMAP_DEBUG # Enable pmap_debug_level code
133 #options VERBOSE_INIT_ARM # verbose bootstraping messages
134 options DDB # in-kernel debugger
135 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
136 #makeoptions DEBUG="-g" # compile full symbol table
137 options SYMTAB_SPACE=550000
138
139 config netbsd root on ? type ?
140 config netbsd-fxp0 root on fxp0 type nfs
141 config netbsd-wd0 root on wd0 type ffs
142 config netbsd-sd0 root on sd0 type ffs
143
144 # The main bus device
145 mainbus0 at root
146
147 # The boot CPU
148 cpu0 at mainbus?
149
150 # On-board device support
151 obio* at mainbus?
152
153 # On-board XR 16550 UARTs.
154 # Order these so the first UART matches is the one at J9
155 # and the second one is the one at J10.
156 com0 at obio? addr 0xfe810000 xint3 3
157 com1 at obio? addr 0xfe800000 xint3 2
158
159 # i80312 Companion I/O support
160 iopxs* at mainbus?
161
162 iopiic* at iopxs? # I2C Controller Unit
163 iic* at iopiic?
164
165 pci0 at iopxs? bus ?
166
167 # PCI-PCI bridges
168 ppb0 at pci0 dev 7 function ? # on-board 21154
169 pci1 at ppb0 bus ?
170
171 ppb* at pci? dev ? function ?
172 pci* at ppb? bus ?
173
174 #
175 # Storage devices
176 #
177
178 # PCI IDE/S-ATA controllers and devices
179 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
180 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
181 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
182 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
183 pdcide* at pci? dev ? function ? # Promise IDE controllers
184 pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
185 satalink* at pci? dev ? function ? # SiI SATALink controllers
186
187 atabus* at ata? channel ?
188 wd* at atabus? drive ? flags 0x0000
189
190 # PCI SCSI controllers
191 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
192 isp* at pci? dev ? function ? # Qlogic ISP SCSI
193 siop* at pci? dev ? function ? # Symbios/LSI 53c8xx SCSI
194 esiop* at pci? dev ? function ? # Symbios/LSI 53c8xx SCSI
195 mpt* at pci? dev ? function ? # LSI Fusion SCSI/FC
196
197 scsibus* at scsi?
198
199 # SCSI devices
200 sd* at scsibus? target ? lun ? # SCSI disk drives
201 st* at scsibus? target ? lun ? # SCSI tape drives
202 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
203 #ch* at scsibus? target ? lun ? # SCSI media changers
204 #uk* at scsibus? target ? lun ? # unknown SCSI devices
205
206 #
207 # Networking devices
208 #
209
210 # PCI network devices
211 fxp0 at pci1 dev 0 function ? # on-board i82559
212 fxp* at pci? dev ? function ? # Intel i8255x 10/100 Eth.
213
214 # MII/PHY support
215 inphy* at mii? phy ? # Intel i82555 10/100 PHYs
216 ukphy* at mii? phy ? # Generic IEEE 802.3u PHYs
217
218 # Pseudo-Devices
219
220 # disk/mass storage pseudo-devices
221 #pseudo-device md # memory disk device (ramdisk)
222 pseudo-device vnd # disk-like interface to files
223 #pseudo-device fss # file system snapshot device
224 #pseudo-device putter # for puffs and pud
225
226 # network pseudo-devices
227 pseudo-device bpfilter # Berkeley packet filter
228 pseudo-device loop # network loopback
229
230 # miscellaneous pseudo-devices
231 pseudo-device pty # pseudo-terminals
232 pseudo-device clockctl # user control of clock subsystem
233 pseudo-device ksyms # /dev/ksyms
234