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 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" 15makeoptions NOCTF="yes" # XXX toolchain/57146 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 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 67options INET # IP + ICMP + TCP + UDP 68options 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 79options NFS_BOOT_DHCP 80#options NFS_BOOT_BOOTPARAM 81 82# Compatibility options 83 84include "conf/compat_netbsd50.config" 85options 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. 100options CONSPEED=115200 # Console speed 101options 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 116options DIAGNOSTIC # internal consistency checks 117options DEBUG 118#options UVMHIST # kernhist for uvm/pmap subsystems 119#options VERBOSE_INIT_ARM # verbose bootstraping messages 120options DDB # in-kernel debugger 121options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 122#makeoptions DEBUG="-g" # compile full symbol table 123makeoptions COPY_SYMTAB=1 124 125config netbsd root on ? type ? 126 127# The main bus device 128mainbus0 at root 129 130# The boot cpu 131cpu0 at mainbus? 132 133# IXP425 slow peripheral 134ixpsip0 at mainbus? 135 136#Timer 137ixpclk* at ixpsip? addr 0xc8005000 size 0x30 138 139# On-board device support 140com0 at ixpsip? addr 0xc8000000 size 0x1000 index 0 141options COM_PXA2X0 142 143# Watchdog 144ixpdog0 at ixpsip? addr 0xc8005014 145 146# I2C bus (using bit-banged GPIO pins) 147slugiic0 at ixpsip? 148iic0 at slugiic0 149xrtc0 at iic0 addr 0x6f 150 151# Power/Reset button support (via sysmon) 152slugbutt0 at ixpsip? 153 154# Disk activity and ready/status LED support 155slugled0 at ixpsip? 156 157# Buzzer support (not supported yet) 158#slugbuzz0 at ixpsip? 159 160# IXP425 fast bus 161ixpio0 at mainbus? 162 163# PCI bus 164pci0 at ixpio? bus ? 165 166 167# IXP425 NPE Micro-engine support 168ixme0 at mainbus? # Includes QMGR 169ixpnpe0 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 173npe0 at ixpnpe0 phy 1 174 175 176# USB devices 177ehci* at pci? dev ? function ? 178ohci* at pci? dev ? function ? 179usb* at ehci? 180usb* at ohci? 181uhub* at usb? 182uhub* at uhub? port ? 183 184# USB Mass Storage Devices 185umass* at uhub? port ? configuration ? interface ? 186scsibus* at umass? channel ? 187sd* at scsibus? target ? lun ? # SCSI disk drives 188 189# USB Ethernet adapters 190aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 191axe* at uhub? port ? # ASIX AX88172 based adapters 192cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 193cue* at uhub? port ? # CATC USB-EL1201A based adapters 194kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 195mue* at uhub? port ? # Microchip LAN75xx/LAN78xx based adapters 196udav* at uhub? port ? # Davicom DM9601 based adapters 197ure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters 198url* at uhub? port ? # Realtek RTL8150L based adapters 199 200# MII/PHY support 201rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs 202rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 203ukphy* at mii? phy ? # Generic/Unknown PHY 204 205# USB 802.11 adapters 206atu* at uhub? port ? # Atmel AT76C50XX based adapters 207ural* at uhub? port ? # Ralink Technology RT2500USB 802.11a/b/g 208 209# USB Generic driver 210ugen* 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 221pseudo-device bpfilter # Berkeley packet filter 222#pseudo-device npf # NPF packet filter 223pseudo-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 232pseudo-device pty # pseudo-terminals 233pseudo-device clockctl # user control of clock subsystem 234pseudo-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