TWRP1025 revision 1.24
11.24Smrg# $NetBSD: TWRP1025,v 1.24 2017/09/14 07:58:40 mrg Exp $ 21.1Smatt# 31.1Smatt# TWRP1025 -- everything that's currently supported 41.1Smatt# 51.1Smatt 61.24Smrginclude "arch/evbppc/conf/std.mpc85xx" 71.1Smatt 81.1Smattoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 91.1Smatt 101.24Smrgident "TWRP1025-$Revision: 1.24 $" 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.18Sjnemethoptions MODULAR_DEFAULT_AUTOLOAD 291.1Smatt 301.1Smattoptions SYSVMSG # System V message queues 311.1Smattoptions SYSVSEM # System V semaphores 321.1Smattoptions SYSVSHM # System V shared memory 331.1Smatt 341.1Smattoptions USERCONF # userconf(4) support 351.3Smatt#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 361.1Smatt#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 371.1Smatt 381.1Smatt# Diagnostic/debugging support options 391.1Smattoptions DIAGNOSTIC # cheap kernel consistency checks 401.1Smattoptions DEBUG # expensive debugging checks/support 411.1Smatt#options SYSCALL_DEBUG # syscall debugging 421.1Smattoptions DDB # in-kernel debugger 431.1Smattoptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 441.1Smattoptions TRAP_PANICWAIT 451.16Sjoergmakeoptions COPY_SYMTAB=1 # size for embedded symbol table 461.1Smatt 471.1Smattmakeoptions DEBUG="-g" # compile full symbol table 481.1Smatt 491.1Smatt# Compatibility options 501.24Smrginclude "conf/compat_netbsd13.config" 511.1Smatt#options COMPAT_386BSD_MBRPART # recognize old partition ID 521.3Smatt 531.3Smatt# Wedge support 541.3Smattoptions DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 551.3Smattoptions DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 561.1Smatt 571.1Smatt# File systems 581.1Smattfile-system FFS # UFS 591.1Smattfile-system EXT2FS # second extended file system (linux) 601.1Smattfile-system LFS # log-structured file system 611.1Smattfile-system MFS # memory file system 621.1Smattfile-system NFS # Network File System client 631.1Smattfile-system CD9660 # ISO 9660 + Rock Ridge file system 641.1Smattfile-system MSDOSFS # MS-DOS file system 651.1Smatt#file-system FDESC # /dev/fd 661.1Smattfile-system TMPFS # efficient memory file system 671.1Smattfile-system KERNFS # /kern 681.1Smattfile-system NULLFS # loopback file system 691.1Smatt#file-system OVERLAY # overlay file system 701.1Smatt#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 711.1Smattfile-system PROCFS # /proc 721.1Smatt#file-system UMAPFS # NULLFS + uid and gid remapping 731.1Smatt#file-system UNION # union file system 741.1Smattfile-system PTYFS # /dev/pts/N support 751.1Smatt 761.1Smatt# File system options 771.1Smattoptions QUOTA # legacy UFS quotas 781.1Smattoptions QUOTA2 # new, in-filesystem UFS quotas 791.22Srin#options DISKLABEL_EI # disklabel Endian Independent support 801.1Smattoptions FFS_EI # FFS Endian Independent support 811.1Smattoptions WAPBL # File system journaling support 821.1Smattoptions NFSSERVER # Network File System server 831.1Smatt#options FFS_NO_SNAPSHOT # No FFS snapshot support 841.1Smattoptions EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 851.1Smatt # immutable) behave as system flags. 861.1Smatt 871.1Smattoptions NFS_BOOT_DHCP # Support DHCP NFS root 881.1Smatt 891.1Smatt# Networking options 901.1Smatt#options GATEWAY # packet forwarding 911.1Smattoptions INET # IP + ICMP + TCP + UDP 921.1Smattoptions INET_CSUM_COUNTERS 931.1Smattoptions TCP_CSUM_COUNTERS 941.1Smattoptions UDP_CSUM_COUNTERS 951.19Snonakaoptions INET6 # IPV6 961.1Smatt#options IPSEC # IP security 971.1Smatt#options IPSEC_DEBUG # debug for IP security 981.1Smatt#options MROUTING # IP multicast routing 991.1Smatt#options PIM # Protocol Independent Multicast 1001.1Smatt#options DIRECTED_BROADCAST # allow broadcasts through routers 1011.1Smatt#options NETATALK # AppleTalk networking protocols 1021.1Smatt#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1031.1Smatt#options PPP_DEFLATE # Deflate compression support for PPP 1041.1Smatt#options PPP_FILTER # Active filter support for PPP (requires bpf) 1051.1Smatt#options IPFILTER_LOG # ipmon(8) log support 1061.1Smatt#options IPFILTER_LOOKUP # ippool(8) support 1071.1Smatt#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1081.1Smatt 1091.1Smatt# These options enable verbose messages for several subsystems. 1101.1Smatt# Warning, these may compile large string tables into the kernel! 1111.1Smattoptions PCIVERBOSE # verbose PCI device autoconfig messages 1121.1Smattoptions MIIVERBOSE # verbose PHY autoconfig messages 1131.1Smatt#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1141.1Smattoptions SCSIVERBOSE # human readable SCSI error messages 1151.1Smatt#options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to configure PCI devices 1161.1Smatt#options PCI_CONFIGURE_VERBOSE # Show PCI config information 1171.1Smatt 1181.1Smatt# wscons options 1191.1Smatt#options WSEMUL_SUN # sun terminal emulation 1201.1Smatt#options WSEMUL_VT100 # VT100 / VT220 emulation 1211.7Sabs#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1221.1Smatt 1231.1Smatt# Kernel root file system and dump configuration. 1241.1Smattconfig netbsd root on ? type ? 1251.14Sjoergconfig netbsd-ld0a root on ld0a type ffs 1261.1Smattconfig netbsd-sd0a root on sd0a type ffs 1271.1Smattconfig nfsnetbsd root on tsec0 type nfs 1281.1Smatt 1291.1Smatt# 1301.1Smatt# Device configuration 1311.1Smatt# 1321.1Smatt 1331.1Smattmainbus0 at root # Processor Local Bus 1341.1Smatt 1351.1Smattcpunode* at mainbus? node ? 1361.1Smattgpio* at gpiobus? 1371.1Smatt 1381.1Smattcpu* at cpunode? 1391.1Smatt 1401.1Smattobio0 at cpunode? # On-chip Peripheral Bus 1411.1Smatt#nandfcm* at obio0 cs ? # nand flash 1421.1Smatt#nand* at nandfcm? 1431.1Smatt#flash* at nand? 1441.1Smatt 1451.1Smatt# NOR Flash 1461.1Smatt#options NOR_VERBOSE 1471.1Smattcfi0 at obio0 cs 0 1481.1Smattnor* at cfi? 1491.4Smattflash* at nor? offset 0 size 0x4000000 1501.1Smatt 1511.1Smatte500wdog* at cpunode? # Watchdog timer 1521.1Smatt 1531.1Smattddrc* at cpunode? 1541.1Smattduart* at cpunode? 1551.1Smattcom* at duart? port ? 1561.3Smattoptions CONSADDR="DUART1_BASE" 1571.1Smatt 1581.5Smattmdio0 at cpunode? instance 1 1591.5Smatttsec0 at cpunode? instance 1 mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller 1601.5Smatttsec1 at cpunode? instance 3 mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller 1611.5Smattatphy* at mii? 1621.1Smattukphy* at mii? 1631.1Smatt#options ETSEC_EVENT_COUNTERS 1641.1Smatt 1651.1Smattdiic* at cpunode? # i2c bus 1661.1Smattiic* at diic? 1671.1Smatt#dsrtc* at iic1 addr 0x68 flags 1339 # RTC DS1339 1681.1Smatt 1691.1Smattpq3pcie* at cpunode? # PCI-Express controller 1701.1Smattpci* at pq3pcie? 1711.1Smatt 1721.1Smattppb* at pci? dev ? function ? # PCI-PCI bridges 1731.1Smattpci* at ppb? 1741.1Smatt 1751.1Smattahcisata* at pci? dev ? function ? 1761.1Smattatabus* at ahcisata? channel ? 1771.1Smattwd* at atabus? drive ? 1781.1Smatt 1791.1Smattehci* at cpunode? # usb 1801.1Smattusb* at ehci? 1811.1Smattuhub* at usb? 1821.1Smattuhub* at uhub? port ? 1831.1Smattumass* at uhub? port ? 1841.1Smattscsibus* at umass? channel ? 1851.1Smattsd* at scsibus? target ? lun ? 1861.1Smatt 1871.5Smatt#options SDHC_DEBUG 1881.5Smatt#options SDMMC_DEBUG 1891.1Smattsdhc* at cpunode? # sdmmc 1901.1Smattsdmmc* at sdhc? # SD/MMC bus 1911.1Smattld* at sdmmc? 1921.1Smatt 1931.1Smatt#siisata* at pci? dev ? function ? 1941.1Smatt#atabus* at siisata? channel ? 1951.1Smatt#jmide* at pci? dev ? function ? # JMicron PCI-e PATA/SATA controllers 1961.1Smatt#ahcisata* at jmide? 1971.1Smatt#atabus* at ahcisata? channel ? 1981.1Smatt 1991.1Smatt#viaide* at pci? dev ? function ? 2001.1Smatt#atabus* at viaide? channel ? 2011.1Smatt#wd* at atabus? drive ? 2021.1Smatt#rtk* at pci? dev ? function ? 2031.1Smatt#wm* at pci? dev ? function ? # Intel Ethernet 2041.1Smatt 2051.1Smatt#inphy* at mii? phy ? # Intel 82555 PHYs 2061.1Smatt#iophy* at mii? phy ? # Intel 82553 PHYs 2071.1Smatt#makphy* at mii? phy ? # Marvell PHYs 2081.1Smatt#ukphy* at mii? phy ? # generic unknown PHYs 2091.1Smatt 2101.1Smattpseudo-device loop # network loopback 2111.1Smattpseudo-device bpfilter # packet filter 2121.1Smattpseudo-device clockctl # user control of clock subsystem 2131.6Smattpseudo-device drvctl # user control of drive subsystem 2141.1Smattpseudo-device ksyms # /dev/ksyms 2151.1Smattpseudo-device pty # pseudo-terminals 2161.1Smattpseudo-device kttcp # kernel ttcp 2171.1Smattpseudo-device vlan # 802.1Q VLANs 2181.20Snonakapseudo-device lockstat # lock profiling 2191.21Smatt 2201.24Smrgcinclude "arch/evbppc/conf/TWRP1025.local" 221