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