11.54Srin# $NetBSD: NSLU2,v 1.54 2023/08/01 10:25:48 rin Exp $ 21.1Sscw# 31.1Sscw# Linksys NSLU2 "Slug" NAS Device 41.1Sscw# 51.1Sscw 61.1Sscwinclude "arch/evbarm/conf/std.nslu2" 71.1Sscw 81.1Sscw# estimated number of users 91.1Sscwmaxusers 8 101.1Sscw 111.1Sscw# Feeling bloated? These might help... 121.1Sscw#options VNODE_OP_NOINLINE 131.1Sscw#options EVBARM_SPL_NOINLINE 141.52Srin#makeoptions COPTS="-Os -fno-unwind-tables" 151.52Srinmakeoptions COPTS="-O2 -fno-unwind-tables" 161.1Sscw 171.1Sscw# Standard system options 181.1Sscw 191.1Sscwoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 201.1Sscwoptions NTP # NTP phase/frequency locked loop 211.1Sscw 221.1Sscw# CPU options 231.1Sscw 241.1Sscw# For XScale systems 251.1Sscwoptions CPU_XSCALE_IXP425 # Support the XScale core 261.1Sscwmakeoptions CPUFLAGS="-mcpu=xscale -mbig-endian" 271.1Sscw 281.1Sscw# Architecture options 291.1Sscwoptions XSCALE_CACHE_READ_WRITE_ALLOCATE 301.1Sscw#options HZ=512 311.1Sscw 321.1Sscw# Board Type 331.1Sscwmakeoptions BOARDTYPE="nslu2" 341.2Sscwoptions IXP425_CLOCK_FREQ=66000000 351.1Sscw 361.1Sscw# File systems 371.1Sscw 381.1Sscwfile-system FFS # UFS 391.1Sscw#file-system LFS # log-structured file system 401.1Sscwfile-system MFS # memory file system 411.1Sscwfile-system NFS # Network file system 421.1Sscw#file-system ADOSFS # AmigaDOS-compatible file system 431.1Sscw#file-system EXT2FS # second extended file system (linux) 441.1Sscw#file-system CD9660 # ISO 9660 + Rock Ridge file system 451.1Sscw#file-system MSDOSFS # MS-DOS file system 461.1Sscw#file-system FDESC # /dev/fd 471.1Sscw#file-system KERNFS # /kern 481.1Sscw#file-system NULLFS # loopback file system 491.1Sscw#file-system PROCFS # /proc 501.28Smsaitohfile-system PTYFS # /dev/ptm support 511.27Smsaitoh#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 521.1Sscw#file-system UMAPFS # NULLFS + uid and gid remapping 531.1Sscw#file-system UNION # union file system 541.1Sscw 551.1Sscw# File system options 561.50Ssimonb#options FFS_EI # FFS Endian Independent support 571.53Srinoptions FFS_NO_SNAPSHOT # No FFS snapshot support 581.18Sbouyer#options QUOTA # legacy UFS quotas 591.18Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 601.50Ssimonb#options UFS_DIRHASH # UFS Large Directory Hashing 611.50Ssimonb#options UFS_EXTATTR # Extended attribute support for UFS1 621.40Srin#options DISKLABEL_EI # disklabel Endian Independent support 631.50Ssimonb#options NFSSERVER # Network File System server 641.1Sscw 651.1Sscw# Networking options 661.1Sscw 671.1Sscw#options GATEWAY # packet forwarding 681.1Sscwoptions INET # IP + ICMP + TCP + UDP 691.1Sscwoptions INET6 # IPV6 701.1Sscw#options IPSEC # IP security 711.1Sscw#options IPSEC_DEBUG # debug for IP security 721.1Sscw#options MROUTING # IP multicast routing 731.1Sscw#options NETATALK # AppleTalk networking 741.1Sscw#options PPP_BSDCOMP # BSD-Compress compression support for PPP 751.1Sscw#options PPP_DEFLATE # Deflate compression support for PPP 761.1Sscw#options PPP_FILTER # Active filter support for PPP (requires bpf) 771.1Sscw#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 781.1Sscw 791.1Sscw#options NFS_BOOT_BOOTP 801.1Sscwoptions NFS_BOOT_DHCP 811.1Sscw#options NFS_BOOT_BOOTPARAM 821.1Sscw 831.1Sscw# Compatibility options 841.1Sscw 851.42Smrginclude "conf/compat_netbsd50.config" 861.42Smrgoptions COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 871.1Sscw 881.1Sscw# Shared memory options 891.1Sscw 901.1Sscw#options SYSVMSG # System V-like message queues 911.1Sscw#options SYSVSEM # System V-like semaphores 921.1Sscw#options SYSVSHM # System V-like memory sharing 931.1Sscw 941.1Sscw# Device options 951.1Sscw 961.1Sscw#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 971.1Sscw#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 981.1Sscw#options MEMORY_DISK_IS_ROOT # use memory disk as root 991.1Sscw 1001.1Sscw# Console options. The default console is speed is 115200 baud. 1011.1Sscwoptions CONSPEED=115200 # Console speed 1021.1Sscwoptions CONUNIT=0 # Console port number 1031.1Sscw 1041.1Sscw# Miscellaneous kernel options 1051.1Sscw#options KTRACE # system call tracing, a la ktrace(1) 1061.1Sscw#options IRQSTATS # manage IRQ statistics 1071.1Sscw#options SCSIVERBOSE # Verbose SCSI errors 1081.1Sscw#options PCIVERBOSE # Verbose PCI descriptions 1091.1Sscw#options MIIVERBOSE # Verbose MII autoconfuration messages 1101.1Sscw#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1111.1Sscw#options DDB_KEYCODE=0x40 1121.1Sscw#options USERCONF # userconf(4) support 1131.1Sscw#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 1141.1Sscw 1151.1Sscw# Development and Debugging options 1161.1Sscw 1171.34Sdhollandoptions DIAGNOSTIC # internal consistency checks 1181.1Sscwoptions DEBUG 1191.48Sskrll#options UVMHIST # kernhist for uvm/pmap subsystems 1201.1Sscw#options VERBOSE_INIT_ARM # verbose bootstraping messages 1211.1Sscwoptions DDB # in-kernel debugger 1221.1Sscwoptions DDB_HISTORY_SIZE=100 # Enable history editing in DDB 1231.1Sscw#makeoptions DEBUG="-g" # compile full symbol table 1241.37Sjoergmakeoptions COPY_SYMTAB=1 1251.1Sscw 1261.1Sscwconfig netbsd root on ? type ? 1271.1Sscw 1281.1Sscw# The main bus device 1291.1Sscwmainbus0 at root 1301.1Sscw 1311.1Sscw# The boot cpu 1321.1Sscwcpu0 at mainbus? 1331.1Sscw 1341.1Sscw# IXP425 slow peripheral 1351.1Sscwixpsip0 at mainbus? 1361.1Sscw 1371.1Sscw#Timer 1381.1Sscwixpclk* at ixpsip? addr 0xc8005000 size 0x30 1391.1Sscw 1401.1Sscw# On-board device support 1411.1Sscwcom0 at ixpsip? addr 0xc8000000 size 0x1000 index 0 1421.1Sscwoptions COM_PXA2X0 1431.1Sscw 1441.5Sscw# Watchdog 1451.5Sscwixpdog0 at ixpsip? addr 0xc8005014 1461.5Sscw 1471.1Sscw# I2C bus (using bit-banged GPIO pins) 1481.1Sscwslugiic0 at ixpsip? 1491.1Sscwiic0 at slugiic0 1501.1Sscwxrtc0 at iic0 addr 0x6f 1511.1Sscw 1521.1Sscw# Power/Reset button support (via sysmon) 1531.1Sscwslugbutt0 at ixpsip? 1541.1Sscw 1551.1Sscw# Disk activity and ready/status LED support 1561.1Sscwslugled0 at ixpsip? 1571.1Sscw 1581.1Sscw# Buzzer support (not supported yet) 1591.1Sscw#slugbuzz0 at ixpsip? 1601.1Sscw 1611.1Sscw# IXP425 fast bus 1621.1Sscwixpio0 at mainbus? 1631.1Sscw 1641.1Sscw# PCI bus 1651.1Sscwpci0 at ixpio? bus ? 1661.1Sscw 1671.5Sscw 1681.5Sscw# IXP425 NPE Micro-engine support 1691.5Sscwixme0 at mainbus? # Includes QMGR 1701.5Sscwixpnpe0 at ixme0 npe 1 # NPE-B 1711.5Sscw#ixpnpe1 at ixme0 npe 2 # NPE-C (not used on NSLU2) 1721.5Sscw 1731.5Sscw# IXP425 NPE Ethernet on NPE-B 1741.5Sscwnpe0 at ixpnpe0 phy 1 1751.5Sscw 1761.5Sscw 1771.1Sscw# USB devices 1781.1Sscwehci* at pci? dev ? function ? 1791.1Sscwohci* at pci? dev ? function ? 1801.1Sscwusb* at ehci? 1811.1Sscwusb* at ohci? 1821.1Sscwuhub* at usb? 1831.6Sdrochneruhub* at uhub? port ? 1841.1Sscw 1851.1Sscw# USB Mass Storage Devices 1861.1Sscwumass* at uhub? port ? configuration ? interface ? 1871.1Sscwscsibus* at umass? channel ? 1881.1Sscwsd* at scsibus? target ? lun ? # SCSI disk drives 1891.1Sscw 1901.1Sscw# USB Ethernet adapters 1911.1Sscwaue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 1921.1Sscwaxe* at uhub? port ? # ASIX AX88172 based adapters 1931.1Sscwcdce* at uhub? port ? # CDC, Ethernet Networking Control Model 1941.1Sscwcue* at uhub? port ? # CATC USB-EL1201A based adapters 1951.1Sscwkue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 1961.45Srinmue* at uhub? port ? # Microchip LAN75xx/LAN78xx based adapters 1971.1Sscwudav* at uhub? port ? # Davicom DM9601 based adapters 1981.47Srinure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters 1991.1Sscwurl* at uhub? port ? # Realtek RTL8150L based adapters 2001.1Sscw 2011.1Sscw# MII/PHY support 2021.47Srinrgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs 2031.47Srinrlphy* at mii? phy ? # Realtek 8139/8201L PHYs 2041.5Sscwukphy* at mii? phy ? # Generic/Unknown PHY 2051.1Sscw 2061.1Sscw# USB 802.11 adapters 2071.1Sscwatu* at uhub? port ? # Atmel AT76C50XX based adapters 2081.26Sjakllschural* at uhub? port ? # Ralink Technology RT2500USB 802.11a/b/g 2091.1Sscw 2101.1Sscw# USB Generic driver 2111.1Sscwugen* at uhub? port ? configuration ? interface ? 2121.1Sscw 2131.1Sscw# Pseudo-Devices 2141.1Sscw 2151.1Sscw# disk/mass storage pseudo-devices 2161.17Shannken#pseudo-device md # memory disk device (ramdisk) 2171.32Schristos#pseudo-device vnd # disk-like interface to files 2181.27Smsaitoh#pseudo-device fss # file system snapshot device 2191.27Smsaitoh#pseudo-device putter # for puffs and pud 2201.1Sscw 2211.1Sscw# network pseudo-devices 2221.32Schristospseudo-device bpfilter # Berkeley packet filter 2231.44Smaxv#pseudo-device npf # NPF packet filter 2241.1Sscwpseudo-device loop # network loopback 2251.32Schristos#pseudo-device ppp # Point-to-Point Protocol 2261.1Sscw#pseudo-device kttcp # network loopback 2271.32Schristos#pseudo-device tun # network tunneling over tty 2281.1Sscw#pseudo-device vlan 2291.1Sscw#pseudo-device bridge 2301.49Sroy#pseudo-device vether # Virtual Ethernet for bridge 2311.1Sscw 2321.1Sscw# miscellaneous pseudo-devices 2331.1Sscwpseudo-device pty # pseudo-terminals 2341.1Sscwpseudo-device clockctl # user control of clock subsystem 2351.1Sscwpseudo-device ksyms # /dev/ksyms 2361.1Sscw#pseudo-device crypto # opencrypto framework 2371.1Sscw 2381.1Sscw# data mover pseudo-devices 2391.24Sskrll#pseudo-device swdmover # software dmover(9) back-end 2401.1Sscw#pseudo-device dmoverio # /dev/dmover dmover(9) interface 241