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