11.31Schristos#	$NetBSD: TWRP1025,v 1.31 2024/01/29 18:27:12 christos 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.31Schristosident 		"TWRP1025-$Revision: 1.31 $"
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.28Ssimonboptions 	FFS_EI		# FFS Endian Independent support
831.28Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
841.1Smattoptions 	QUOTA		# legacy UFS quotas
851.1Smattoptions 	QUOTA2		# new, in-filesystem UFS quotas
861.28Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
871.28Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
881.1Smattoptions 	WAPBL		# File system journaling support
891.28Ssimonb#options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
901.28Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
911.28Ssimonboptions 	NFSSERVER	# Network File System server
921.1Smatt
931.1Smattoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
941.1Smatt
951.1Smatt# Networking options
961.1Smatt#options 	GATEWAY		# packet forwarding
971.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
981.1Smattoptions 	INET_CSUM_COUNTERS
991.1Smattoptions 	TCP_CSUM_COUNTERS
1001.1Smattoptions 	UDP_CSUM_COUNTERS
1011.19Snonakaoptions 	INET6		# IPV6
1021.1Smatt#options 	IPSEC		# IP security
1031.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
1041.1Smatt#options 	MROUTING	# IP multicast routing
1051.1Smatt#options 	PIM		# Protocol Independent Multicast
1061.1Smatt#options 	NETATALK	# AppleTalk networking protocols
1071.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1081.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
1091.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1101.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1111.1Smatt
1121.1Smatt# These options enable verbose messages for several subsystems.
1131.1Smatt# Warning, these may compile large string tables into the kernel!
1141.1Smattoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1151.1Smattoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1161.1Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1171.1Smattoptions 	SCSIVERBOSE	# human readable SCSI error messages
1181.1Smatt#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
1191.1Smatt#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1201.1Smatt
1211.1Smatt# wscons options
1221.1Smatt#options 	WSEMUL_SUN		# sun terminal emulation
1231.1Smatt#options 	WSEMUL_VT100		# VT100 / VT220 emulation
1241.7Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1251.1Smatt
1261.1Smatt# Kernel root file system and dump configuration.
1271.1Smattconfig		netbsd		root on ? type ?
1281.14Sjoergconfig		netbsd-ld0a	root on ld0a type ffs
1291.1Smattconfig		netbsd-sd0a	root on sd0a type ffs
1301.1Smattconfig		nfsnetbsd	root on tsec0 type nfs
1311.1Smatt
1321.1Smatt#
1331.1Smatt# Device configuration
1341.1Smatt#
1351.1Smatt
1361.1Smattmainbus0 at root			# Processor Local Bus
1371.1Smatt
1381.1Smattcpunode*	at mainbus? node ?
1391.1Smattgpio*		at gpiobus?
1401.1Smatt
1411.1Smattcpu*		at cpunode?
1421.1Smatt
1431.1Smattobio0		at cpunode?		# On-chip Peripheral Bus
1441.1Smatt#nandfcm*	at obio0 cs ?		# nand flash
1451.1Smatt#nand*		at nandfcm?
1461.1Smatt#flash*		at nand?
1471.1Smatt
1481.1Smatt# NOR Flash
1491.1Smatt#options 	NOR_VERBOSE
1501.1Smattcfi0	 	at obio0 cs 0
1511.1Smattnor*		at cfi?
1521.4Smattflash*		at nor? offset 0 size 0x4000000
1531.1Smatt
1541.1Smatte500wdog*	at cpunode?		# Watchdog timer
1551.1Smatt
1561.1Smattddrc*		at cpunode?
1571.1Smattduart*		at cpunode?
1581.1Smattcom*		at duart? port ?
1591.3Smattoptions 	CONSADDR="DUART1_BASE"
1601.1Smatt
1611.5Smattmdio0		at cpunode? instance 1
1621.5Smatttsec0		at cpunode? instance 1 mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller
1631.5Smatttsec1		at cpunode? instance 3 mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller
1641.5Smattatphy*		at mii?
1651.1Smattukphy*		at mii?
1661.1Smatt#options 	ETSEC_EVENT_COUNTERS
1671.1Smatt
1681.1Smattdiic*		at cpunode?		# i2c bus
1691.1Smattiic*		at diic?
1701.1Smatt#dsrtc*		at iic1 addr 0x68 flags 1339	# RTC DS1339
1711.1Smatt
1721.1Smattpq3pcie*	at cpunode?		# PCI-Express controller
1731.1Smattpci*		at pq3pcie?
1741.1Smatt
1751.1Smattppb*		at pci? dev ? function ?	# PCI-PCI bridges
1761.1Smattpci*		at ppb?
1771.1Smatt
1781.1Smattahcisata*	at pci? dev ? function ?
1791.1Smattatabus*		at ahcisata? channel ?
1801.1Smattwd*		at atabus? drive ?
1811.1Smatt
1821.1Smattehci*		at cpunode?		# usb
1831.1Smattusb*		at ehci?
1841.1Smattuhub*		at usb?
1851.1Smattuhub*		at uhub? port ?
1861.1Smattumass*		at uhub? port ?
1871.1Smattscsibus*	at umass? channel ?
1881.1Smattsd*		at scsibus? target ? lun ?
1891.1Smatt
1901.5Smatt#options 	SDHC_DEBUG
1911.5Smatt#options 	SDMMC_DEBUG
1921.1Smattsdhc*		at cpunode?		# sdmmc
1931.1Smattsdmmc*		at sdhc?		# SD/MMC bus
1941.1Smattld*		at sdmmc?
1951.1Smatt
1961.1Smatt#siisata*	at pci? dev ? function ?
1971.1Smatt#atabus* 	at siisata? channel ?
1981.1Smatt#jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
1991.1Smatt#ahcisata*	at jmide?
2001.1Smatt#atabus* 	at ahcisata? channel ?
2011.1Smatt
2021.1Smatt#viaide* 	at pci? dev ? function ?
2031.1Smatt#atabus* 	at viaide? channel ?
2041.1Smatt#wd*		at atabus? drive ?
2051.1Smatt#rtk*		at pci? dev ? function ?
2061.1Smatt#wm*		at pci? dev ? function ?	# Intel Ethernet
2071.1Smatt
2081.1Smatt#inphy*		at mii? phy ?			# Intel 82555 PHYs
2091.1Smatt#iophy*		at mii? phy ?			# Intel 82553 PHYs
2101.1Smatt#makphy* 	at mii? phy ?			# Marvell PHYs
2111.1Smatt#ukphy*		at mii? phy ?			# generic unknown PHYs
2121.1Smatt
2131.1Smattpseudo-device	loop			# network loopback
2141.1Smattpseudo-device	bpfilter		# packet filter
2151.27Ssevanpseudo-device 	carp			# Common Address Redundancy Protocol
2161.1Smattpseudo-device	clockctl		# user control of clock subsystem
2171.6Smattpseudo-device	drvctl			# user control of drive subsystem
2181.1Smattpseudo-device	ksyms			# /dev/ksyms
2191.1Smattpseudo-device	pty			# pseudo-terminals
2201.1Smattpseudo-device	kttcp			# kernel ttcp
2211.1Smattpseudo-device	vlan			# 802.1Q VLANs
2221.20Snonakapseudo-device	lockstat		# lock profiling
2231.29Sriastradpseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
2241.21Smatt
2251.27Ssevaninclude "dev/veriexec.config"
2261.27Ssevan
2271.30Sabs# Pull in optional local configuration - always at end
2281.24Smrgcinclude 	"arch/evbppc/conf/TWRP1025.local"
229