ARMADILLO9 revision 1.67
1#	$NetBSD: ARMADILLO9,v 1.67 2022/08/07 02:52:25 simonb Exp $
2#
3#	ARMADILLO9 -- Atmark Techno, Armadillo-9
4#
5
6include	"arch/evbarm/conf/std.armadillo9"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9options 	MSGBUFSIZE=65536
10#options 	KSTACK_CHECK_MAGIC
11
12# estimated number of users
13maxusers	16
14
15# Standard system options
16options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
17options 	NTP		# NTP phase/frequency locked loop
18
19# CPU options
20options 	CPU_ARM9	# Support the ARM9TDMI core
21
22# File systems
23file-system	FFS		# UFS
24#file-system	LFS		# log-structured file system
25file-system	MFS		# memory file system
26file-system	NFS		# Network file system
27#file-system 	ADOSFS		# AmigaDOS-compatible file system
28file-system 	EXT2FS		# second extended file system (linux)
29file-system	CD9660		# ISO 9660 + Rock Ridge file system
30file-system	MSDOSFS		# MS-DOS file system
31file-system	FDESC		# /dev/fd
32#file-system	FILECORE	# Acorn filecore file system
33file-system	KERNFS		# /kern
34file-system	NULLFS		# loopback file system
35file-system	PROCFS		# /proc
36#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
37#file-system	UMAPFS		# NULLFS + uid and gid remapping
38file-system	UNION		# union file system
39file-system	PTYFS		# /dev/pts/N support
40
41# File system options
42#options 	FFS_EI		# FFS Endian Independent support
43#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
44#options 	QUOTA		# legacy UFS quotas
45#options 	QUOTA2		# new, in-filesystem UFS quotas
46#options 	UFS_DIRHASH	# UFS Large Directory Hashing
47#options 	UFS_EXTATTR	# Extended attribute support for UFS1
48options 	WAPBL		# File system journaling support
49#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
50				# immutable) behave as system flags.
51#options 	DISKLABEL_EI	# disklabel Endian Independent support
52options 	NFSSERVER	# Network File System server
53
54# Networking options
55#options 	GATEWAY		# packet forwarding
56options 	INET		# IP + ICMP + TCP + UDP
57options 	INET6		# IPV6
58#options 	IPSEC		# IP security
59#options 	IPSEC_DEBUG	# debug for IP security
60#options 	MROUTING	# IP multicast routing
61#options	PIM		# Protocol Independent Multicast
62#options 	NETATALK	# AppleTalk networking
63#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
64#options 	PPP_DEFLATE	# Deflate compression support for PPP
65#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
66#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
67
68options 	NFS_BOOT_BOOTP
69options 	NFS_BOOT_DHCP
70#options 	NFS_BOOT_BOOTPARAM
71
72# Compatibility options
73include 	"conf/compat_netbsd20.config"
74options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
75
76# Shared memory options
77options 	SYSVMSG		# System V-like message queues
78options 	SYSVSEM		# System V-like semaphores
79options 	SYSVSHM		# System V-like memory sharing
80
81# Device options
82
83#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
84#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
85#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
86
87# Console options. The default console is speed is 115200 baud.
88options 	CONSPEED=115200		# Console speed
89options 	CONUNIT=0		# Console port number
90
91# Miscellaneous kernel options
92options 	KTRACE		# system call tracing, a la ktrace(1)
93#options 	IRQSTATS	# manage IRQ statistics
94#options 	SCSIVERBOSE	# Verbose SCSI errors
95#options 	PCIVERBOSE	# Verbose PCI descriptions
96#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
97#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
98#options 	DDB_KEYCODE=0x40
99#options 	USERCONF	# userconf(4) support
100#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
101#options	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
102
103# Development and Debugging options
104
105options 	DIAGNOSTIC	# internal consistency checks
106#options 	DEBUG
107#options 	UVMHIST		# kernhist for uvm/pmap subsystems
108#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
109options 	DDB		# in-kernel debugger
110#options	DDB_ONPANIC=1
111options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
112#makeoptions	DEBUG="-g"	# compile full symbol table
113makeoptions	COPY_SYMTAB=1
114
115#options 	PMAP_INCLUDE_PTE_SYNC
116#options 	LOCKDEBUG
117
118config		netbsd		root on ? type ?
119#config		netbsd		root on epe0 type nfs
120#config		netbsd		root on wd0 type ffs
121#config		netbsd		root on sd0 type ffs
122
123# The main bus device
124mainbus0	at root
125
126# The boot cpu
127cpu0		at mainbus?
128
129# Cirrus Logic EP93xx System-on-chip
130epsoc0		at mainbus?
131
132# AHB Peripheral
133# On-chip 10/100 Ethernet
134epe0		at epsoc? addr 0x80010000 size 0x10000 intr 39
135# On-chip USB host controller
136ohci0		at epsoc? addr 0x80020000 size 0x1000 intr 56
137# On-chip Raster (not yet)
138#vga0		at epsoc? addr 0x80030000 size 0x10000 intr ??
139# On-chip PCMCIA controller
140eppcic0		at epsoc? addr 0x80080000 size 0x44
141# On-chip IDE (not yet)
142#wdc0		at epsoc? addr 0x800a0000 size 0x38 intr ??
143
144# APB Peripheral
145# On-chip timers
146epclk0		at epsoc? addr 0x80810000 size 0x90 intr 4
147# GPIO
148epgpio0		at epsoc? addr 0x80840000 size 0xcc intr 59
149gpio*		at epgpio?
150# On-chip serial UARTS
151epcom0		at epsoc? addr 0x808c0000 size 0x1000 intr 52
152epcom1		at epsoc? addr 0x808d0000 size 0x1000 intr 54
153#epcom2		at epsoc? addr 0x808e0000 size 0x1000 intr 55
154# RealTime Clock (no battery backup)
155eprtc0		at epsoc? addr 0x80920000 size 0x10c intr 37
156# Watchdog Timer
157epwdog0		at epsoc? addr 0x80940000 size 0x08 intr 36
158# LED
159epled0		at epgpio0 port 4 bit1 0 bit2 1
160
161# I^2C Controller Unit
162armadillo9iic0	at epgpio0 port 1 bit1 4 bit2 5
163iic*		at armadillo9iic?
164seeprom0	at iic? addr 0x50 flags 1	# 128 bytes
165#s3531rtc0	at iic? addr 0x30
166
167# PCMCIA bus support
168pcmcia*	at eppcic0 controller ? socket ?
169
170# PCMCIA network interfaces
171ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
172wi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
173
174# MII/PHY support
175lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
176
177# PCMCIA serial interfaces
178com*	at pcmcia? function ?		# Modems and serial cards
179
180# PCMCIA IDE disk
181wdc*	at pcmcia? function ?
182
183# USB Controller and Devices
184
185# USB bus support
186usb*	at ohci?
187
188# USB Hubs
189uhub*	at usb?
190uhub*	at uhub? port ?
191
192# USB HID device
193uhidev*	at uhub? port ? configuration ? interface ?
194
195# USB Mice
196#ums*	at uhidev? reportid ?
197#wsmouse* at ums? mux 0
198
199# USB Keyboards
200#ukbd*	at uhidev? reportid ?
201#wskbd*	at ukbd? console ? mux 1
202
203# USB Generic HID devices
204uhid*	at uhidev? reportid ?
205
206# USB Mass Storage
207umass*	at uhub? port ? configuration ? interface ?
208scsibus* at umass?
209
210# USB audio
211#uaudio*	at uhub? port ? configuration ?
212
213# USB MIDI
214#umidi*	at uhub? port ? configuration ?
215
216# USB Generic driver
217ugen*	at uhub? port ?
218
219# ATA (IDE) bus support
220atabus*	at ata?
221
222# IDE drives
223wd*	at atabus? drive ? flags 0x0000
224
225# ATAPI bus support
226atapibus* at atapi?
227
228# ATAPI devices
229cd*	at atapibus? drive ? flags 0x0ff0	# ATAPI CD-ROM drives
230sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
231uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
232
233# SCSI devices
234sd*	at scsibus? target ? lun ?	# SCSI disk drives
235cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
236uk*	at scsibus? target ? lun ?	# SCSI unknown
237
238# Audio support
239#audio*	at audiobus?
240
241#spkr*	at audio?			# PC speaker (synthesized)
242
243# MIDI support
244#midi*	at midibus?
245
246# Pseudo-Devices
247
248# disk/mass storage pseudo-devices
249#pseudo-device	md			# memory disk device (ramdisk)
250pseudo-device	vnd			# disk-like interface to files
251options 	VND_COMPRESSION		# compressed vnd(4)
252#pseudo-device	fss			# file system snapshot device
253#pseudo-device	putter			# for puffs and pud
254
255# network pseudo-devices
256pseudo-device	bpfilter		# Berkeley packet filter
257#pseudo-device	npf			# NPF packet filter
258pseudo-device	loop			# network loopback
259#pseudo-device	ppp			# Point-to-Point Protocol
260#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
261#pseudo-device	sl			# Serial Line IP
262#pseudo-device	irframetty		# IrDA frame line discipline
263#pseudo-device	tap			# virtual Ethernet
264#pseudo-device	tun			# network tunneling over tty
265#pseudo-device	gre			# generic L3 over IP tunnel
266#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
267#pseudo-device	faith			# IPv[46] tcp relay translation i/f
268#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
269#pseudo-device	vlan			# IEEE 802.1q encapsulation
270#pseudo-device	bridge			# simple inter-network bridging
271#pseudo-device	vether			# Virtual Ethernet for bridge
272#pseudo-device	kttcp			# network loopback
273
274# miscellaneous pseudo-devices
275pseudo-device	pty			# pseudo-terminals
276#options	RND_COM
277pseudo-device	clockctl		# user control of clock subsystem
278pseudo-device	ksyms			# /dev/ksyms
279#pseudo-device	crypto			# /dev/crypto device
280#pseudo-device	swcrypto		# software crypto implementation
281#pseudo-device	sequencer		# MIDI sequencer
282
283#
284# wscons options
285#
286# builtin terminal emulations
287#options 	WSEMUL_SUN		# sun terminal emulation
288options 	WSEMUL_VT100		# VT100 / VT220 emulation
289# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
290#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
291#options 	WS_DEFAULT_FG=WSCOL_WHITE
292#options 	WS_DEFAULT_BG=WSCOL_BLACK
293#options 	WS_DEFAULT_COLATTR="(0)"
294#options 	WS_DEFAULT_MONOATTR="(0)"
295#options 	WS_KERNEL_FG=WSCOL_GREEN
296#options 	WS_KERNEL_BG=WSCOL_BLACK
297#options 	WS_KERNEL_COLATTR=""
298#options 	WS_KERNEL_MONOATTR=""
299# customization of console border color
300#options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
301#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
302# compatibility to other console drivers
303#options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
304#options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
305#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
306#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
307# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
308#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
309# allocate a number of virtual screens at autoconfiguration time
310#options 	WSDISPLAY_DEFAULTSCREENS=4
311# use a large software cursor that doesn't blink
312#options 	PCDISPLAY_SOFTCURSOR
313# modify the screen type of the console; defaults to "80x25"
314#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
315# work around a hardware bug that loaded fonts don't work; found on ATI cards
316#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
317# console scrolling support.
318#options 	WSDISPLAY_SCROLLSUPPORT
319# enable VGA raster mode capable of displaying multilingual text on console
320#options 	VGA_RASTERCONSOLE
321
322# wscons pseudo-devices
323#pseudo-device	wsmux			# mouse & keyboard multiplexor
324#pseudo-device	wsfont
325