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