DB120 revision 1.2
11.2Smatt# $NetBSD: DB120,v 1.2 2011/07/09 21:46:19 matt Exp $ 21.1Smatt# 31.1Smatt# Qualcomm Atheros AR9344 DB120 evaluation board. 41.1Smatt# 51.1Smatt 61.1Smattinclude "arch/evbmips/conf/std.atheros" 71.1Smatt 81.1Smatt#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 91.1Smatt 101.2Smatt#ident "DB120-$Revision: 1.2 $" 111.1Smatt 121.1Smattmaxusers 32 131.1Smatt 141.1Smatt#makeoptions COPTS="-Os" # Optimise for space. Implies -O2 151.1Smatt 161.1Smattoptions MIPS32R2 171.1Smattmakeoptions CPUFLAGS+="-mips32r2" 181.2Smattmakeoptions NEED_MDSETIMAGE="yes" 191.2Smattmakeoptions NEED_BINARY="yes" 201.2Smattmakeoptions NEED_UBOOTIMAGE="yes" 211.1Smattoptions NOFPU # No FPU 221.1Smattoptions FPEMUL # emulate FPU insn 231.1Smattoptions WISOC_AR9344 # WiSoC select 241.1Smatt 251.1Smatt# Options for necessary to use MD 261.1Smatt#options MEMORY_DISK_HOOKS 271.1Smatt#options MEMORY_DISK_IS_ROOT # force root on memory disk 281.1Smatt#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 291.1Smatt#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 301.1Smatt#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 311.1Smatt#options MEMORY_DISK_ROOT_SIZE=7300 321.1Smatt 331.1Smatt# Size reduction options 341.1Smatt#options VNODE_OP_NOINLINE 351.1Smatt#options PIPE_SOCKETPAIR 361.1Smattoptions SOSEND_NO_LOAN 371.1Smatt 381.1Smatt# Standard system options 391.1Smattoptions KTRACE # system call tracing support 401.1Smatt#options SYSVMSG # System V message queues 411.1Smatt#options SYSVSEM # System V semaphores 421.1Smatt#options SYSVSHM # System V shared memory 431.1Smattoptions NTP # network time protocol 441.1Smatt 451.1Smatt# Debugging options 461.1Smattoptions DIAGNOSTIC # extra kernel sanity checking 471.1Smattoptions DEBUG # extra kernel debugging support 481.1Smatt#options KMEMSTATS # kernel memory statistics (vmstat -m) 491.1Smatt#options USERCONF # userconf(4) support 501.1Smatt#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 511.1Smattoptions DDB # kernel dynamic debugger 521.1Smattoptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 531.1Smattmakeoptions DEBUG="-g" # compile full symbol table 541.1Smattoptions SYMTAB_SPACE=350000 # size for embedded symbol table 551.1Smatt 561.1Smatt# Compatibility options 571.1Smatt#options COMPAT_43 # compatibility with 4.3BSD binaries 581.1Smatt#options COMPAT_09 # NetBSD 0.9 binary compatibility 591.1Smatt#options COMPAT_10 # NetBSD 1.0 binary compatibility 601.1Smatt#options COMPAT_11 # NetBSD 1.1 binary compatibility 611.1Smatt#options COMPAT_12 # NetBSD 1.2 binary compatibility 621.1Smatt#options COMPAT_13 # NetBSD 1.3 binary compatibility 631.1Smatt#options COMPAT_14 # NetBSD 1.4 binary compatibility 641.1Smatt#options COMPAT_15 # NetBSD 1.5 binary compatibility 651.1Smatt#options COMPAT_16 # NetBSD 1.6 binary compatibility 661.1Smatt#options COMPAT_20 # NetBSD 2.0 binary compatibility 671.1Smatt#options COMPAT_30 # NetBSD 3.0 compatibility. 681.1Smatt#options COMPAT_40 # NetBSD 4.0 compatibility. 691.1Smatt#options EXEC_ECOFF # exec ECOFF binaries 701.1Smatt#options COMPAT_ULTRIX # binary compatibility with Ultrix 711.1Smatt#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 721.1Smatt 731.1Smatt# File systems 741.1Smattfile-system FFS # Berkeley Fast Filesystem 751.1Smattfile-system MFS # memory-based filesystem 761.1Smatt#file-system EXT2FS # second extended file system (linux) 771.1Smattfile-system NFS # Sun NFS-compatible filesystem client 781.1Smatt#file-system KERNFS # kernel data-structure filesystem 791.1Smatt#file-system NULLFS # NULL layered filesystem 801.1Smatt#file-system OVERLAY # overlay file system 811.1Smatt#file-system FDESC # user file descriptor filesystem 821.1Smatt#file-system UMAPFS # uid/gid remapping filesystem 831.1Smatt#file-system LFS # Log-based filesystem (still experimental) 841.1Smatt#file-system PROCFS # /proc 851.1Smatt#file-system CD9660 # ISO 9660 + Rock Ridge file system 861.1Smatt#file-system UNION # union file system 871.1Smatt#file-system MSDOSFS # MS-DOS FAT filesystem(s). 881.1Smatt#file-system CODA # Coda File System; also needs vcoda (below) 891.1Smatt#file-system PTYFS # /dev/pts/N support 901.1Smatt 911.1Smatt# File system options 921.1Smatt#options NFSSERVER # Sun NFS-compatible filesystem server 931.1Smatt#options QUOTA # legacy UFS quotas 941.1Smatt#options QUOTA2 # new, in-filesystem UFS quotas 951.1Smatt#options FFS_EI # FFS Endian Independent support 961.1Smattoptions WAPBL # File system journaling support - Experimental 971.1Smattoptions FFS_NO_SNAPSHOT # No FFS snapshot support 981.1Smatt#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 991.1Smatt # immutable) behave as system flags. 1001.1Smatt 1011.1Smatt# Networking options 1021.1Smatt#options GATEWAY # IP packet forwarding 1031.1Smattoptions INET # Internet protocols 1041.1Smatt#options INET6 # IPV6 1051.1Smatt#options IPSEC # IP security 1061.1Smatt#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1071.1Smatt#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1081.1Smatt#options IPSEC_DEBUG # debug for IP security 1091.1Smatt#options MROUTING # packet forwarding of multicast packets 1101.1Smatt#options PIM # Protocol Independent Multicast 1111.1Smatt#options ISO,TPIP # OSI networking 1121.1Smatt#options EON # OSI tunneling over IP 1131.1Smatt#options NETATALK # AppleTalk (over Ethernet) protocol 1141.1Smatt#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1151.1Smatt#options PPP_DEFLATE # Deflate compression support for PPP 1161.1Smatt#options PPP_FILTER # Active filter support for PPP (requires bpf) 1171.1Smatt#options PFIL_HOOKS # pfil(9) packet filter hooks 1181.1Smatt#options IPFILTER_LOG # ipmon(8) log support 1191.1Smatt#options IPFILTER_LOOKUP # ippool(8) support 1201.1Smatt 1211.1Smatt# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. 1221.1Smatt#options TCP_COMPAT_42 1231.1Smatt 1241.1Smatt# These options enable verbose messages for several subsystems. 1251.1Smatt# Warning, these may compile large string tables into the kernel! 1261.1Smattoptions MIIVERBOSE # verbose PHY autoconfig messages 1271.1Smatt 1281.1Smatt# Bitmask for enabling the PCI IDE channels in the southbridge. 1291.1Smatt# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1. 1301.1Smatt# 1311.1Smatt# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE 1321.1Smatt# channels for you (thus causing the NetBSD `pciide' driver to ignore them). 1331.1Smatt#options PCI_NETBSD_ENABLE_IDE=0x1 1341.1Smatt 1351.1Smattoptions NFS_BOOT_BOOTP 1361.1Smatt#options NFS_BOOT_DHCP 1371.1Smatt#options NFS_V2_ONLY 1381.1Smatt 1391.1Smattconfig netbsd root on ? type ? 1401.1Smatt 1411.1Smattmainbus0 at root 1421.1Smattcpu0 at mainbus? 1431.1Smattwdog0 at mainbus? 1441.1Smattarbus0 at mainbus? 1451.1Smatt 1461.1Smattcom* at arbus? addr ? 1471.1Smatt#arpci* at arbus? addr ? 1481.1Smatt#pci* at arpci? 1491.1Smatt#ehci* at arbus? addr ? 1501.1Smatt#usb* at ohci? 1511.1Smatt#uhub* at usb? 1521.1Smatt#uhub* at uhub? port ? 1531.1Smatt#umass* at uhub? port ? configuration ? interface ? 1541.1Smatt#scsibus* at umass? channel ? 1551.1Smatt#sd* at scsibus? target ? lun ? 1561.1Smatt#ae* at arbus? addr ? 1571.1Smatt#ath* at arbus? addr ? 1581.1Smatt#athflash* at arbus? addr ? 1591.1Smatt#argpio* at arbus? addr ? 1601.1Smatt#gpio* at argpio? 1611.1Smatt 1621.1Smatt# no RTC! so fake with a stub (required to prevent evbmips panic) 1631.1Smatt 1641.1Smatt 1651.1Smatt# MII/PHY support 1661.1Smatt#acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 1671.1Smatt#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 1681.1Smatt#dmphy* at mii? phy ? # Davicom DM9101 PHYs 1691.1Smatt#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 1701.1Smatt#gphyter* at mii? phy ? # NS83861 Gig-E PHY 1711.1Smatt#icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 1721.1Smatt#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 1731.1Smatt#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 1741.1Smatt#nsphy* at mii? phy ? # NS83840 PHYs 1751.1Smatt#nsphyter* at mii? phy ? # NS83843 PHYs 1761.1Smatt#pnaphy* at mii? phy ? # generic HomePNA PHYs 1771.1Smatt#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 1781.1Smatt#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 1791.1Smatt#tlphy* at mii? phy ? # ThunderLAN PHYs 1801.1Smatt#tqphy* at mii? phy ? # TDK Semiconductor PHYs 1811.1Smatt#rlphy* at mii? phy ? # RealTek PHYs 1821.1Smatt#ukphy* at mii? phy ? # generic unknown PHYs 1831.1Smatt 1841.1Smatt 1851.1Smatt# Pseudo-devices 1861.1Smatt 1871.1Smatt# Disk/mass storage pseudo-devices 1881.1Smatt#pseudo-device ccd 4 # concatenated disk devices 1891.1Smatt#pseudo-device raid 4 # RAIDframe disk driver 1901.1Smatt#pseudo-device fss # file system snapshot device 1911.1Smatt#pseudo-device md # memory disk device (ramdisk) 1921.1Smatt#pseudo-device vnd # disk-like interface to files 1931.1Smatt 1941.1Smatt# Network pseudo-devices 1951.1Smattpseudo-device bpfilter # Berkeley packet filter 1961.1Smatt#pseudo-device ipfilter # IP filter (firewall) and NAT 1971.1Smattpseudo-device loop # network loopback 1981.1Smatt#pseudo-device ppp # Point-to-Point Protocol 1991.1Smatt#pseudo-device sl # Serial Line IP 2001.1Smatt#pseudo-device strip # Starmode Radio IP (Metricom) 2011.1Smatt#pseudo-device tun # network tunneling over tty 2021.1Smatt#pseudo-device tap # virtual Ethernet 2031.1Smatt#pseudo-device gre # generic L3 over IP tunnel 2041.1Smatt#pseudo-device ipip 2 # RFC 2003 IP Encapsulation 2051.1Smatt#pseudo-device gif # RFC1933 tunnel 2061.1Smatt#pseudo-device faith # IPv[46] tcp relay translation 2071.1Smatt#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2081.1Smatt#pseudo-device vlan # IEEE 802.1q encapsulation 2091.1Smatt#pseudo-device bridge # simple inter-network bridging 2101.1Smatt 2111.1Smatt# Miscellaneous pseudo-devices 2121.1Smattpseudo-device pty # pseudo-terminals 2131.1Smattpseudo-device rnd # /dev/random & kernel generator 2141.1Smattpseudo-device clockctl # user control of clock subsystem 2151.1Smattpseudo-device ksyms # /dev/ksyms 2161.1Smatt 2171.1Smatt# A pseudo device needed for Coda # also needs CODA (above) 2181.1Smatt#pseudo-device vcoda 4 # coda minicache <-> venus comm. 219