TWRP1025 revision 1.15
11.15Sapb# $NetBSD: TWRP1025,v 1.15 2014/08/16 17:56:32 apb Exp $ 21.1Smatt# 31.1Smatt# TWRP1025 -- everything that's currently supported 41.1Smatt# 51.1Smatt 61.1Smattinclude "arch/evbppc/conf/std.mpc85xx" 71.1Smatt 81.1Smattoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 91.1Smatt 101.15Sapbident "TWRP1025-$Revision: 1.15 $" 111.1Smatt 121.1Smattmaxusers 32 131.1Smatt 141.1Smattmakeoptions NEED_BINARY="yes" 151.1Smattmakeoptions NEED_UBOOTIMAGE="yes" 161.1Smatt 171.1Smatt#options UVMHIST 181.1Smatt#options UVMHIST_PRINT 191.1Smatt 201.1Smattoptions P1025 211.1Smattoptions SYS_CLK=66666667 221.1Smatt#options HZ=1000 231.1Smatt 241.1Smatt#options INSECURE # disable kernel security levels 251.1Smatt#options NTP # NTP phase/frequency locked loop 261.1Smattoptions KTRACE # system call tracing via ktrace(1) 271.13Smattoptions MODULAR # new style module(7) framework 281.1Smatt 291.1Smattoptions SYSVMSG # System V message queues 301.1Smattoptions SYSVSEM # System V semaphores 311.1Smattoptions SYSVSHM # System V shared memory 321.1Smatt 331.1Smattoptions USERCONF # userconf(4) support 341.3Smatt#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 351.1Smatt#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 361.1Smatt 371.1Smatt# Diagnostic/debugging support options 381.1Smattoptions DIAGNOSTIC # cheap kernel consistency checks 391.1Smattoptions DEBUG # expensive debugging checks/support 401.1Smatt#options SYSCALL_DEBUG # syscall debugging 411.1Smattoptions DDB # in-kernel debugger 421.1Smattoptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 431.1Smattoptions TRAP_PANICWAIT 441.1Smattoptions SYMTAB_SPACE=410000 # size for embedded symbol table 451.1Smatt 461.1Smattmakeoptions DEBUG="-g" # compile full symbol table 471.1Smatt 481.1Smatt# Compatibility options 491.1Smatt#options COMPAT_09 # NetBSD 0.9, 501.1Smatt#options COMPAT_10 # NetBSD 1.0, 511.1Smatt#options COMPAT_11 # NetBSD 1.1, 521.1Smatt#options COMPAT_12 # NetBSD 1.2, 531.1Smattoptions COMPAT_13 # NetBSD 1.3, 541.1Smattoptions COMPAT_14 # NetBSD 1.4, 551.1Smattoptions COMPAT_15 # NetBSD 1.5, 561.1Smattoptions COMPAT_16 # NetBSD 1.6, 571.1Smattoptions COMPAT_20 # NetBSD 2.0, 581.1Smattoptions COMPAT_30 # NetBSD 3.0, 591.1Smattoptions COMPAT_40 # NetBSD 4.0, 601.1Smattoptions COMPAT_50 # NetBSD 5.0 compatibility. 611.8Sapboptions COMPAT_60 # NetBSD 6.0 compatibility. 621.15Sapboptions COMPAT_70 # NetBSD 7.0 compatibility. 631.1Smattoptions COMPAT_43 # and 4.3BSD 641.1Smatt#options COMPAT_386BSD_MBRPART # recognize old partition ID 651.1Smatt#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 661.3Smattoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 671.3Smatt 681.3Smatt# Wedge support 691.3Smattoptions DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 701.3Smattoptions DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 711.1Smatt 721.1Smatt# File systems 731.1Smattfile-system FFS # UFS 741.1Smattfile-system EXT2FS # second extended file system (linux) 751.1Smattfile-system LFS # log-structured file system 761.1Smattfile-system MFS # memory file system 771.1Smattfile-system NFS # Network File System client 781.1Smattfile-system CD9660 # ISO 9660 + Rock Ridge file system 791.1Smattfile-system MSDOSFS # MS-DOS file system 801.1Smatt#file-system FDESC # /dev/fd 811.1Smattfile-system TMPFS # efficient memory file system 821.1Smattfile-system KERNFS # /kern 831.1Smattfile-system NULLFS # loopback file system 841.1Smatt#file-system OVERLAY # overlay file system 851.1Smatt#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 861.1Smattfile-system PROCFS # /proc 871.1Smatt#file-system UMAPFS # NULLFS + uid and gid remapping 881.1Smatt#file-system UNION # union file system 891.1Smattfile-system PTYFS # /dev/pts/N support 901.1Smatt 911.1Smatt# File system options 921.1Smattoptions QUOTA # legacy UFS quotas 931.1Smattoptions QUOTA2 # new, in-filesystem UFS quotas 941.1Smattoptions FFS_EI # FFS Endian Independent support 951.1Smattoptions WAPBL # File system journaling support 961.1Smattoptions NFSSERVER # Network File System server 971.1Smatt#options FFS_NO_SNAPSHOT # No FFS snapshot support 981.1Smattoptions EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 991.1Smatt # immutable) behave as system flags. 1001.1Smatt 1011.1Smattoptions NFS_BOOT_DHCP # Support DHCP NFS root 1021.1Smatt 1031.1Smatt# Networking options 1041.1Smatt#options GATEWAY # packet forwarding 1051.1Smattoptions INET # IP + ICMP + TCP + UDP 1061.1Smattoptions INET_CSUM_COUNTERS 1071.1Smattoptions TCP_CSUM_COUNTERS 1081.1Smattoptions UDP_CSUM_COUNTERS 1091.1Smatt#options INET6 # IPV6 1101.1Smatt#options IPSEC # IP security 1111.1Smatt#options IPSEC_DEBUG # debug for IP security 1121.1Smatt#options MROUTING # IP multicast routing 1131.1Smatt#options PIM # Protocol Independent Multicast 1141.1Smatt#options DIRECTED_BROADCAST # allow broadcasts through routers 1151.1Smatt#options NETATALK # AppleTalk networking protocols 1161.1Smatt#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1171.1Smatt#options PPP_DEFLATE # Deflate compression support for PPP 1181.1Smatt#options PPP_FILTER # Active filter support for PPP (requires bpf) 1191.1Smatt#options IPFILTER_LOG # ipmon(8) log support 1201.1Smatt#options IPFILTER_LOOKUP # ippool(8) support 1211.1Smatt#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1221.1Smatt 1231.1Smatt# These options enable verbose messages for several subsystems. 1241.1Smatt# Warning, these may compile large string tables into the kernel! 1251.1Smattoptions PCIVERBOSE # verbose PCI device autoconfig messages 1261.1Smattoptions MIIVERBOSE # verbose PHY autoconfig messages 1271.1Smatt#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1281.1Smattoptions SCSIVERBOSE # human readable SCSI error messages 1291.1Smatt#options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to configure PCI devices 1301.1Smatt#options PCI_CONFIGURE_VERBOSE # Show PCI config information 1311.1Smatt 1321.1Smatt# wscons options 1331.1Smatt#options WSEMUL_SUN # sun terminal emulation 1341.1Smatt#options WSEMUL_VT100 # VT100 / VT220 emulation 1351.7Sabs#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1361.1Smatt 1371.1Smatt# Kernel root file system and dump configuration. 1381.1Smattconfig netbsd root on ? type ? 1391.14Sjoergconfig netbsd-ld0a root on ld0a type ffs 1401.1Smattconfig netbsd-sd0a root on sd0a type ffs 1411.1Smattconfig nfsnetbsd root on tsec0 type nfs 1421.1Smatt 1431.1Smatt# 1441.1Smatt# Device configuration 1451.1Smatt# 1461.1Smatt 1471.1Smattmainbus0 at root # Processor Local Bus 1481.1Smatt 1491.1Smattcpunode* at mainbus? node ? 1501.1Smattgpio* at gpiobus? 1511.1Smatt 1521.1Smattcpu* at cpunode? 1531.1Smatt 1541.1Smattobio0 at cpunode? # On-chip Peripheral Bus 1551.1Smatt#nandfcm* at obio0 cs ? # nand flash 1561.1Smatt#nand* at nandfcm? 1571.1Smatt#flash* at nand? 1581.1Smatt 1591.1Smatt# NOR Flash 1601.1Smatt#options NOR_VERBOSE 1611.1Smattcfi0 at obio0 cs 0 1621.1Smattnor* at cfi? 1631.4Smattflash* at nor? offset 0 size 0x4000000 1641.1Smatt 1651.1Smatte500wdog* at cpunode? # Watchdog timer 1661.1Smatt 1671.1Smattddrc* at cpunode? 1681.1Smattduart* at cpunode? 1691.1Smattcom* at duart? port ? 1701.3Smattoptions CONSADDR="DUART1_BASE" 1711.1Smatt 1721.5Smattmdio0 at cpunode? instance 1 1731.5Smatttsec0 at cpunode? instance 1 mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller 1741.5Smatttsec1 at cpunode? instance 3 mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller 1751.5Smattatphy* at mii? 1761.1Smattukphy* at mii? 1771.1Smatt#options ETSEC_EVENT_COUNTERS 1781.1Smatt 1791.1Smattdiic* at cpunode? # i2c bus 1801.1Smattiic* at diic? 1811.1Smatt#dsrtc* at iic1 addr 0x68 flags 1339 # RTC DS1339 1821.1Smatt 1831.1Smattpq3pcie* at cpunode? # PCI-Express controller 1841.1Smattpci* at pq3pcie? 1851.1Smatt 1861.1Smattppb* at pci? dev ? function ? # PCI-PCI bridges 1871.1Smattpci* at ppb? 1881.1Smatt 1891.1Smattahcisata* at pci? dev ? function ? 1901.1Smattatabus* at ahcisata? channel ? 1911.1Smattwd* at atabus? drive ? 1921.1Smatt 1931.1Smattehci* at cpunode? # usb 1941.1Smattusb* at ehci? 1951.1Smattuhub* at usb? 1961.1Smattuhub* at uhub? port ? 1971.1Smattumass* at uhub? port ? 1981.1Smattscsibus* at umass? channel ? 1991.1Smattsd* at scsibus? target ? lun ? 2001.1Smatt 2011.5Smatt#options SDHC_DEBUG 2021.5Smatt#options SDMMC_DEBUG 2031.1Smattsdhc* at cpunode? # sdmmc 2041.1Smattsdmmc* at sdhc? # SD/MMC bus 2051.1Smattld* at sdmmc? 2061.1Smatt 2071.1Smatt#siisata* at pci? dev ? function ? 2081.1Smatt#atabus* at siisata? channel ? 2091.1Smatt#jmide* at pci? dev ? function ? # JMicron PCI-e PATA/SATA controllers 2101.1Smatt#ahcisata* at jmide? 2111.1Smatt#atabus* at ahcisata? channel ? 2121.1Smatt 2131.1Smatt#viaide* at pci? dev ? function ? 2141.1Smatt#atabus* at viaide? channel ? 2151.1Smatt#wd* at atabus? drive ? 2161.1Smatt#rtk* at pci? dev ? function ? 2171.1Smatt#wm* at pci? dev ? function ? # Intel Ethernet 2181.1Smatt 2191.1Smatt#inphy* at mii? phy ? # Intel 82555 PHYs 2201.1Smatt#iophy* at mii? phy ? # Intel 82553 PHYs 2211.1Smatt#makphy* at mii? phy ? # Marvell PHYs 2221.1Smatt#ukphy* at mii? phy ? # generic unknown PHYs 2231.1Smatt 2241.1Smattpseudo-device loop # network loopback 2251.1Smattpseudo-device bpfilter # packet filter 2261.1Smattpseudo-device clockctl # user control of clock subsystem 2271.6Smattpseudo-device drvctl # user control of drive subsystem 2281.1Smattpseudo-device ksyms # /dev/ksyms 2291.1Smattpseudo-device pty # pseudo-terminals 2301.1Smattpseudo-device kttcp # kernel ttcp 2311.1Smattpseudo-device vlan # 802.1Q VLANs 232