NSLU2 revision 1.37
11.37Sjoerg# $NetBSD: NSLU2,v 1.37 2014/08/17 21:17:43 joerg 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.1Sscw#makeoptions COPTS="-Os" 151.1Sscw 161.1Sscw# Standard system options 171.1Sscw 181.1Sscwoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 191.1Sscwoptions NTP # NTP phase/frequency locked loop 201.1Sscw 211.1Sscw# CPU options 221.1Sscw 231.1Sscw# For XScale systems 241.1Sscwoptions CPU_XSCALE_IXP425 # Support the XScale core 251.1Sscwmakeoptions CPUFLAGS="-mcpu=xscale -mbig-endian" 261.1Sscw 271.1Sscw# Architecture options 281.1Sscwoptions XSCALE_CACHE_READ_WRITE_ALLOCATE 291.1Sscw#options HZ=512 301.1Sscw 311.1Sscw# Board Type 321.1Sscwmakeoptions BOARDTYPE="nslu2" 331.2Sscwoptions IXP425_CLOCK_FREQ=66000000 341.1Sscw 351.1Sscw# File systems 361.1Sscw 371.1Sscwfile-system FFS # UFS 381.1Sscw#file-system LFS # log-structured file system 391.1Sscwfile-system MFS # memory file system 401.1Sscwfile-system NFS # Network file system 411.1Sscw#file-system ADOSFS # AmigaDOS-compatible file system 421.1Sscw#file-system EXT2FS # second extended file system (linux) 431.1Sscw#file-system CD9660 # ISO 9660 + Rock Ridge file system 441.1Sscw#file-system MSDOSFS # MS-DOS file system 451.1Sscw#file-system FDESC # /dev/fd 461.1Sscw#file-system KERNFS # /kern 471.1Sscw#file-system NULLFS # loopback file system 481.1Sscw#file-system PROCFS # /proc 491.28Smsaitohfile-system PTYFS # /dev/ptm support 501.27Smsaitoh#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 511.1Sscw#file-system UMAPFS # NULLFS + uid and gid remapping 521.1Sscw#file-system UNION # union file system 531.1Sscw 541.1Sscw# File system options 551.18Sbouyer#options QUOTA # legacy UFS quotas 561.18Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 571.20Swiz#options FFS_EI # FFS Endian Independent support 581.1Sscw#options NFSSERVER 591.1Sscw 601.1Sscw# Networking options 611.1Sscw 621.1Sscw#options GATEWAY # packet forwarding 631.1Sscwoptions INET # IP + ICMP + TCP + UDP 641.1Sscwoptions INET6 # IPV6 651.1Sscw#options IPSEC # IP security 661.1Sscw#options IPSEC_DEBUG # debug for IP security 671.1Sscw#options MROUTING # IP multicast routing 681.1Sscw#options NETATALK # AppleTalk networking 691.1Sscw#options PPP_BSDCOMP # BSD-Compress compression support for PPP 701.1Sscw#options PPP_DEFLATE # Deflate compression support for PPP 711.1Sscw#options PPP_FILTER # Active filter support for PPP (requires bpf) 721.1Sscw#options IPFILTER_LOG # ipmon(8) log support 731.3Schristos#options IPFILTER_LOOKUP # ippool(8) support 741.1Sscw#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 751.1Sscw 761.1Sscw#options NFS_BOOT_BOOTP 771.1Sscwoptions NFS_BOOT_DHCP 781.1Sscw#options NFS_BOOT_BOOTPARAM 791.1Sscw 801.1Sscw# Compatibility options 811.1Sscw 821.35Smartinoptions COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 831.1Sscw#options COMPAT_43 # 4.3BSD compatibility. 841.36Sapboptions COMPAT_70 # NetBSD 7.0 compatibility. 851.29Sapboptions COMPAT_60 # NetBSD 6.0 compatibility. 861.15Sbshoptions COMPAT_50 # NetBSD 5.0 compatibility. 871.11Stsutsui#options COMPAT_40 # NetBSD 4.0 compatibility. 881.1Sscw#options COMPAT_30 # NetBSD 3.0 compatibility. 891.1Sscw#options COMPAT_20 # NetBSD 2.0 compatibility. 901.1Sscw#options COMPAT_16 # NetBSD 1.5 compatibility. 911.1Sscw#options COMPAT_15 # NetBSD 1.6 compatibility. 921.1Sscw#options COMPAT_14 # NetBSD 1.4 compatibility. 931.1Sscw#options COMPAT_13 # NetBSD 1.3 compatibility. 941.1Sscw#options COMPAT_12 # NetBSD 1.2 compatibility. 951.1Sscw#options COMPAT_11 # NetBSD 1.1 compatibility. 961.1Sscw#options COMPAT_10 # NetBSD 1.0 compatibility. 971.1Sscw#options COMPAT_09 # NetBSD 0.9 compatibility. 981.1Sscw#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 991.1Sscwoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1001.1Sscw 1011.1Sscw# Shared memory options 1021.1Sscw 1031.1Sscw#options SYSVMSG # System V-like message queues 1041.1Sscw#options SYSVSEM # System V-like semaphores 1051.1Sscw#options SYSVSHM # System V-like memory sharing 1061.1Sscw 1071.1Sscw# Device options 1081.1Sscw 1091.1Sscw#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 1101.1Sscw#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 1111.1Sscw#options MEMORY_DISK_IS_ROOT # use memory disk as root 1121.1Sscw 1131.1Sscw# Console options. The default console is speed is 115200 baud. 1141.1Sscwoptions CONSPEED=115200 # Console speed 1151.1Sscwoptions CONUNIT=0 # Console port number 1161.1Sscw 1171.1Sscw# Miscellaneous kernel options 1181.1Sscw#options KTRACE # system call tracing, a la ktrace(1) 1191.1Sscw#options IRQSTATS # manage IRQ statistics 1201.1Sscw#options KMEMSTATS # kernel memory statistics 1211.1Sscw#options SCSIVERBOSE # Verbose SCSI errors 1221.1Sscw#options PCIVERBOSE # Verbose PCI descriptions 1231.1Sscw#options MIIVERBOSE # Verbose MII autoconfuration messages 1241.1Sscw#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1251.1Sscw#options DDB_KEYCODE=0x40 1261.1Sscw#options USERCONF # userconf(4) support 1271.1Sscw#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 1281.1Sscw 1291.1Sscw# Development and Debugging options 1301.1Sscw 1311.1Sscw#options PERFCTRS # performance counters 1321.34Sdhollandoptions DIAGNOSTIC # internal consistency checks 1331.1Sscwoptions DEBUG 1341.1Sscw#options PMAP_DEBUG # Enable pmap_debug_level code 1351.1Sscw#options VERBOSE_INIT_ARM # verbose bootstraping messages 1361.1Sscwoptions DDB # in-kernel debugger 1371.1Sscwoptions DDB_HISTORY_SIZE=100 # Enable history editing in DDB 1381.1Sscw#makeoptions DEBUG="-g" # compile full symbol table 1391.37Sjoergmakeoptions COPY_SYMTAB=1 1401.1Sscw 1411.1Sscwconfig netbsd root on ? type ? 1421.1Sscw 1431.1Sscw# The main bus device 1441.1Sscwmainbus0 at root 1451.1Sscw 1461.1Sscw# The boot cpu 1471.1Sscwcpu0 at mainbus? 1481.1Sscw 1491.1Sscw# IXP425 slow peripheral 1501.1Sscwixpsip0 at mainbus? 1511.1Sscw 1521.1Sscw#Timer 1531.1Sscwixpclk* at ixpsip? addr 0xc8005000 size 0x30 1541.1Sscw 1551.1Sscw# On-board device support 1561.1Sscwcom0 at ixpsip? addr 0xc8000000 size 0x1000 index 0 1571.1Sscwoptions COM_PXA2X0 1581.1Sscw 1591.5Sscw# Watchdog 1601.5Sscwixpdog0 at ixpsip? addr 0xc8005014 1611.5Sscw 1621.1Sscw# I2C bus (using bit-banged GPIO pins) 1631.1Sscwslugiic0 at ixpsip? 1641.1Sscwiic0 at slugiic0 1651.1Sscwxrtc0 at iic0 addr 0x6f 1661.1Sscw 1671.1Sscw# Power/Reset button support (via sysmon) 1681.1Sscwslugbutt0 at ixpsip? 1691.1Sscw 1701.1Sscw# Disk activity and ready/status LED support 1711.1Sscwslugled0 at ixpsip? 1721.1Sscw 1731.1Sscw# Buzzer support (not supported yet) 1741.1Sscw#slugbuzz0 at ixpsip? 1751.1Sscw 1761.1Sscw# IXP425 fast bus 1771.1Sscwixpio0 at mainbus? 1781.1Sscw 1791.1Sscw# PCI bus 1801.1Sscwpci0 at ixpio? bus ? 1811.1Sscw 1821.5Sscw 1831.5Sscw# IXP425 NPE Micro-engine support 1841.5Sscwixme0 at mainbus? # Includes QMGR 1851.5Sscwixpnpe0 at ixme0 npe 1 # NPE-B 1861.5Sscw#ixpnpe1 at ixme0 npe 2 # NPE-C (not used on NSLU2) 1871.5Sscw 1881.5Sscw# IXP425 NPE Ethernet on NPE-B 1891.5Sscwnpe0 at ixpnpe0 phy 1 1901.5Sscw 1911.5Sscw 1921.1Sscw# USB devices 1931.1Sscwehci* at pci? dev ? function ? 1941.1Sscwohci* at pci? dev ? function ? 1951.1Sscwusb* at ehci? 1961.1Sscwusb* at ohci? 1971.1Sscwuhub* at usb? 1981.6Sdrochneruhub* at uhub? port ? 1991.1Sscw 2001.1Sscw# USB Mass Storage Devices 2011.1Sscwumass* at uhub? port ? configuration ? interface ? 2021.1Sscwwd* at umass? 2031.1Sscwscsibus* at umass? channel ? 2041.1Sscwsd* at scsibus? target ? lun ? # SCSI disk drives 2051.1Sscw 2061.1Sscw# USB Ethernet adapters 2071.1Sscwaue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 2081.1Sscwaxe* at uhub? port ? # ASIX AX88172 based adapters 2091.1Sscwcdce* at uhub? port ? # CDC, Ethernet Networking Control Model 2101.1Sscwcue* at uhub? port ? # CATC USB-EL1201A based adapters 2111.1Sscwkue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 2121.1Sscwudav* at uhub? port ? # Davicom DM9601 based adapters 2131.1Sscwurl* at uhub? port ? # Realtek RTL8150L based adapters 2141.1Sscw 2151.1Sscw# MII/PHY support 2161.5Sscwrlphy* at mii? phy ? # Realtek RTL8201 2171.5Sscwukphy* at mii? phy ? # Generic/Unknown PHY 2181.1Sscw 2191.1Sscw# USB 802.11 adapters 2201.1Sscwatu* at uhub? port ? # Atmel AT76C50XX based adapters 2211.26Sjakllschural* at uhub? port ? # Ralink Technology RT2500USB 802.11a/b/g 2221.1Sscw 2231.1Sscw# USB Generic driver 2241.1Sscwugen* at uhub? port ? configuration ? interface ? 2251.1Sscw 2261.1Sscw# Pseudo-Devices 2271.1Sscw 2281.1Sscw# disk/mass storage pseudo-devices 2291.17Shannken#pseudo-device md # memory disk device (ramdisk) 2301.32Schristos#pseudo-device vnd # disk-like interface to files 2311.27Smsaitoh#pseudo-device fss # file system snapshot device 2321.27Smsaitoh#pseudo-device putter # for puffs and pud 2331.1Sscw 2341.1Sscw# network pseudo-devices 2351.32Schristospseudo-device bpfilter # Berkeley packet filter 2361.1Sscw#pseudo-device ipfilter # IP filter (firewall) and NAT 2371.1Sscwpseudo-device loop # network loopback 2381.32Schristos#pseudo-device ppp # Point-to-Point Protocol 2391.1Sscw#pseudo-device kttcp # network loopback 2401.32Schristos#pseudo-device tun # network tunneling over tty 2411.1Sscw#pseudo-device vlan 2421.1Sscw#pseudo-device bridge 2431.1Sscw 2441.1Sscw# miscellaneous pseudo-devices 2451.1Sscwpseudo-device pty # pseudo-terminals 2461.1Sscwpseudo-device clockctl # user control of clock subsystem 2471.1Sscwpseudo-device ksyms # /dev/ksyms 2481.1Sscw#pseudo-device crypto # opencrypto framework 2491.1Sscw 2501.1Sscw# data mover pseudo-devices 2511.24Sskrll#pseudo-device swdmover # software dmover(9) back-end 2521.1Sscw#pseudo-device dmoverio # /dev/dmover dmover(9) interface 253