NSLU2 revision 1.3
11.3Schristos# $NetBSD: NSLU2,v 1.3 2006/08/26 20:26:44 christos 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 MALLOC_NOINLINE 131.1Sscw#options VNODE_OP_NOINLINE 141.1Sscw#options EVBARM_SPL_NOINLINE 151.1Sscw#makeoptions COPTS="-Os" 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 PORTAL # portal filesystem (still experimental) 501.1Sscw#file-system PROCFS # /proc 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.1Sscw#options QUOTA # UFS quotas 561.1Sscw#options FFS_EI # FFS Endian Independant support 571.1Sscw#options NFSSERVER 581.1Sscw#options SOFTDEP 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_ESP # IP security (encryption part; define w/ IPSEC) 671.1Sscw#options IPSEC_DEBUG # debug for IP security 681.1Sscw#options MROUTING # IP multicast routing 691.1Sscw#options ISO,TPIP # OSI 701.1Sscw#options EON # OSI tunneling over IP 711.1Sscw#options NETATALK # AppleTalk networking 721.1Sscwoptions PFIL_HOOKS # pfil(9) packet filter hooks 731.1Sscw#options PPP_BSDCOMP # BSD-Compress compression support for PPP 741.1Sscw#options PPP_DEFLATE # Deflate compression support for PPP 751.1Sscw#options PPP_FILTER # Active filter support for PPP (requires bpf) 761.1Sscw#options IPFILTER_LOG # ipmon(8) log support 771.3Schristos#options IPFILTER_LOOKUP # ippool(8) support 781.1Sscw#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 791.1Sscw 801.1Sscw#options NFS_BOOT_BOOTP 811.1Sscwoptions NFS_BOOT_DHCP 821.1Sscw#options NFS_BOOT_BOOTPARAM 831.1Sscw 841.1Sscw# Compatibility options 851.1Sscw 861.1Sscw#options COMPAT_43 # 4.3BSD compatibility. 871.1Sscw#options COMPAT_30 # NetBSD 3.0 compatibility. 881.1Sscw#options COMPAT_20 # NetBSD 2.0 compatibility. 891.1Sscw#options COMPAT_16 # NetBSD 1.5 compatibility. 901.1Sscw#options COMPAT_15 # NetBSD 1.6 compatibility. 911.1Sscw#options COMPAT_14 # NetBSD 1.4 compatibility. 921.1Sscw#options COMPAT_13 # NetBSD 1.3 compatibility. 931.1Sscw#options COMPAT_12 # NetBSD 1.2 compatibility. 941.1Sscw#options COMPAT_11 # NetBSD 1.1 compatibility. 951.1Sscw#options COMPAT_10 # NetBSD 1.0 compatibility. 961.1Sscw#options COMPAT_09 # NetBSD 0.9 compatibility. 971.1Sscw#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 981.1Sscwoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 991.1Sscw 1001.1Sscw# Shared memory options 1011.1Sscw 1021.1Sscw#options SYSVMSG # System V-like message queues 1031.1Sscw#options SYSVSEM # System V-like semaphores 1041.1Sscw#options SEMMNI=10 # number of semaphore identifiers 1051.1Sscw#options SEMMNS=60 # number of semaphores in system 1061.1Sscw#options SEMUME=10 # max number of undo entries per process 1071.1Sscw#options SEMMNU=30 # number of undo structures in system 1081.1Sscw#options SYSVSHM # System V-like memory sharing 1091.1Sscw#options SHMMAXPGS=1024 # 1024 pages is the default 1101.1Sscw 1111.1Sscw# Device options 1121.1Sscw 1131.1Sscw#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 1141.1Sscw#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 1151.1Sscw#options MEMORY_DISK_IS_ROOT # use memory disk as root 1161.1Sscw 1171.1Sscw# Console options. The default console is speed is 115200 baud. 1181.1Sscwoptions CONSPEED=115200 # Console speed 1191.1Sscwoptions CONUNIT=0 # Console port number 1201.1Sscw 1211.1Sscw# Miscellaneous kernel options 1221.1Sscw#options KTRACE # system call tracing, a la ktrace(1) 1231.1Sscw#options IRQSTATS # manage IRQ statistics 1241.1Sscw#options LKM # loadable kernel modules 1251.1Sscw#options KMEMSTATS # kernel memory statistics 1261.1Sscw#options SCSIVERBOSE # Verbose SCSI errors 1271.1Sscw#options PCIVERBOSE # Verbose PCI descriptions 1281.1Sscw#options MIIVERBOSE # Verbose MII autoconfuration messages 1291.1Sscw#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1301.1Sscw#options DDB_KEYCODE=0x40 1311.1Sscw#options USERCONF # userconf(4) support 1321.1Sscw#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 1331.1Sscw 1341.1Sscw# Development and Debugging options 1351.1Sscw 1361.1Sscw#options PERFCTRS # performance counters 1371.1Sscwoptions DIAGNOSTIC # internally consistency checks 1381.1Sscwoptions DEBUG 1391.1Sscw#options PMAP_DEBUG # Enable pmap_debug_level code 1401.1Sscw#options IPKDB # remote kernel debugging 1411.1Sscw#options VERBOSE_INIT_ARM # verbose bootstraping messages 1421.1Sscwoptions DDB # in-kernel debugger 1431.1Sscwoptions DDB_HISTORY_SIZE=100 # Enable history editing in DDB 1441.1Sscw#makeoptions DEBUG="-g" # compile full symbol table 1451.1Sscwoptions SYMTAB_SPACE=260000 1461.1Sscw 1471.1Sscwconfig netbsd root on ? type ? 1481.1Sscw 1491.1Sscw# The main bus device 1501.1Sscwmainbus0 at root 1511.1Sscw 1521.1Sscw# The boot cpu 1531.1Sscwcpu0 at mainbus? 1541.1Sscw 1551.1Sscw# IXP425 slow peripheral 1561.1Sscwixpsip0 at mainbus? 1571.1Sscw 1581.1Sscw#Timer 1591.1Sscwixpclk* at ixpsip? addr 0xc8005000 size 0x30 1601.1Sscw 1611.1Sscw# On-board device support 1621.1Sscwcom0 at ixpsip? addr 0xc8000000 size 0x1000 index 0 1631.1Sscwoptions COM_PXA2X0 1641.1Sscw 1651.1Sscw# I2C bus (using bit-banged GPIO pins) 1661.1Sscwslugiic0 at ixpsip? 1671.1Sscwiic0 at slugiic0 1681.1Sscwxrtc0 at iic0 addr 0x6f 1691.1Sscw 1701.1Sscw# Power/Reset button support (via sysmon) 1711.1Sscwslugbutt0 at ixpsip? 1721.1Sscw 1731.1Sscw# Disk activity and ready/status LED support 1741.1Sscwslugled0 at ixpsip? 1751.1Sscw 1761.1Sscw# Buzzer support (not supported yet) 1771.1Sscw#slugbuzz0 at ixpsip? 1781.1Sscw 1791.1Sscw# IXP425 fast bus 1801.1Sscwixpio0 at mainbus? 1811.1Sscw 1821.1Sscw# PCI bus 1831.1Sscwpci0 at ixpio? bus ? 1841.1Sscw 1851.1Sscw# USB devices 1861.1Sscwehci* at pci? dev ? function ? 1871.1Sscwohci* at pci? dev ? function ? 1881.1Sscwusb* at ehci? 1891.1Sscwusb* at ohci? 1901.1Sscwuhub* at usb? 1911.1Sscwuhub* at uhub? port ? configuration ? interface ? 1921.1Sscw 1931.1Sscw# USB Mass Storage Devices 1941.1Sscwumass* at uhub? port ? configuration ? interface ? 1951.1Sscwwd* at umass? 1961.1Sscwscsibus* at umass? channel ? 1971.1Sscwsd* at scsibus? target ? lun ? # SCSI disk drives 1981.1Sscw 1991.1Sscw# USB Ethernet adapters 2001.1Sscwaue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 2011.1Sscwaxe* at uhub? port ? # ASIX AX88172 based adapters 2021.1Sscwcdce* at uhub? port ? # CDC, Ethernet Networking Control Model 2031.1Sscwcue* at uhub? port ? # CATC USB-EL1201A based adapters 2041.1Sscwkue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 2051.1Sscwudav* at uhub? port ? # Davicom DM9601 based adapters 2061.1Sscwurl* at uhub? port ? # Realtek RTL8150L based adapters 2071.1Sscw 2081.1Sscw# MII/PHY support 2091.1Sscwukphy* at mii? phy ? # Generic/Unknown PHY 2101.1Sscw 2111.1Sscw# USB 802.11 adapters 2121.1Sscwatu* at uhub? port ? # Atmel AT76C50XX based adapters 2131.1Sscwral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g 2141.1Sscw 2151.1Sscw# USB Generic driver 2161.1Sscwugen* at uhub? port ? configuration ? interface ? 2171.1Sscw 2181.1Sscw# Pseudo-Devices 2191.1Sscw 2201.1Sscw# disk/mass storage pseudo-devices 2211.1Sscw#pseudo-device md 1 # memory disk device (ramdisk) 2221.1Sscw#pseudo-device vnd 4 # disk-like interface to files 2231.1Sscw 2241.1Sscw# network pseudo-devices 2251.1Sscwpseudo-device bpfilter 4 # Berkeley packet filter 2261.1Sscw#pseudo-device ipfilter # IP filter (firewall) and NAT 2271.1Sscwpseudo-device loop # network loopback 2281.1Sscw#pseudo-device ppp 2 # Point-to-Point Protocol 2291.1Sscw#pseudo-device kttcp # network loopback 2301.1Sscw#pseudo-device tun 2 # network tunneling over tty 2311.1Sscw#pseudo-device vlan 2321.1Sscw#pseudo-device bridge 2331.1Sscw 2341.1Sscw# miscellaneous pseudo-devices 2351.1Sscwpseudo-device pty # pseudo-terminals 2361.1Sscwpseudo-device rnd # /dev/random and in-kernel generator 2371.1Sscwpseudo-device clockctl # user control of clock subsystem 2381.1Sscwpseudo-device ksyms # /dev/ksyms 2391.1Sscw#pseudo-device crypto # opencrypto framework 2401.1Sscw 2411.1Sscw# data mover pseudo-devices 2421.1Sscw#pseudo-device swdmover # softare dmover(9) back-end 2431.1Sscw#pseudo-device dmoverio # /dev/dmover dmover(9) interface 244