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