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