TWRP1025 revision 1.27
11.27Ssevan#	$NetBSD: TWRP1025,v 1.27 2019/04/26 21:40:29 sevan 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.27Ssevanident 		"TWRP1025-$Revision: 1.27 $"
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.27Ssevan# Alternate buffer queue strategies for better responsiveness under high
391.27Ssevan# disk I/O load.
401.27Ssevan#options 	BUFQ_READPRIO
411.27Ssevanoptions 	BUFQ_PRIOCSCAN
421.27Ssevan
431.1Smatt# Diagnostic/debugging support options
441.1Smattoptions 	DIAGNOSTIC	# cheap kernel consistency checks
451.1Smattoptions 	DEBUG		# expensive debugging checks/support
461.1Smatt#options 	SYSCALL_DEBUG	# syscall debugging
471.1Smattoptions 	DDB		# in-kernel debugger
481.1Smattoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
491.1Smattoptions 	TRAP_PANICWAIT
501.16Sjoergmakeoptions	COPY_SYMTAB=1	# size for embedded symbol table
511.1Smatt
521.1Smattmakeoptions	DEBUG="-g"	# compile full symbol table
531.1Smatt
541.1Smatt# Compatibility options
551.24Smrginclude 	"conf/compat_netbsd13.config"
561.1Smatt#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
571.3Smatt
581.3Smatt# Wedge support
591.3Smattoptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
601.3Smattoptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
611.1Smatt
621.1Smatt# File systems
631.1Smattfile-system 	FFS		# UFS
641.1Smattfile-system 	EXT2FS		# second extended file system (linux)
651.1Smattfile-system 	LFS		# log-structured file system
661.1Smattfile-system 	MFS		# memory file system
671.1Smattfile-system 	NFS		# Network File System client
681.1Smattfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
691.1Smattfile-system 	MSDOSFS		# MS-DOS file system
701.1Smatt#file-system 	FDESC		# /dev/fd
711.1Smattfile-system 	TMPFS		# efficient memory file system
721.1Smattfile-system 	KERNFS		# /kern
731.1Smattfile-system 	NULLFS		# loopback file system
741.1Smatt#file-system 	OVERLAY		# overlay file system
751.1Smatt#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
761.1Smattfile-system 	PROCFS		# /proc
771.1Smatt#file-system 	UMAPFS		# NULLFS + uid and gid remapping
781.1Smatt#file-system 	UNION		# union file system
791.1Smattfile-system	PTYFS		# /dev/pts/N support
801.1Smatt
811.1Smatt# File system options
821.1Smattoptions 	QUOTA		# legacy UFS quotas
831.1Smattoptions 	QUOTA2		# new, in-filesystem UFS quotas
841.22Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
851.1Smattoptions 	FFS_EI		# FFS Endian Independent support
861.1Smattoptions 	WAPBL		# File system journaling support
871.1Smattoptions 	NFSSERVER	# Network File System server
881.1Smatt#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
891.1Smattoptions 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
901.1Smatt				# immutable) behave as system flags.
911.1Smatt
921.1Smattoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
931.1Smatt
941.1Smatt# Networking options
951.1Smatt#options 	GATEWAY		# packet forwarding
961.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
971.1Smattoptions 	INET_CSUM_COUNTERS
981.1Smattoptions 	TCP_CSUM_COUNTERS
991.1Smattoptions 	UDP_CSUM_COUNTERS
1001.19Snonakaoptions 	INET6		# IPV6
1011.1Smatt#options 	IPSEC		# IP security
1021.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
1031.1Smatt#options 	MROUTING	# IP multicast routing
1041.1Smatt#options 	PIM		# Protocol Independent Multicast
1051.1Smatt#options 	NETATALK	# AppleTalk networking protocols
1061.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1071.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
1081.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1091.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1101.1Smatt
1111.1Smatt# These options enable verbose messages for several subsystems.
1121.1Smatt# Warning, these may compile large string tables into the kernel!
1131.1Smattoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1141.1Smattoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1151.1Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1161.1Smattoptions 	SCSIVERBOSE	# human readable SCSI error messages
1171.1Smatt#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
1181.1Smatt#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1191.1Smatt
1201.1Smatt# wscons options
1211.1Smatt#options 	WSEMUL_SUN		# sun terminal emulation
1221.1Smatt#options 	WSEMUL_VT100		# VT100 / VT220 emulation
1231.7Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1241.1Smatt
1251.1Smatt# Kernel root file system and dump configuration.
1261.1Smattconfig		netbsd		root on ? type ?
1271.14Sjoergconfig		netbsd-ld0a	root on ld0a type ffs
1281.1Smattconfig		netbsd-sd0a	root on sd0a type ffs
1291.1Smattconfig		nfsnetbsd	root on tsec0 type nfs
1301.1Smatt
1311.1Smatt#
1321.1Smatt# Device configuration
1331.1Smatt#
1341.1Smatt
1351.1Smattmainbus0 at root			# Processor Local Bus
1361.1Smatt
1371.1Smattcpunode*	at mainbus? node ?
1381.1Smattgpio*		at gpiobus?
1391.1Smatt
1401.1Smattcpu*		at cpunode?
1411.1Smatt
1421.1Smattobio0		at cpunode?		# On-chip Peripheral Bus
1431.1Smatt#nandfcm*	at obio0 cs ?		# nand flash
1441.1Smatt#nand*		at nandfcm?
1451.1Smatt#flash*		at nand?
1461.1Smatt
1471.1Smatt# NOR Flash
1481.1Smatt#options 	NOR_VERBOSE
1491.1Smattcfi0	 	at obio0 cs 0
1501.1Smattnor*		at cfi?
1511.4Smattflash*		at nor? offset 0 size 0x4000000
1521.1Smatt
1531.1Smatte500wdog*	at cpunode?		# Watchdog timer
1541.1Smatt
1551.1Smattddrc*		at cpunode?
1561.1Smattduart*		at cpunode?
1571.1Smattcom*		at duart? port ?
1581.3Smattoptions 	CONSADDR="DUART1_BASE"
1591.1Smatt
1601.5Smattmdio0		at cpunode? instance 1
1611.5Smatttsec0		at cpunode? instance 1 mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller
1621.5Smatttsec1		at cpunode? instance 3 mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller
1631.5Smattatphy*		at mii?
1641.1Smattukphy*		at mii?
1651.1Smatt#options 	ETSEC_EVENT_COUNTERS
1661.1Smatt
1671.1Smattdiic*		at cpunode?		# i2c bus
1681.1Smattiic*		at diic?
1691.1Smatt#dsrtc*		at iic1 addr 0x68 flags 1339	# RTC DS1339
1701.1Smatt
1711.1Smattpq3pcie*	at cpunode?		# PCI-Express controller
1721.1Smattpci*		at pq3pcie?
1731.1Smatt
1741.1Smattppb*		at pci? dev ? function ?	# PCI-PCI bridges
1751.1Smattpci*		at ppb?
1761.1Smatt
1771.1Smattahcisata*	at pci? dev ? function ?
1781.1Smattatabus*		at ahcisata? channel ?
1791.1Smattwd*		at atabus? drive ?
1801.1Smatt
1811.1Smattehci*		at cpunode?		# usb
1821.1Smattusb*		at ehci?
1831.1Smattuhub*		at usb?
1841.1Smattuhub*		at uhub? port ?
1851.1Smattumass*		at uhub? port ?
1861.1Smattscsibus*	at umass? channel ?
1871.1Smattsd*		at scsibus? target ? lun ?
1881.1Smatt
1891.5Smatt#options 	SDHC_DEBUG
1901.5Smatt#options 	SDMMC_DEBUG
1911.1Smattsdhc*		at cpunode?		# sdmmc
1921.1Smattsdmmc*		at sdhc?		# SD/MMC bus
1931.1Smattld*		at sdmmc?
1941.1Smatt
1951.1Smatt#siisata*	at pci? dev ? function ?
1961.1Smatt#atabus* 	at siisata? channel ?
1971.1Smatt#jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
1981.1Smatt#ahcisata*	at jmide?
1991.1Smatt#atabus* 	at ahcisata? channel ?
2001.1Smatt
2011.1Smatt#viaide* 	at pci? dev ? function ?
2021.1Smatt#atabus* 	at viaide? channel ?
2031.1Smatt#wd*		at atabus? drive ?
2041.1Smatt#rtk*		at pci? dev ? function ?
2051.1Smatt#wm*		at pci? dev ? function ?	# Intel Ethernet
2061.1Smatt
2071.1Smatt#inphy*		at mii? phy ?			# Intel 82555 PHYs
2081.1Smatt#iophy*		at mii? phy ?			# Intel 82553 PHYs
2091.1Smatt#makphy* 	at mii? phy ?			# Marvell PHYs
2101.1Smatt#ukphy*		at mii? phy ?			# generic unknown PHYs
2111.1Smatt
2121.1Smattpseudo-device	loop			# network loopback
2131.1Smattpseudo-device	bpfilter		# packet filter
2141.27Ssevanpseudo-device 	carp			# Common Address Redundancy Protocol
2151.1Smattpseudo-device	clockctl		# user control of clock subsystem
2161.6Smattpseudo-device	drvctl			# user control of drive subsystem
2171.1Smattpseudo-device	ksyms			# /dev/ksyms
2181.1Smattpseudo-device	pty			# pseudo-terminals
2191.1Smattpseudo-device	kttcp			# kernel ttcp
2201.1Smattpseudo-device	vlan			# 802.1Q VLANs
2211.20Snonakapseudo-device	lockstat		# lock profiling
2221.21Smatt
2231.27Ssevaninclude "dev/veriexec.config"
2241.27Ssevan
2251.24Smrgcinclude 	"arch/evbppc/conf/TWRP1025.local"
226