xref: /netbsd-src/sys/arch/evbarm/conf/NSLU2 (revision 924795e69c8bb3f17afd8fcbb799710cc1719dc4)
1#	$NetBSD: NSLU2,v 1.53 2023/06/17 11:41:11 rin Exp $
2#
3#	Linksys NSLU2 "Slug" NAS Device
4#
5
6include	"arch/evbarm/conf/std.nslu2"
7
8# estimated number of users
9maxusers	8
10
11# Feeling bloated? These might help...
12#options 	VNODE_OP_NOINLINE
13#options 	EVBARM_SPL_NOINLINE
14#makeoptions 	COPTS="-Os -fno-unwind-tables"
15makeoptions	NOCTF="yes"		# XXX toolchain/57146
16makeoptions	COPTS="-O2 -fno-unwind-tables"
17
18# Standard system options
19
20options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
21options 	NTP		# NTP phase/frequency locked loop
22
23# CPU options
24
25# For XScale systems
26options 	CPU_XSCALE_IXP425	# Support the XScale core
27makeoptions	CPUFLAGS="-mcpu=xscale -mbig-endian"
28
29# Architecture options
30options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
31#options 	HZ=512
32
33# Board Type
34makeoptions	BOARDTYPE="nslu2"
35options 	IXP425_CLOCK_FREQ=66000000
36
37# File systems
38
39file-system	FFS		# UFS
40#file-system	LFS		# log-structured file system
41file-system	MFS		# memory file system
42file-system	NFS		# Network file system
43#file-system 	ADOSFS		# AmigaDOS-compatible file system
44#file-system 	EXT2FS		# second extended file system (linux)
45#file-system	CD9660		# ISO 9660 + Rock Ridge file system
46#file-system	MSDOSFS		# MS-DOS file system
47#file-system	FDESC		# /dev/fd
48#file-system	KERNFS		# /kern
49#file-system	NULLFS		# loopback file system
50#file-system	PROCFS		# /proc
51file-system 	PTYFS		# /dev/ptm support
52#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
53#file-system	UMAPFS		# NULLFS + uid and gid remapping
54#file-system	UNION		# union file system
55
56# File system options
57#options 	FFS_EI		# FFS Endian Independent support
58options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
59#options 	QUOTA		# legacy UFS quotas
60#options 	QUOTA2		# new, in-filesystem UFS quotas
61#options 	UFS_DIRHASH	# UFS Large Directory Hashing
62#options 	UFS_EXTATTR	# Extended attribute support for UFS1
63#options 	DISKLABEL_EI	# disklabel Endian Independent support
64#options 	NFSSERVER	# Network File System server
65
66# Networking options
67
68#options 	GATEWAY		# packet forwarding
69options 	INET		# IP + ICMP + TCP + UDP
70options 	INET6		# IPV6
71#options 	IPSEC		# IP security
72#options 	IPSEC_DEBUG	# debug for IP security
73#options 	MROUTING	# IP multicast routing
74#options 	NETATALK	# AppleTalk networking
75#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
76#options 	PPP_DEFLATE	# Deflate compression support for PPP
77#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
78#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
79
80#options 	NFS_BOOT_BOOTP
81options 	NFS_BOOT_DHCP
82#options 	NFS_BOOT_BOOTPARAM
83
84# Compatibility options
85
86include 	"conf/compat_netbsd50.config"
87options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
88
89# Shared memory options
90
91#options 	SYSVMSG		# System V-like message queues
92#options 	SYSVSEM		# System V-like semaphores
93#options 	SYSVSHM		# System V-like memory sharing
94
95# Device options
96
97#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
98#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
99#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
100
101# Console options.  The default console is speed is 115200 baud.
102options 	CONSPEED=115200		# Console speed
103options 	CONUNIT=0		# Console port number
104
105# Miscellaneous kernel options
106#options 	KTRACE		# system call tracing, a la ktrace(1)
107#options 	IRQSTATS	# manage IRQ statistics
108#options 	SCSIVERBOSE	# Verbose SCSI errors
109#options 	PCIVERBOSE	# Verbose PCI descriptions
110#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
111#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
112#options 	DDB_KEYCODE=0x40
113#options 	USERCONF	# userconf(4) support
114#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
115
116# Development and Debugging options
117
118options 	DIAGNOSTIC	# internal consistency checks
119options 	DEBUG
120#options 	UVMHIST		# kernhist for uvm/pmap subsystems
121#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
122options 	DDB		# in-kernel debugger
123options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
124#makeoptions	DEBUG="-g"	# compile full symbol table
125makeoptions	COPY_SYMTAB=1
126
127config		netbsd		root on ? type ?
128
129# The main bus device
130mainbus0	at root
131
132# The boot cpu
133cpu0		at mainbus?
134
135# IXP425 slow peripheral
136ixpsip0		at mainbus?
137
138#Timer
139ixpclk*		at ixpsip? addr 0xc8005000 size 0x30
140
141# On-board device support
142com0		at ixpsip? addr 0xc8000000 size 0x1000 index 0
143options 	COM_PXA2X0
144
145# Watchdog
146ixpdog0 	at ixpsip? addr 0xc8005014
147
148# I2C bus (using bit-banged GPIO pins)
149slugiic0	at ixpsip?
150iic0		at slugiic0
151xrtc0		at iic0 addr 0x6f
152
153# Power/Reset button support (via sysmon)
154slugbutt0 	at ixpsip?
155
156# Disk activity and ready/status LED support
157slugled0 	at ixpsip?
158
159# Buzzer support (not supported yet)
160#slugbuzz0 	at ixpsip?
161
162# IXP425 fast bus
163ixpio0		at mainbus?
164
165# PCI bus
166pci0		at ixpio? bus ?
167
168
169# IXP425 NPE Micro-engine support
170ixme0		at mainbus?		# Includes QMGR
171ixpnpe0 	at ixme0 npe 1		# NPE-B
172#ixpnpe1 	at ixme0 npe 2		# NPE-C (not used on NSLU2)
173
174# IXP425 NPE Ethernet on NPE-B
175npe0		at ixpnpe0 phy 1
176
177
178# USB devices
179ehci*	at pci? dev ? function ?
180ohci*	at pci? dev ? function ?
181usb*	at ehci?
182usb*	at ohci?
183uhub*	at usb?
184uhub*	at uhub? port ?
185
186# USB Mass Storage Devices
187umass*		at uhub? port ? configuration ? interface ?
188scsibus*	at umass? channel ?
189sd*		at scsibus? target ? lun ?	# SCSI disk drives
190
191# USB Ethernet adapters
192aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
193axe*	at uhub? port ?		# ASIX AX88172 based adapters
194cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
195cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
196kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
197mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
198udav*	at uhub? port ?		# Davicom DM9601 based adapters
199ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
200url*	at uhub? port ?		# Realtek RTL8150L based adapters
201
202# MII/PHY support
203rgephy*	at mii? phy ?		# Realtek 8169S/8110S/8211 PHYs
204rlphy*	at mii? phy ?		# Realtek 8139/8201L PHYs
205ukphy*	at mii? phy ?		# Generic/Unknown PHY
206
207# USB 802.11 adapters
208atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
209ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
210
211# USB Generic driver
212ugen*		at uhub? port ? configuration ? interface ?
213
214# Pseudo-Devices
215
216# disk/mass storage pseudo-devices
217#pseudo-device	md			# memory disk device (ramdisk)
218#pseudo-device	vnd			# disk-like interface to files
219#pseudo-device	fss			# file system snapshot device
220#pseudo-device	putter			# for puffs and pud
221
222# network pseudo-devices
223pseudo-device	bpfilter		# Berkeley packet filter
224#pseudo-device	npf			# NPF packet filter
225pseudo-device	loop			# network loopback
226#pseudo-device	ppp			# Point-to-Point Protocol
227#pseudo-device	kttcp			# network loopback
228#pseudo-device	tun			# network tunneling over tty
229#pseudo-device	vlan
230#pseudo-device	bridge
231#pseudo-device	vether			# Virtual Ethernet for bridge
232
233# miscellaneous pseudo-devices
234pseudo-device	pty			# pseudo-terminals
235pseudo-device	clockctl		# user control of clock subsystem
236pseudo-device	ksyms			# /dev/ksyms
237#pseudo-device	crypto			# opencrypto framework
238
239# data mover pseudo-devices
240#pseudo-device	swdmover		# software dmover(9) back-end
241#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
242