GUMSTIX revision 1.107 1 # $NetBSD: GUMSTIX,v 1.107 2020/09/27 13:48:50 roy Exp $
2 #
3 # GUMSTIX -- Gumstix. Inc. gumstix platforms kernel
4 #
5
6 include "arch/evbarm/conf/std.gumstix"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10 # estimated number of users
11
12 maxusers 32
13
14 # CPU options
15
16 # For XScale systems
17 options CPU_XSCALE_PXA250 # Support the basix/connex motherboards
18 options CPU_XSCALE_PXA270 # Support the verdex motherboards
19 makeoptions CPUFLAGS="-mcpu=xscale"
20
21 # Architecture options
22 #options XSCALE_CACHE_WRITE_THROUGH
23 options XSCALE_CACHE_READ_WRITE_ALLOCATE
24
25 # Gumstix options
26 options GUMSTIX
27 # if not specified 'busheader=' in args from u-boot, use GXIO_DEFAULT_EXPANSION.
28 options GUMSTIX_NETBSD_ARGS_BUSHEADER
29 options GUMSTIX_NETBSD_ARGS_CONSOLE # dynamically configure console
30 # 'console=lcd' or ffuart,stuart
31
32 # Standard system options
33
34 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
35 #options NTP # NTP phase/frequency locked loop
36
37 # File systems
38
39 file-system FFS # UFS
40 file-system EXT2FS # second extended file system (linux)
41 file-system LFS # log-structured file system
42 file-system MFS # memory file system
43 file-system NFS # Network File System client
44 #file-system NTFS # Windows/NT file system (experimental)
45 #file-system CD9660 # ISO 9660 + Rock Ridge file system
46 file-system MSDOSFS # MS-DOS file system
47 file-system FDESC # /dev/fd
48 file-system KERNFS # /kern
49 file-system NULLFS # loopback file system
50 file-system OVERLAY # overlay file system
51 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
52 file-system PROCFS # /proc
53 file-system UMAPFS # NULLFS + uid and gid remapping
54 file-system UNION # union file system
55 file-system CODA # Coda File System; also needs vcoda (below)
56 file-system PTYFS # /dev/ptm support
57 file-system TMPFS # Efficient memory file-system
58 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
59 #file-system HFS # experimental - Apple HFS+ (read-only)
60
61 # File system options
62 #options QUOTA # legacy UFS quotas
63 #options QUOTA2 # new, in-filesystem UFS quotas
64 #options DISKLABEL_EI # disklabel Endian Independent support
65 #options FFS_EI # FFS Endian Independent support
66 options WAPBL # File system journaling support
67 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
68 # It is not recommended for general use.
69 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
70 #options NFSSERVER # Network File System server
71 #options FFS_NO_SNAPSHOT # No FFS snapshot support
72 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
73 # immutable) behave as system flags.
74
75 # Networking options
76
77 #options GATEWAY # packet forwarding
78 options INET # IP + ICMP + TCP + UDP
79 options INET6 # IPv6
80 #options IPSEC # IP security
81 #options IPSEC_DEBUG # debug for IP security
82 #options MROUTING # IP multicast routing
83 #options PIM # Protocol Independent Multicast
84 #options NETATALK # AppleTalk networking
85 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
86 #options PPP_DEFLATE # Deflate compression support for PPP
87 #options PPP_FILTER # Active filter support for PPP (requires bpf)
88 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
89
90 options NFS_BOOT_BOOTP
91 options NFS_BOOT_DHCP
92 #options NFS_BOOT_BOOTPARAM
93
94 # Compatibility options
95
96 include "conf/compat_netbsd16.config"
97 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
98
99 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
100
101 # Shared memory options
102
103 #options SYSVMSG # System V-like message queues
104 #options SYSVSEM # System V-like semaphores
105 #options SYSVSHM # System V-like memory sharing
106
107 # Device options
108
109 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
110 #options MEMORY_DISK_IS_ROOT # use memory disk as root
111 #options MEMORY_DISK_DYNAMIC
112 #options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks
113
114 # Miscellaneous kernel options
115
116 options KTRACE # system call tracing, a la ktrace(1)
117 options IRQSTATS # manage IRQ statistics
118 options PCMCIAVERBOSE # verbose PCMCIA configuration messages
119 #options USBVERBOSE # verbose USB device autoconfig messages
120 options MIIVERBOSE # Verbose MII autoconfuration messages
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 LOCKDEBUG
131 #options UVMHIST # kernhist for uvm/pmap subsystems
132 #options VERBOSE_INIT_ARM # verbose bootstraping messages
133 options DDB # in-kernel debugger
134 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
135 #options KGDB
136 #options DEBUG_KGDB
137 makeoptions DEBUG="-g" # compile full symbol table
138 #makeoptions COPTS="-O2"
139 makeoptions COPY_SYMTAB=1
140 #options AUDIO_DEBUG=2
141
142 config netbsd root on ? type ?
143 config netbsd-sm0 root on sm0 type nfs
144 config netbsd-smsh0 root on smsh0 type nfs
145
146 # The main bus device
147 mainbus0 at root
148
149 # The boot cpu
150 cpu0 at mainbus?
151
152 # integrated peripherals
153 pxaip0 at mainbus?
154
155 pxaintc0 at pxaip? # interrupt controller
156 options PXAGPIO_HAS_GPION_INTRS
157
158 pxagpio0 at pxaip? # GPIO
159 gpio* at gpiobus?
160 pxartc0 at pxaip? addr 0x40900000 # RTC
161
162 # cotulla integrated 16550 UARTs
163 options COM_PXA2X0
164 com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
165 com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (console-st)
166 com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART (old bt or vx)
167 com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART(console-hw, bt)
168 options FFUARTCONSOLE
169 #options STUARTCONSOLE
170 #options BTUARTCONSOLE
171 #options HWUARTCONSOLE
172 #options KGDB_DEVNAME="\"ffuart\"" # or stuart or btuart or hwuart
173 #options KGDB_DEVRATE=115200
174
175 # DMAC support
176 pxadmac0 at pxaip? addr 0x40000000 intr 25
177 options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
178 #options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority
179
180 # AC97 Audio support
181 pxaacu0 at pxaip? addr 0x40500000 intr 14 # Audiostix, Audiostx2, GPSstix
182
183 # Audio support
184 audio* at audiobus?
185
186 spkr* at audio? # PC speaker (synthesized)
187
188 # LCD
189 lcd0 at pxaip? addr 0x44000000 # consoleLCD-vx,consoleLCD16-vx
190 wsdisplay* at lcd? console ?
191
192 # USB Host/Device Controller
193 ohci0 at pxaip? addr 0x4c000000 intr 3 # consoleLCD-vx,consoleLCD16-vx
194 # ALSO NEEDS pxaudc
195 pxaudc0 at pxaip? addr 0x40600000
196
197 # integrated MMC/SD controller
198 pxamci0 at pxaip? addr 0x41100000 size 0x48
199 sdmmc* at pxamci?
200 #options PXAMCI_DEBUG
201 #options SDMMC_DEBUG
202 #options SDMMC_DUMP_CSD
203
204 ld* at sdmmc?
205
206 # gumstix device support
207 gxio0 at pxaip?
208 options GXIO_BLUETOOTH_ON_HWUART # Bluetooth module on HWUART
209 #options GXIO_DEFAULT_EXPANSION="\"netCF\""
210
211 # gumstix expantion boards
212
213 # SMC 91C111
214 sm0 at gxio? addr 0x04000300 gpirq ?
215 #sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix,netMMC,netCF,netDUO
216 #sm0 at gxio? addr 0x04000300 gpirq 99 # netCF-vx
217 sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd NIC)
218
219 # SMSC LAN9117
220 smsh0 at gxio? addr 0x04000300 gpirq 99 # netmicroSD-vx, netpro-vx
221
222 # Inter-Integrated Circuit controller
223 gxiic0 at pxaip? addr 0x40300000
224 iic* at gxiic?
225 #dsrtc* at iic? addr 0x68 # Can mount DS1307 at console, breakout
226
227 # integrated PCMCIA/CF controller
228 pxapcic0 at pxaip? addr 0x20000000 # cfstix, netCF
229
230 # PCMCIA bus support
231 pcmcia* at pxapcic?
232
233 # Marvell 88W8385
234 malo* at pcmcia? function ? # wifistix, netwifimicrosd, netpro-vx
235
236
237 # PCMCIA serial interfaces
238 com* at pcmcia? function ? # Modems and serial cards
239
240 # PCMCIA IDE controllers
241 wdc* at pcmcia? function ?
242 atabus* at wdc? channel ?
243 wd* at atabus? drive ? flags 0x0000
244
245 # PCMCIA network interfaces
246 ne* at pcmcia? function ? # NE2000-compatible Ethernet
247 wi* at pcmcia? function ? # Lucent/Intersil WaveLAN/IEEE (802.11)
248 #xirc* at pcmcia? function ? # Xircom CreditCard Ethernet
249 #xi* at xirc?
250
251 # MII/PHY support
252 #acphy* at mii? phy ? # AMD/Altima AC101 PHYs
253 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
254 ukphy* at mii? phy ? # smsh(4) internal PHY
255
256 # PCMCIA USB controllers
257 #slhci* at pcmcia? function ? # ScanLogic SL811HS
258
259 # USB bus support
260 usb* at ohci?
261 #usb* at slhci?
262
263 # USB Hubs
264 uhub* at usb?
265 uhub* at uhub? port ?
266
267 # USB HID device
268 uhidev* at uhub? port ? configuration ? interface ?
269
270 # USB Mice
271 ums* at uhidev? reportid ?
272 wsmouse* at ums? mux 0
273
274 # USB Keyboards
275 ukbd* at uhidev? reportid ?
276 wskbd* at ukbd? console ? mux 1
277
278 # USB LCDs and USB-VGA adaptors
279 udl* at uhub? port ? # DisplayLink DL-1x0/1x5
280 wsdisplay* at udl?
281
282 # USB Mass Storage
283 umass* at uhub? port ? configuration ? interface ?
284
285 # SCSI bus support
286 scsibus* at scsi?
287
288 # SCSI devices
289 sd* at scsibus? target ? lun ? # SCSI disk drives
290
291 # Bluetooth Controller and Device support
292
293 # Bluetooth PCMCIA Controllers
294 #btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139
295
296 # Bluetooth USB Controllers
297 #ubt* at uhub? port ?
298 #aubtfwl* at uhub? port ?
299
300 # Bluetooth Device Hub
301 bthub* at bcsp?
302 #bthub* at btbc?
303 bthub* at btuart?
304 #bthub* at ubt?
305
306 # Bluetooth HID support
307 bthidev* at bthub?
308
309 # Bluetooth Mouse
310 btms* at bthidev? reportid ?
311 wsmouse* at btms? mux 0
312
313 # Bluetooth Keyboard
314 btkbd* at bthidev? reportid ?
315 wskbd* at btkbd? console ? mux 1
316
317 # Bluetooth Apple Magic Mouse
318 btmagic* at bthub?
319 wsmouse* at btmagic? mux 0
320
321 # Bluetooth Audio support
322 btsco* at bthub?
323
324 # Pseudo-Devices
325
326 # disk/mass storage pseudo-devices
327 #pseudo-device bio # RAID control device driver
328 #pseudo-device ccd # concatenated/striped disk devices
329 pseudo-device cgd # cryptographic disk devices
330 #pseudo-device raid # RAIDframe disk driver
331 #options RAID_AUTOCONFIG # auto-configuration of RAID components
332 # Options to enable various other RAIDframe RAID types.
333 #options RF_INCLUDE_EVENODD=1
334 #options RF_INCLUDE_RAID5_RS=1
335 #options RF_INCLUDE_PARITYLOGGING=1
336 #options RF_INCLUDE_CHAINDECLUSTER=1
337 #options RF_INCLUDE_INTERDECLUSTER=1
338 #options RF_INCLUDE_PARITY_DECLUSTERING=1
339 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
340 #pseudo-device fss # file system snapshot device
341
342 #pseudo-device md # memory disk device (ramdisk)
343 pseudo-device vnd # disk-like interface to files
344 options VND_COMPRESSION # compressed vnd(4)
345 pseudo-device putter # for puffs and pud
346
347 # network pseudo-devices
348 pseudo-device bpfilter # Berkeley packet filter
349 #pseudo-device carp # Common Address Redundancy Protocol
350 pseudo-device npf # NPF packet filter
351 pseudo-device loop # network loopback
352 pseudo-device ppp # Point-to-Point Protocol
353 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
354 #options PPPOE_SERVER # Enable PPPoE server via link0
355 #pseudo-device sl # Serial Line IP
356 #pseudo-device irframetty # IrDA frame line discipline
357 pseudo-device tap # virtual Ethernet
358 #pseudo-device tun # network tunneling over tty
359 #pseudo-device gre # generic L3 over IP tunnel
360 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933)
361 #pseudo-device faith # IPv[46] TCP relay translation i/f
362 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
363 #pseudo-device vlan # IEEE 802.1q encapsulation
364 pseudo-device bridge # simple inter-network bridging
365 pseudo-device vether # Virtual Ethernet for bridge
366 #pseudo-device agr # IEEE 802.3ad link aggregation
367
368 # miscellaneous pseudo-devices
369 pseudo-device pty # pseudo-terminals
370 #pseudo-device sequencer # MIDI sequencer
371 options RND_COM
372 pseudo-device clockctl # user control of clock subsystem
373 pseudo-device ksyms # /dev/ksyms
374 pseudo-device bcsp # BlueCore Serial Protocol
375 pseudo-device btuart # Bluetooth HCI UART (H4)
376 # connect with Ericsson Bluetooth Module
377 # or Infineon SingleStone (PBA31307)
378 # or Infineon UniStone (PBA31308)
379
380 # a pseudo device needed for Coda # also needs CODA (above)
381 pseudo-device vcoda # coda minicache <-> venus comm.
382
383 # wscons pseudo-devices
384 pseudo-device wsmux # mouse & keyboard multiplexor
385 #pseudo-device wsfont
386
387 # data mover pseudo-devices
388 pseudo-device swdmover # software dmover(9) back-end
389 pseudo-device dmoverio # /dev/dmover dmover(9) interface
390
391 # userland interface to drivers, including autoconf and properties retrieval
392 pseudo-device drvctl
393
394 # Veriexec
395 # include "dev/veriexec.config"
396
397 #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
398 #options PAX_ASLR=0 # PaX Address Space Layout Randomization
399