ARMADAXP revision 1.3
1#
2#	$NetBSD: ARMADAXP,v 1.3 2013/06/05 23:08:00 christos Exp $
3#
4#	ARMADA XP DEV BOARD
5#
6
7include		"arch/evbarm/conf/std.armadaxp"
8
9# estimated number of users
10
11maxusers	32
12
13# Standard system options
14
15options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
16#options 	NTP		# NTP phase/frequency locked loop
17
18# CPU options
19options 	CPU_PJ4B
20
21# Architecture options
22options 	ARMADAXP
23options 	L2CACHE_ENABLE
24#options 	AURORA_IO_CACHE_COHERENCY
25options 	AURORA_L2_PT_WALK
26
27#options	VERBOSE_INIT_ARM
28
29# File systems
30file-system	FFS		# UFS
31#file-system	LFS		# log-structured file system
32file-system	MFS		# memory file system
33file-system	NFS		# Network file system
34#file-system	ADOSFS		# AmigaDOS-compatible file system
35#file-system	EXT2FS		# second extended file system (linux)
36#file-system	CD9660		# ISO 9660 + Rock Ridge file system
37file-system	MSDOSFS		# MS-DOS file system
38#file-system	FDESC		# /dev/fd
39#file-system	KERNFS		# /kern
40#file-system	NULLFS		# loopback file system
41#file-system	PROCFS		# /proc
42#file-system	UMAPFS		# NULLFS + uid and gid remapping
43#file-system	UNION		# union file system
44file-system	TMPFS		# memory file system
45file-system	PTYFS		# /dev/pts/N support
46file-system	PUFFS		# Pass-to-Userspace Framework File System
47
48# File system options
49#options 	QUOTA		# legacy UFS quotas
50#options 	QUOTA2		# new, in-filesystem UFS quotas
51#options 	FFS_EI		# FFS Endian Independent support
52#options 	NFSSERVER
53options 	WAPBL		# File system journaling support
54#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
55
56# Networking options
57options 	GATEWAY		# packet forwarding
58options 	INET		# IP + ICMP + TCP + UDP
59options 	INET6		# IPV6
60options 	IPSEC		# IP security
61options 	IPSEC_DEBUG	# debug for IP security
62options 	MROUTING	# IP multicast routing
63options 	PIM		# Protocol Independent Multicast
64options 	NETATALK	# AppleTalk networking
65options 	PFIL_HOOKS	# pfil(9) packet filter hooks
66options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
67options 	PPP_DEFLATE	# Deflate compression support for PPP
68options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
69options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
70options 	NFS_BOOT_DHCP
71
72#options 	NFS_BOOT_BOOTP
73#options 	NFS_BOOT_DHCP
74#options 	NFS_BOOT_BOOTSTATIC
75#options 	NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
76#options 	NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
77#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
78#options 	NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
79#options 	NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
80
81#options 	NFS_BOOT_RWSIZE=1024
82
83# Compatibility options
84#options 	COMPAT_43	# 4.3BSD compatibility.
85options 	COMPAT_50	# NetBSD 5.0 compatibility.
86#options 	COMPAT_40	# NetBSD 4.0 compatibility.
87#options 	COMPAT_30	# NetBSD 3.0 compatibility.
88#options 	COMPAT_20	# NetBSD 2.0 compatibility.
89#options 	COMPAT_16	# NetBSD 1.6 compatibility.
90#options 	COMPAT_15	# NetBSD 1.5 compatibility.
91#options 	COMPAT_14	# NetBSD 1.4 compatibility.
92#options 	COMPAT_13	# NetBSD 1.3 compatibility.
93#options 	COMPAT_12	# NetBSD 1.2 compatibility.
94#options 	COMPAT_11	# NetBSD 1.1 compatibility.
95#options 	COMPAT_10	# NetBSD 1.0 compatibility.
96#options 	COMPAT_09	# NetBSD 0.9 compatibility.
97#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
98options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
99
100# Shared memory options
101options 	SYSVMSG		# System V-like message queues
102options 	SYSVSEM		# System V-like semaphores
103#options 	SEMMNI=10	# number of semaphore identifiers
104#options 	SEMMNS=60	# number of semaphores in system
105#options 	SEMUME=10	# max number of undo entries per process
106#options 	SEMMNU=30	# number of undo structures in system
107options 	SYSVSHM		# System V-like memory sharing
108
109# Device options
110#options 	MEMORY_DISK_HOOKS		# boottime setup of ramdisk
111#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
112#options 	MEMORY_DISK_DYNAMIC
113#options 	MINIROOTSIZE=1000		# Size in blocks
114#options 	MEMORY_DISK_IS_ROOT		# use memory disk as root
115
116# Miscellaneous kernel options
117options 	KTRACE		# system call tracing, a la ktrace(1)
118#options 	KMEMSTATS	# kernel memory statistics
119#options 	SCSIVERBOSE	# Verbose SCSI errors
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
125# Development and Debugging options
126options 	LOCKDEBUG
127#options 	PERFCTRS		# performance counters
128options 	DIAGNOSTIC		# internally consistency checks
129#options 	DEBUG
130#options 	PMAP_DEBUG		# Enable pmap_debug_level code
131options 	PMAPCOUNTERS
132#options 	IPKDB			# remote kernel debugging
133#options 	VERBOSE_INIT_ARM	# verbose bootstraping messages
134options 	DDB			# in-kernel debugger
135options 	DDB_ONPANIC=1
136options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
137options 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
138#options 	KGDB
139options 	KGDB_DEVADDR=0xd0012000
140makeoptions 	DEBUG="-g"		# compile full symbol table
141options 	SYMTAB_SPACE=800000
142
143## USB Debugging options
144#options 	USB_DEBUG
145#options 	EHCI_DEBUG
146#options 	OHCI_DEBUG
147#options 	UHUB_DEBUG
148
149# Valid options for BOOT_ARGS:
150#  single		Boot to single user only
151#  kdb			Give control to kernel debugger
152#  ask			Ask for file name to reboot from
153#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
154#  memorydisk=<n>	Set memorydisk size to <n> KB
155#  quiet		Show aprint_naive output
156#  verbose		Show aprint_normal and aprint_verbose output
157#options		BOOT_ARGS="\"verbose kdb\""
158#options		BOOT_ARGS="\"pmapdebug=1\""
159
160config		netbsd		root on ? type ?
161#config		netbsd		root on sd0c  type ffs
162#config		netbsd		root on wd0a  type ffs
163#config		netbsd		root on re1  type nfs
164
165# The main bus device
166mainbus0	at root
167
168# The boot cpu
169cpu0		at mainbus?
170
171# Specify the memory size in bytes.
172options 	MEMSIZE=0x80000000
173
174# Marvell SoC Bus
175mvsoc0		at mainbus?
176
177# On-chip Timers
178mvsoctmr*	at mvsoc? offset ? irq ?
179
180# On-chip UART Interface
181com*		at mvsoc?
182#options 	COM_DEBUG
183options 	CONSADDR=0xd0012000
184options 	CONSPEED=115200
185options 	CONSFREQ=250000000
186
187# On-chip Two-Wire Serial Interface (TWSI)
188gttwsi*		at mvsoc? offset ? irq ?
189iic*		at gttwsi?
190
191# Serial Peripheral Interface (SPI)
192mvspi*		at mvsoc? offset ? irq ?
193spi*		at mvspi?
194
195spiflash0	at spiflashbus?
196m25p0		at spi? slave 0
197
198# TWSI SDRAM Serial Presence Detect
199spdmem0		at iic? addr 0x56
200
201# On-chip USB 2.0 Interface
202ehci*		at mvsoc? offset ? irq ?
203
204# USB bus support
205usb*		at ehci?
206
207# USB Hubs
208uhub*		at usb?
209uhub*		at uhub? port ?
210
211# USB Mass Storage
212umass*		at uhub? port ? configuration ? interface ?
213wd*		at umass?
214scsibus*	at scsi?
215sd*		at scsibus? target ? lun ?	# SCSI disk drives
216
217# USB Generic driver
218ugen*		at uhub? port ?
219
220# USB Network interface
221udav*		at uhub? port ?
222
223mvsdio*		at mvsoc? offset ? irq ?
224sdmmc*		at mvsdio?
225
226ld*		at sdmmc?
227
228# On-chip Serial-ATA II Host Controller (SATAHC)
229mvsata*		at mvsoc? offset ? irq ?
230#options 	MVSATA_WITHOUTDMA
231
232# ATA (IDE) bus support
233atabus*		at ata?
234#options 	ATADEBUG
235
236# ATAPI bus support
237atapibus*	at atapi?
238
239# IDE drives
240wd*		at atabus? drive ? flags 0x0000
241
242# ATAPI devices
243# flags have the same meaning as for IDE drives.
244sd*		at atapibus? drive ? flags 0x0000       # ATAPI disk drives
245uk*		at atapibus? drive ? flags 0x0000       # ATAPI unknown
246
247# On-chip RTC
248mvsocrtc*	at mvsoc? offset ? irq ?
249
250# On-chip PCI Express Interface
251mvpex*		at mvsoc? offset ? irq ?
252
253# PCI bus support
254options 	PCI_NETBSD_CONFIGURE
255#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
256pci*		at mvpex?
257pchb*		at pci? dev ? function ?	# PCI-Host bridges
258
259# PCI Ethernet
260wm*		at pci? dev ? function ?	# Intel 8254x gigabit
261re*		at pci? dev ? function ?
262
263acphy*		at mii? phy ?		# Altima AC101 10/100 PHY
264amhphy*		at mii? phy ?		# AMD 79c901 PHY (10BASE-T part)
265bmtphy*		at mii? phy ?		# Broadcom BCM5201/5202 PHYs
266brgphy*		at mii? phy ?		# Broadcom BCM5400/5401 Gig-E PHYs
267ciphy*		at mii? phy ?		# Cicada CS8201 Gig-E PHYs
268dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
269exphy*		at mii? phy ?		# 3Com internal PHYs
270gentbi*		at mii? phy ?		# Generic ten-bit 1000BASE-X PHYs
271glxtphy*	at mii? phy ?		# Level One LXT-1000 Gig-E PHYs
272gphyter*	at mii? phy ?		# NatSemi DP83861 Gig-E PHYs
273icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS1890 PHYs
274igphy*		at mii? phy ?		# Intel IGP01E1000, i82566 10/100/1000
275ikphy*		at mii? phy ?		# Intel 82563 PHYs
276inphy*		at mii? phy ?		# Intel 82555 PHYs
277iophy*		at mii? phy ?		# Intel 82553 PHYs
278lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
279makphy*		at mii? phy ?		# Marvel 88E1000 Gig-E PHYs
280nsphy*		at mii? phy ?		# NatSemi DP83840 PHYs
281nsphyter*	at mii? phy ?		# NatSemi DP83843/DP83815 PHYs
282pnaphy*		at mii? phy ?		# Generic HomePNA PHYs
283qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
284rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
285rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
286sqphy*		at mii? phy ?		# Seeq 80220/80221/80223/80225 PHYs
287tlphy*		at mii? phy ?		# ThunderLAN internal PHYs
288tqphy*		at mii? phy ?		# TSC Semiconductor 78Q2120 PHYs
289ukphy*		at mii? phy ?		# Generic/unknown PHYs
290urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
291
292# Pseudo-Devices
293# disk/mass storage pseudo-devices
294pseudo-device	md			# memory disk device (ramdisk)
295pseudo-device	vnd			# pseudo disks (see vnconfig)
296#pseudo-device	fss			# file system snapshot device
297
298# network pseudo-devices
299pseudo-device	bpfilter		# Berkeley packet filter
300pseudo-device	loop			# network loopback
301pseudo-device	kttcp			# network loopback
302pseudo-device	putter
303
304# miscellaneous pseudo-devices
305pseudo-device	pty			# pseudo-terminals
306#options 	RND_COM
307#pseudo-device	clockctl		# user control of clock subsystem
308pseudo-device	ksyms			# /dev/ksyms
309