NSLU2 revision 1.42
1# $NetBSD: NSLU2,v 1.42 2017/09/14 07:58:40 mrg 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" 15 16# Standard system options 17 18options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 19options NTP # NTP phase/frequency locked loop 20 21# CPU options 22 23# For XScale systems 24options CPU_XSCALE_IXP425 # Support the XScale core 25makeoptions CPUFLAGS="-mcpu=xscale -mbig-endian" 26 27# Architecture options 28options XSCALE_CACHE_READ_WRITE_ALLOCATE 29#options HZ=512 30 31# Board Type 32makeoptions BOARDTYPE="nslu2" 33options IXP425_CLOCK_FREQ=66000000 34 35# File systems 36 37file-system FFS # UFS 38#file-system LFS # log-structured file system 39file-system MFS # memory file system 40file-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 49file-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 64options INET # IP + ICMP + TCP + UDP 65options 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 IPFILTER_LOG # ipmon(8) log support 74#options IPFILTER_LOOKUP # ippool(8) support 75#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 76 77#options NFS_BOOT_BOOTP 78options NFS_BOOT_DHCP 79#options NFS_BOOT_BOOTPARAM 80 81# Compatibility options 82 83include "conf/compat_netbsd50.config" 84options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 85 86# Shared memory options 87 88#options SYSVMSG # System V-like message queues 89#options SYSVSEM # System V-like semaphores 90#options SYSVSHM # System V-like memory sharing 91 92# Device options 93 94#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 95#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 96#options MEMORY_DISK_IS_ROOT # use memory disk as root 97 98# Console options. The default console is speed is 115200 baud. 99options CONSPEED=115200 # Console speed 100options CONUNIT=0 # Console port number 101 102# Miscellaneous kernel options 103#options KTRACE # system call tracing, a la ktrace(1) 104#options IRQSTATS # manage IRQ statistics 105#options SCSIVERBOSE # Verbose SCSI errors 106#options PCIVERBOSE # Verbose PCI descriptions 107#options MIIVERBOSE # Verbose MII autoconfuration messages 108#options PCI_CONFIG_DUMP # verbosely dump PCI config space 109#options DDB_KEYCODE=0x40 110#options USERCONF # userconf(4) support 111#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 112 113# Development and Debugging options 114 115#options PERFCTRS # performance counters 116options DIAGNOSTIC # internal consistency checks 117options DEBUG 118#options PMAP_DEBUG # Enable pmap_debug_level code 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 ? 186wd* at umass? 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 196udav* at uhub? port ? # Davicom DM9601 based adapters 197url* at uhub? port ? # Realtek RTL8150L based adapters 198 199# MII/PHY support 200rlphy* at mii? phy ? # Realtek RTL8201 201ukphy* at mii? phy ? # Generic/Unknown PHY 202 203# USB 802.11 adapters 204atu* at uhub? port ? # Atmel AT76C50XX based adapters 205ural* at uhub? port ? # Ralink Technology RT2500USB 802.11a/b/g 206 207# USB Generic driver 208ugen* at uhub? port ? configuration ? interface ? 209 210# Pseudo-Devices 211 212# disk/mass storage pseudo-devices 213#pseudo-device md # memory disk device (ramdisk) 214#pseudo-device vnd # disk-like interface to files 215#pseudo-device fss # file system snapshot device 216#pseudo-device putter # for puffs and pud 217 218# network pseudo-devices 219pseudo-device bpfilter # Berkeley packet filter 220#pseudo-device ipfilter # IP filter (firewall) and NAT 221pseudo-device loop # network loopback 222#pseudo-device ppp # Point-to-Point Protocol 223#pseudo-device kttcp # network loopback 224#pseudo-device tun # network tunneling over tty 225#pseudo-device vlan 226#pseudo-device bridge 227 228# miscellaneous pseudo-devices 229pseudo-device pty # pseudo-terminals 230pseudo-device clockctl # user control of clock subsystem 231pseudo-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