NSLU2 revision 1.49 1 # $NetBSD: NSLU2,v 1.49 2020/09/27 13:48:50 roy 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 DISKLABEL_EI # disklabel Endian Independent support
58 #options FFS_EI # FFS Endian Independent support
59 #options NFSSERVER
60
61 # Networking options
62
63 #options GATEWAY # packet forwarding
64 options INET # IP + ICMP + TCP + UDP
65 options INET6 # IPV6
66 #options IPSEC # IP security
67 #options IPSEC_DEBUG # debug for IP security
68 #options MROUTING # IP multicast routing
69 #options NETATALK # AppleTalk networking
70 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
71 #options PPP_DEFLATE # Deflate compression support for PPP
72 #options PPP_FILTER # Active filter support for PPP (requires bpf)
73 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
74
75 #options NFS_BOOT_BOOTP
76 options NFS_BOOT_DHCP
77 #options NFS_BOOT_BOOTPARAM
78
79 # Compatibility options
80
81 include "conf/compat_netbsd50.config"
82 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
83
84 # Shared memory options
85
86 #options SYSVMSG # System V-like message queues
87 #options SYSVSEM # System V-like semaphores
88 #options SYSVSHM # System V-like memory sharing
89
90 # Device options
91
92 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
93 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
94 #options MEMORY_DISK_IS_ROOT # use memory disk as root
95
96 # Console options. The default console is speed is 115200 baud.
97 options CONSPEED=115200 # Console speed
98 options CONUNIT=0 # Console port number
99
100 # Miscellaneous kernel options
101 #options KTRACE # system call tracing, a la ktrace(1)
102 #options IRQSTATS # manage IRQ statistics
103 #options SCSIVERBOSE # Verbose SCSI errors
104 #options PCIVERBOSE # Verbose PCI descriptions
105 #options MIIVERBOSE # Verbose MII autoconfuration messages
106 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
107 #options DDB_KEYCODE=0x40
108 #options USERCONF # userconf(4) support
109 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
110
111 # Development and Debugging options
112
113 options DIAGNOSTIC # internal consistency checks
114 options DEBUG
115 #options UVMHIST # kernhist for uvm/pmap subsystems
116 #options VERBOSE_INIT_ARM # verbose bootstraping messages
117 options DDB # in-kernel debugger
118 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
119 #makeoptions DEBUG="-g" # compile full symbol table
120 makeoptions COPY_SYMTAB=1
121
122 config netbsd root on ? type ?
123
124 # The main bus device
125 mainbus0 at root
126
127 # The boot cpu
128 cpu0 at mainbus?
129
130 # IXP425 slow peripheral
131 ixpsip0 at mainbus?
132
133 #Timer
134 ixpclk* at ixpsip? addr 0xc8005000 size 0x30
135
136 # On-board device support
137 com0 at ixpsip? addr 0xc8000000 size 0x1000 index 0
138 options COM_PXA2X0
139
140 # Watchdog
141 ixpdog0 at ixpsip? addr 0xc8005014
142
143 # I2C bus (using bit-banged GPIO pins)
144 slugiic0 at ixpsip?
145 iic0 at slugiic0
146 xrtc0 at iic0 addr 0x6f
147
148 # Power/Reset button support (via sysmon)
149 slugbutt0 at ixpsip?
150
151 # Disk activity and ready/status LED support
152 slugled0 at ixpsip?
153
154 # Buzzer support (not supported yet)
155 #slugbuzz0 at ixpsip?
156
157 # IXP425 fast bus
158 ixpio0 at mainbus?
159
160 # PCI bus
161 pci0 at ixpio? bus ?
162
163
164 # IXP425 NPE Micro-engine support
165 ixme0 at mainbus? # Includes QMGR
166 ixpnpe0 at ixme0 npe 1 # NPE-B
167 #ixpnpe1 at ixme0 npe 2 # NPE-C (not used on NSLU2)
168
169 # IXP425 NPE Ethernet on NPE-B
170 npe0 at ixpnpe0 phy 1
171
172
173 # USB devices
174 ehci* at pci? dev ? function ?
175 ohci* at pci? dev ? function ?
176 usb* at ehci?
177 usb* at ohci?
178 uhub* at usb?
179 uhub* at uhub? port ?
180
181 # USB Mass Storage Devices
182 umass* at uhub? port ? configuration ? interface ?
183 scsibus* at umass? channel ?
184 sd* at scsibus? target ? lun ? # SCSI disk drives
185
186 # USB Ethernet adapters
187 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
188 axe* at uhub? port ? # ASIX AX88172 based adapters
189 cdce* at uhub? port ? # CDC, Ethernet Networking Control Model
190 cue* at uhub? port ? # CATC USB-EL1201A based adapters
191 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
192 mue* at uhub? port ? # Microchip LAN75xx/LAN78xx based adapters
193 udav* at uhub? port ? # Davicom DM9601 based adapters
194 ure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters
195 url* at uhub? port ? # Realtek RTL8150L based adapters
196
197 # MII/PHY support
198 rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs
199 rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
200 ukphy* at mii? phy ? # Generic/Unknown PHY
201
202 # USB 802.11 adapters
203 atu* at uhub? port ? # Atmel AT76C50XX based adapters
204 ural* at uhub? port ? # Ralink Technology RT2500USB 802.11a/b/g
205
206 # USB Generic driver
207 ugen* at uhub? port ? configuration ? interface ?
208
209 # Pseudo-Devices
210
211 # disk/mass storage pseudo-devices
212 #pseudo-device md # memory disk device (ramdisk)
213 #pseudo-device vnd # disk-like interface to files
214 #pseudo-device fss # file system snapshot device
215 #pseudo-device putter # for puffs and pud
216
217 # network pseudo-devices
218 pseudo-device bpfilter # Berkeley packet filter
219 #pseudo-device npf # NPF packet filter
220 pseudo-device loop # network loopback
221 #pseudo-device ppp # Point-to-Point Protocol
222 #pseudo-device kttcp # network loopback
223 #pseudo-device tun # network tunneling over tty
224 #pseudo-device vlan
225 #pseudo-device bridge
226 #pseudo-device vether # Virtual Ethernet for bridge
227
228 # miscellaneous pseudo-devices
229 pseudo-device pty # pseudo-terminals
230 pseudo-device clockctl # user control of clock subsystem
231 pseudo-device ksyms # /dev/ksyms
232 #pseudo-device crypto # opencrypto framework
233
234 # data mover pseudo-devices
235 #pseudo-device swdmover # software dmover(9) back-end
236 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
237