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