xref: /netbsd-src/sys/arch/evbarm/conf/NETWALKER (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
1#	$NetBSD: NETWALKER,v 1.27 2014/05/06 11:22:53 hkenken Exp $
2#
3#	NETWALKER -- http://www.sharp.co.jp/netwalker/
4#
5
6include	"arch/evbarm/conf/std.netwalker"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# estimated number of users
11
12maxusers	32
13
14# Standard system options
15
16options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
17#options 	NTP		# NTP phase/frequency locked loop
18
19# CPU options
20options 	CPU_CORTEXA8	# Support the ARM-v7a core
21options 	IMX51
22options 	PMAPCOUNTERS
23
24# Architecture options
25
26# File systems
27
28file-system	FFS		# UFS
29#file-system	LFS		# log-structured file system
30file-system	MFS		# memory file system
31file-system	NFS		# Network file system
32#file-system 	ADOSFS		# AmigaDOS-compatible file system
33file-system 	EXT2FS		# second extended file system (linux)
34#file-system	CD9660		# ISO 9660 + Rock Ridge file system
35file-system	MSDOSFS		# MS-DOS file system
36file-system	FDESC		# /dev/fd
37file-system	KERNFS		# /kern
38file-system	NULLFS		# loopback file system
39file-system	PROCFS		# /proc
40#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
41file-system	TMPFS		# memory file system
42#file-system	UMAPFS		# NULLFS + uid and gid remapping
43#file-system	UNION		# union file system
44file-system	PTYFS		# /dev/pts/N support
45
46# File system options
47#options 	QUOTA		# legacy UFS quotas
48#options 	QUOTA2		# new, in-filesystem UFS quotas
49#options 	FFS_EI		# FFS Endian Independent support
50#options 	NFSSERVER
51options 	WAPBL		# File system journaling support
52#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
53
54# Networking options
55
56#options 	GATEWAY		# packet forwarding
57options 	INET		# IP + ICMP + TCP + UDP
58options 	INET6		# IPV6
59#options 	IPSEC		# IP security
60#options 	IPSEC_DEBUG	# debug for IP security
61#options 	MROUTING	# IP multicast routing
62#options 	PIM		# Protocol Independent Multicast
63#options 	NETATALK	# AppleTalk networking
64#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
65#options 	PPP_DEFLATE	# Deflate compression support for PPP
66#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
67#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
68
69#options 	NFS_BOOT_BOOTP
70#options 	NFS_BOOT_DHCP
71#options 	NFS_BOOT_BOOTPARAM
72#options	DEBUG_NFS_BOOT_DHCP
73
74# Compatibility options
75
76#options 	COMPAT_43	# 4.3BSD compatibility.
77options 	COMPAT_60	# NetBSD 6.0 compatibility.
78#options 	COMPAT_50	# NetBSD 5.0 compatibility.
79#options 	COMPAT_40	# NetBSD 4.0 compatibility.
80#options 	COMPAT_30	# NetBSD 3.0 compatibility.
81#options 	COMPAT_20	# NetBSD 2.0 compatibility.
82#options 	COMPAT_16	# NetBSD 1.6 compatibility.
83#options 	COMPAT_15	# NetBSD 1.5 compatibility.
84#options 	COMPAT_14	# NetBSD 1.4 compatibility.
85#options 	COMPAT_13	# NetBSD 1.3 compatibility.
86#options 	COMPAT_12	# NetBSD 1.2 compatibility.
87#options 	COMPAT_11	# NetBSD 1.1 compatibility.
88#options 	COMPAT_10	# NetBSD 1.0 compatibility.
89#options 	COMPAT_09	# NetBSD 0.9 compatibility.
90#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
91
92options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
93#options 	COMPAT_LINUX	# binary compatibility with Linux
94options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
95
96# Shared memory options
97
98options 	SYSVMSG		# System V-like message queues
99options 	SYSVSEM		# System V-like semaphores
100options 	SYSVSHM		# System V-like memory sharing
101
102# Device options
103
104# Console options.    also need IMXUARTCONSOLE
105options 	CONSDEVNAME="\"imxuart\"",CONADDR=0x73fbc000
106options 	CONSPEED=115200	# Console speed
107
108# kgdb
109#options	KGDB
110#options 	KGDB_DEVNAME="\"imxuart\""
111#options 	KGDB_DEVADDR=0x73fbc000
112#options 	KGDB_DEVRATE=115200
113
114# Miscellaneous kernel options
115options 	KTRACE		# system call tracing, a la ktrace(1)
116options 	IRQSTATS	# manage IRQ statistics
117#options 	KMEMSTATS	# kernel memory statistics
118options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
119options 	USBVERBOSE	# verbose USB device autoconfig messages
120#options 	SCSIVERBOSE	# Verbose SCSI errors
121options 	MIIVERBOSE	# Verbose MII autoconfuration messages
122#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
123#options 	DDB_KEYCODE=0x40
124options 	USERCONF	# userconf(4) support
125#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
126#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
127options 	NO_POWERSAVE	# uncomment this to run under ICE
128
129# Development and Debugging options
130#options 	PERFCTRS	# performance counters
131#options 	DIAGNOSTIC	# internally consistency checks
132#options 	DEBUG
133#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
134options 	DDB		# in-kernel debugger
135options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
136options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
137options 	DDB_VERBOSE_HELP
138#options 	LOCKDEBUG
139#options 	PMAP_DEBUG	# Enable pmap_debug_level code
140#options 	IPKDB		# remote kernel debugging
141#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
142makeoptions	DEBUG="-g"	# compile full symbol table
143#makeoptions	COPTS="-O2"
144#options 	SYSCALL_STATS	# per syscall counts
145#options 	SYSCALL_TIMES 	# per syscall times
146#options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
147#options 	SCSIPI_DEBUG
148#options	SCSIPI_DEBUG_TYPE=SCSIPI_BUSTYPE_SCSI
149#options	SCSIPI_DEBUG_TARGET=0
150#options	SCSIPI_DEBUG_LUN=0
151
152# Valid options for BOOT_ARGS:
153#  single		Boot to single user only
154#  kdb			Give control to kernel debugger
155#  ask			Ask for file name to reboot from
156#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
157#  memorydisk=<n>	Set memorydisk size to <n> KB
158#  quiet		Show aprint_naive output
159#  verbose		Show aprint_normal and aprint_verbose output
160#options		BOOT_ARGS="\"verbose\""
161#options		BOOT_ARGS="\"pmapdebug=1\""
162
163# Kernel root file system and dump configuration.
164config		netbsd		root on ? type ?
165config		netbsd-ld0	root on ld0 type ffs
166
167# The main bus device
168mainbus0	at root
169
170# The boot cpu
171cpu0		at mainbus?
172
173# Devices
174# On-chip
175# On-chip bus
176axi0		at mainbus?
177
178# Interrupt Cotroller
179tzic0		at axi? addr 0xe0000000 size 0x4000 irqbase 0
180
181# Serial
182imxuart0	at axi? addr 0x73fbc000 irq 31		# UART1
183#imxuart1	at axi? addr 0x73fc0000 irq 32
184#imxuart2	at axi? addr 0x7000c000 irq 33
185#options	IMXUARTCONSOLE
186
187# Clock Control
188imxccm0		at axi? addr 0x73fd4000
189options		IMX51_CKIL_FREQ=32768
190#options	IMXCCMDEBUG
191
192# Enhanced Periodic Interrupt Timer
193imxclock0	at axi? addr 0x73fac000 size 0x4000 irq 40
194imxclock1	at axi? addr 0x73fb0000 size 0x4000 irq 41
195
196# IOMUX
197imxiomux0	at axi? addr 0x73fa8000
198
199# WatchDog
200imxwdog0	at axi? addr 0x73f98000 irq 58 flags 0
201
202# GPIO
203imxgpio0	at axi? addr 0x73f84000 irqbase 128 irq 50
204imxgpio1	at axi? addr 0x73f88000 irqbase 160 irq 52
205imxgpio2	at axi? addr 0x73f8c000 irqbase 192 irq 54
206imxgpio3	at axi? addr 0x73f90000 irqbase 224 irq 56
207gpio*		at imxgpio?
208options		IMX_GPIO_INTR_SPLIT
209
210# I2C
211#imxi2c0	at axi? addr 0x83fc8000 irq 62
212#imxi2c1	at axi? addr 0x83fc4000 irq 63
213
214# IIC
215#iic*	   at imxi2c?
216
217# SPI bus
218imxspi0		at axi? addr 0x70010000 irq 36 flags 1
219#imxspi1	at axi? addr 0x83fac000 irq 37 flags 1
220#imxspi2	at axi? addr 0x83fc0000 irq 38 flags 0
221spi0		at imxspi0 # eCSPI1
222#spi1		at imxspi1 # eCSPI2
223#spi2		at imxspi2 # CSPI1
224options		IMXSPINSLAVES=3
225#options	IMXSPI_DEBUG=10
226
227# Optical Joystick
228oj6sh0		at spi0 slave 2
229#options	OJ6SH_DEBUG=4
230options		OJ6SH_UP_X_LEFT_Y
231wsmouse*	at oj6sh? mux 0
232
233mousebtn0	at gpio1 offset 22 mask 0x03 # intr 182, 183
234#options	MOUSEBTN_POLLING
235wsmouse*	at mousebtn? mux 0
236
237pwrbtn0		at gpio1 offset 21 mask 0x01 # intr 181
238lidsw0		at gpio3 offset 12 mask 0x01 # intr 236
239imxpwm0		at axi? addr 0x73FB4000 irq 61
240
241# SPI NOR-Flash
242#spiflash0	at spiflashbus?
243#m25p0		at spi0 slave 1
244
245# SD/MMC
246sdhc0    	at axi? addr 0x70004000 irq 1	     # eSDHC1
247#sdhc1   	at axi? addr 0x70008000 irq 2	     # eSDHC2
248sdmmc*		at sdhc?
249ld*		at sdmmc?			# MMC/SD card
250#options 	SDHC_DEBUG
251#options 	SDMMC_DEBUG
252
253# USB
254imxusbc0  at axi?  addr 0x73f80000
255ehci0	  at imxusbc0	unit 0	irq 18 # OTG
256ehci1	  at imxusbc0	unit 1	irq 14 # Host1
257#ehci2	  at imxusbc0	unit 2	irq 16 # Host2
258#ehci3	  at imxusbc0	unit 3	irq 17 # Host3
259
260usb*		at ehci?
261
262# USB device drivers
263include "dev/usb/usbdevices.config"
264
265ukphy*		at mii? phy ?
266
267# IPUv3 LCD Controller
268ipu0		at axi?
269wsdisplay0	at wsemuldisplaydev? console ?
270wsdisplay*	at wsemuldisplaydev?
271#options	IPUV3_DEBUG=1
272#options	LCD_DEBUG
273options 	IMXIPUCONSOLE
274
275# various options for wscons - we try to look as much like a standard
276# sun console as possible
277options 	WSEMUL_VT100		# sun terminal emulation
278options 	WS_DEFAULT_FG=WSCOL_WHITE
279options 	WS_DEFAULT_BG=WSCOL_BLACK
280options		WS_KERNEL_FG=WSCOL_GREEN
281options		WS_KERNEL_BG=WSCOL_BLACK
282options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
283options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
284options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
285options 	WSDISPLAY_DEFAULTSCREENS=4
286
287# Pseudo-Devices
288
289pseudo-device	crypto			# /dev/crypto device
290pseudo-device	swcrypto		# software crypto implementation
291
292# disk/mass storage pseudo-devices
293#pseudo-device	md			# memory disk device (ramdisk)
294pseudo-device	vnd			# disk-like interface to files
295#pseudo-device	fss			# file system snapshot device
296pseudo-device	putter			# for puffs and pud
297
298# network pseudo-devices
299pseudo-device	bpfilter		# Berkeley packet filter
300#pseudo-device	ipfilter		# IP filter (firewall) and NAT
301pseudo-device	loop			# network loopback
302#pseudo-device	ppp			# Point-to-Point Protocol
303
304# miscellaneous pseudo-devices
305pseudo-device	pty			# pseudo-terminals
306pseudo-device	clockctl		# NTP clockctl
307pseudo-device	ksyms			# /dev/ksyms
308pseudo-device	lockstat		# lock profiling
309
310# wscons pseudo-devices
311pseudo-device	wsmux			# mouse & keyboard multiplexor
312pseudo-device	wsfont
313
314# data mover pseudo-devices
315#pseudo-device	swdmover		# software dmover(9) back-end
316#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
317
318# userland interface to drivers, including autoconf and properties retrieval
319pseudo-device 	drvctl
320
321# local configuration
322cinclude "arch/evbarm/conf/NETWALKER.local"
323