TWRP1025 revision 1.29
11.29Sriastrad#	$NetBSD: TWRP1025,v 1.29 2022/09/29 10:10:07 riastradh 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.29Sriastradident 		"TWRP1025-$Revision: 1.29 $"
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.1Smattoptions 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
911.1Smatt				# immutable) behave as system flags.
921.28Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
931.28Ssimonboptions 	NFSSERVER	# Network File System server
941.1Smatt
951.1Smattoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
961.1Smatt
971.1Smatt# Networking options
981.1Smatt#options 	GATEWAY		# packet forwarding
991.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
1001.1Smattoptions 	INET_CSUM_COUNTERS
1011.1Smattoptions 	TCP_CSUM_COUNTERS
1021.1Smattoptions 	UDP_CSUM_COUNTERS
1031.19Snonakaoptions 	INET6		# IPV6
1041.1Smatt#options 	IPSEC		# IP security
1051.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
1061.1Smatt#options 	MROUTING	# IP multicast routing
1071.1Smatt#options 	PIM		# Protocol Independent Multicast
1081.1Smatt#options 	NETATALK	# AppleTalk networking protocols
1091.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1101.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
1111.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1121.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1131.1Smatt
1141.1Smatt# These options enable verbose messages for several subsystems.
1151.1Smatt# Warning, these may compile large string tables into the kernel!
1161.1Smattoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1171.1Smattoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1181.1Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1191.1Smattoptions 	SCSIVERBOSE	# human readable SCSI error messages
1201.1Smatt#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
1211.1Smatt#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1221.1Smatt
1231.1Smatt# wscons options
1241.1Smatt#options 	WSEMUL_SUN		# sun terminal emulation
1251.1Smatt#options 	WSEMUL_VT100		# VT100 / VT220 emulation
1261.7Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1271.1Smatt
1281.1Smatt# Kernel root file system and dump configuration.
1291.1Smattconfig		netbsd		root on ? type ?
1301.14Sjoergconfig		netbsd-ld0a	root on ld0a type ffs
1311.1Smattconfig		netbsd-sd0a	root on sd0a type ffs
1321.1Smattconfig		nfsnetbsd	root on tsec0 type nfs
1331.1Smatt
1341.1Smatt#
1351.1Smatt# Device configuration
1361.1Smatt#
1371.1Smatt
1381.1Smattmainbus0 at root			# Processor Local Bus
1391.1Smatt
1401.1Smattcpunode*	at mainbus? node ?
1411.1Smattgpio*		at gpiobus?
1421.1Smatt
1431.1Smattcpu*		at cpunode?
1441.1Smatt
1451.1Smattobio0		at cpunode?		# On-chip Peripheral Bus
1461.1Smatt#nandfcm*	at obio0 cs ?		# nand flash
1471.1Smatt#nand*		at nandfcm?
1481.1Smatt#flash*		at nand?
1491.1Smatt
1501.1Smatt# NOR Flash
1511.1Smatt#options 	NOR_VERBOSE
1521.1Smattcfi0	 	at obio0 cs 0
1531.1Smattnor*		at cfi?
1541.4Smattflash*		at nor? offset 0 size 0x4000000
1551.1Smatt
1561.1Smatte500wdog*	at cpunode?		# Watchdog timer
1571.1Smatt
1581.1Smattddrc*		at cpunode?
1591.1Smattduart*		at cpunode?
1601.1Smattcom*		at duart? port ?
1611.3Smattoptions 	CONSADDR="DUART1_BASE"
1621.1Smatt
1631.5Smattmdio0		at cpunode? instance 1
1641.5Smatttsec0		at cpunode? instance 1 mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller
1651.5Smatttsec1		at cpunode? instance 3 mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller
1661.5Smattatphy*		at mii?
1671.1Smattukphy*		at mii?
1681.1Smatt#options 	ETSEC_EVENT_COUNTERS
1691.1Smatt
1701.1Smattdiic*		at cpunode?		# i2c bus
1711.1Smattiic*		at diic?
1721.1Smatt#dsrtc*		at iic1 addr 0x68 flags 1339	# RTC DS1339
1731.1Smatt
1741.1Smattpq3pcie*	at cpunode?		# PCI-Express controller
1751.1Smattpci*		at pq3pcie?
1761.1Smatt
1771.1Smattppb*		at pci? dev ? function ?	# PCI-PCI bridges
1781.1Smattpci*		at ppb?
1791.1Smatt
1801.1Smattahcisata*	at pci? dev ? function ?
1811.1Smattatabus*		at ahcisata? channel ?
1821.1Smattwd*		at atabus? drive ?
1831.1Smatt
1841.1Smattehci*		at cpunode?		# usb
1851.1Smattusb*		at ehci?
1861.1Smattuhub*		at usb?
1871.1Smattuhub*		at uhub? port ?
1881.1Smattumass*		at uhub? port ?
1891.1Smattscsibus*	at umass? channel ?
1901.1Smattsd*		at scsibus? target ? lun ?
1911.1Smatt
1921.5Smatt#options 	SDHC_DEBUG
1931.5Smatt#options 	SDMMC_DEBUG
1941.1Smattsdhc*		at cpunode?		# sdmmc
1951.1Smattsdmmc*		at sdhc?		# SD/MMC bus
1961.1Smattld*		at sdmmc?
1971.1Smatt
1981.1Smatt#siisata*	at pci? dev ? function ?
1991.1Smatt#atabus* 	at siisata? channel ?
2001.1Smatt#jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
2011.1Smatt#ahcisata*	at jmide?
2021.1Smatt#atabus* 	at ahcisata? channel ?
2031.1Smatt
2041.1Smatt#viaide* 	at pci? dev ? function ?
2051.1Smatt#atabus* 	at viaide? channel ?
2061.1Smatt#wd*		at atabus? drive ?
2071.1Smatt#rtk*		at pci? dev ? function ?
2081.1Smatt#wm*		at pci? dev ? function ?	# Intel Ethernet
2091.1Smatt
2101.1Smatt#inphy*		at mii? phy ?			# Intel 82555 PHYs
2111.1Smatt#iophy*		at mii? phy ?			# Intel 82553 PHYs
2121.1Smatt#makphy* 	at mii? phy ?			# Marvell PHYs
2131.1Smatt#ukphy*		at mii? phy ?			# generic unknown PHYs
2141.1Smatt
2151.1Smattpseudo-device	loop			# network loopback
2161.1Smattpseudo-device	bpfilter		# packet filter
2171.27Ssevanpseudo-device 	carp			# Common Address Redundancy Protocol
2181.1Smattpseudo-device	clockctl		# user control of clock subsystem
2191.6Smattpseudo-device	drvctl			# user control of drive subsystem
2201.1Smattpseudo-device	ksyms			# /dev/ksyms
2211.1Smattpseudo-device	pty			# pseudo-terminals
2221.1Smattpseudo-device	kttcp			# kernel ttcp
2231.1Smattpseudo-device	vlan			# 802.1Q VLANs
2241.20Snonakapseudo-device	lockstat		# lock profiling
2251.29Sriastradpseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
2261.21Smatt
2271.27Ssevaninclude "dev/veriexec.config"
2281.27Ssevan
2291.24Smrgcinclude 	"arch/evbppc/conf/TWRP1025.local"
230