CI20 revision 1.1
11.1Smacallan#	$NetBSD: CI20,v 1.1 2014/11/22 15:17:02 macallan Exp $
21.1Smacallan#
31.1Smacallan# MIPS Creator CI20
41.1Smacallan#
51.1Smacallan
61.1Smacallan# for now
71.1Smacallaninclude 	"arch/evbmips/conf/std.ingenic"
81.1Smacallan
91.1Smacallan#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
101.1Smacallan
111.1Smacallan#ident 		"DB120-$Revision: 1.1 $"
121.1Smacallan
131.1Smacallanmaxusers	32
141.1Smacallan
151.1Smacallan#makeoptions	COPTS="-Os"		# Optimise for space. Implies -O2
161.1Smacallan
171.1Smacallanoptions 	MIPS32R2
181.1Smacallanmakeoptions	CPUFLAGS+="-mips32r2"
191.1Smacallanmakeoptions	NEED_MDSETIMAGE="yes"
201.1Smacallanmakeoptions	NEED_BINARY="yes"
211.1Smacallanmakeoptions	NEED_UBOOTIMAGE="gz"
221.1Smacallanoptions 	COM_16650,COM_TOLERANCE=50	# +/- 5%
231.1Smacallanoptions 	CONSPEED=115200	# u-boot default
241.1Smacallanoptions		CONSADDR=0x10030000
251.1Smacallanoptions 	MEMSIZE="(256*1024*1024)"
261.1Smacallan
271.1Smacallan# Options for necessary to use MD
281.1Smacallan#options 	MEMORY_DISK_HOOKS
291.1Smacallan#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
301.1Smacallan#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
311.1Smacallan#options 	MEMORY_DISK_ROOT_SIZE=6144	# size of memory disk, in blocks
321.1Smacallan#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
331.1Smacallan#options 	MEMORY_DISK_ROOT_SIZE=7300
341.1Smacallan
351.1Smacallan# Size reduction options
361.1Smacallan#options 	VNODE_OP_NOINLINE
371.1Smacallan#options 	PIPE_SOCKETPAIR
381.1Smacallanoptions		SOSEND_NO_LOAN
391.1Smacallan
401.1Smacallan# Standard system options
411.1Smacallanoptions 	KTRACE		# system call tracing support
421.1Smacallan#options 	SYSVMSG		# System V message queues
431.1Smacallan#options 	SYSVSEM		# System V semaphores
441.1Smacallan#options 	SYSVSHM		# System V shared memory
451.1Smacallanoptions 	NTP		# network time protocol
461.1Smacallan
471.1Smacallan# Debugging options
481.1Smacallanoptions 	DIAGNOSTIC	# extra kernel sanity checking
491.1Smacallanoptions 	DEBUG		# extra kernel debugging support
501.1Smacallan#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
511.1Smacallan#options 	USERCONF	# userconf(4) support
521.1Smacallan#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
531.1Smacallanoptions 	DDB		# kernel dynamic debugger
541.1Smacallanoptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
551.1Smacallanmakeoptions 	DEBUG="-g"	# compile full symbol table
561.1Smacallanmakeoptions	COPY_SYMTAB=1	# size for embedded symbol table
571.1Smacallan
581.1Smacallan# Compatibility options
591.1Smacallan#options 	COMPAT_43	# compatibility with 4.3BSD binaries
601.1Smacallan#options 	COMPAT_09	# NetBSD 0.9,
611.1Smacallan#options 	COMPAT_10	# NetBSD 1.0,
621.1Smacallan#options 	COMPAT_11	# NetBSD 1.1,
631.1Smacallan#options 	COMPAT_12	# NetBSD 1.2,
641.1Smacallan#options 	COMPAT_13	# NetBSD 1.3,
651.1Smacallan#options 	COMPAT_14	# NetBSD 1.4,
661.1Smacallan#options 	COMPAT_15	# NetBSD 1.5,
671.1Smacallan#options 	COMPAT_16	# NetBSD 1.6,
681.1Smacallan#options 	COMPAT_20	# NetBSD 2.0,
691.1Smacallan#options 	COMPAT_30	# NetBSD 3.0, and
701.1Smacallan#options 	COMPAT_40	# NetBSD 4.0 binary compatibility.
711.1Smacallan#options 	EXEC_ECOFF	# exec ECOFF binaries
721.1Smacallan#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
731.1Smacallan#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
741.1Smacallan
751.1Smacallan# File systems
761.1Smacallanfile-system	FFS		# Berkeley Fast Filesystem
771.1Smacallanfile-system	MFS		# memory-based filesystem
781.1Smacallan#file-system 	EXT2FS		# second extended file system (linux)
791.1Smacallanfile-system	NFS		# Sun NFS-compatible filesystem client
801.1Smacallan#file-system	KERNFS		# kernel data-structure filesystem
811.1Smacallan#file-system	NULLFS		# NULL layered filesystem
821.1Smacallan#file-system 	OVERLAY		# overlay file system
831.1Smacallan#file-system	FDESC		# user file descriptor filesystem
841.1Smacallan#file-system	UMAPFS		# uid/gid remapping filesystem
851.1Smacallan#file-system	LFS		# Log-based filesystem (still experimental)
861.1Smacallan#file-system	PROCFS		# /proc
871.1Smacallan#file-system	CD9660		# ISO 9660 + Rock Ridge file system
881.1Smacallan#file-system	UNION		# union file system
891.1Smacallan#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
901.1Smacallan#file-system 	CODA		# Coda File System; also needs vcoda (below)
911.1Smacallan#file-system	PTYFS		# /dev/pts/N support
921.1Smacallan
931.1Smacallan# File system options
941.1Smacallan#options 	NFSSERVER	# Sun NFS-compatible filesystem server
951.1Smacallan#options 	QUOTA		# legacy UFS quotas
961.1Smacallan#options 	QUOTA2		# new, in-filesystem UFS quotas
971.1Smacallan#options 	FFS_EI		# FFS Endian Independent support
981.1Smacallanoptions 	WAPBL		# File system journaling support
991.1Smacallanoptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1001.1Smacallan#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1011.1Smacallan				# immutable) behave as system flags.
1021.1Smacallan
1031.1Smacallan# Networking options
1041.1Smacallan#options 	GATEWAY		# IP packet forwarding
1051.1Smacallanoptions 	INET		# Internet protocols
1061.1Smacallan#options 	INET6		# IPV6
1071.1Smacallan#options 	IPSEC		# IP security
1081.1Smacallan#options 	IPSEC_DEBUG	# debug for IP security
1091.1Smacallan#options 	MROUTING	# packet forwarding of multicast packets
1101.1Smacallan#options 	PIM		# Protocol Independent Multicast
1111.1Smacallan#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1121.1Smacallan#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1131.1Smacallan#options 	PPP_DEFLATE	# Deflate compression support for PPP
1141.1Smacallan#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1151.1Smacallan#options 	IPFILTER_LOG	# ipmon(8) log support
1161.1Smacallan#options 	IPFILTER_LOOKUP	# ippool(8) support
1171.1Smacallan
1181.1Smacallan# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1191.1Smacallan#options 	TCP_COMPAT_42
1201.1Smacallan
1211.1Smacallan# JIT compiler for bpfilter
1221.1Smacallan#options	SLJIT
1231.1Smacallan#options	BPFJIT
1241.1Smacallan
1251.1Smacallan# These options enable verbose messages for several subsystems.
1261.1Smacallan# Warning, these may compile large string tables into the kernel!
1271.1Smacallanoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1281.1Smacallan
1291.1Smacallan# Bitmask for enabling the PCI IDE channels in the southbridge.
1301.1Smacallan# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
1311.1Smacallan#
1321.1Smacallan# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
1331.1Smacallan# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
1341.1Smacallan#options 	PCI_NETBSD_ENABLE_IDE=0x1
1351.1Smacallan
1361.1Smacallanoptions 	NFS_BOOT_BOOTP
1371.1Smacallan#options 	NFS_BOOT_DHCP
1381.1Smacallan#options 	NFS_V2_ONLY
1391.1Smacallan
1401.1Smacallanconfig		netbsd	root on ? type ?
1411.1Smacallan
1421.1Smacallanmainbus0 	at root
1431.1Smacallancpu0 		at mainbus?
1441.1Smacallan#wdog0		at mainbus?
1451.1Smacallan#options		COM_REGMAP
1461.1Smacallancom*		at mainbus?
1471.1Smacallan#ehci*		at arbus? addr ?
1481.1Smacallan#usb*		at ehci?
1491.1Smacallan#uhub*		at usb?
1501.1Smacallan#uhub*		at uhub? port ?
1511.1Smacallan#umass*		at uhub? port ? configuration ? interface ?
1521.1Smacallan#scsibus*	at umass? channel ?
1531.1Smacallan#sd*		at scsibus? target ? lun ?
1541.1Smacallan#ae*		at arbus? addr ?
1551.1Smacallan#ath*		at arbus? addr ?
1561.1Smacallan#athflash*	at arbus? addr ?
1571.1Smacallan#argpio* 	at arbus? addr ?
1581.1Smacallan#gpio*		at argpio?
1591.1Smacallan
1601.1Smacallan# no RTC!  so fake with a stub (required to prevent evbmips panic)
1611.1Smacallan
1621.1Smacallan
1631.1Smacallan# MII/PHY support
1641.1Smacallan#acphy*		at mii? phy ?		# DAltima AC101 and AMD Am79c874 PHYs
1651.1Smacallan#amhphy* 	at mii? phy ?		# AMD 79c901 Ethernet PHYs
1661.1Smacallan#dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
1671.1Smacallan#glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
1681.1Smacallan#gphyter*	at mii? phy ?		# NS83861 Gig-E PHY
1691.1Smacallan#icsphy* 	at mii? phy ?		# Integrated Circuit Systems ICS1890
1701.1Smacallan#lxtphy* 	at mii? phy ?		# Level One LXT-970 PHYs
1711.1Smacallan#makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
1721.1Smacallan#nsphy*		at mii? phy ?		# NS83840 PHYs
1731.1Smacallan#nsphyter*	at mii? phy ?		# NS83843 PHYs
1741.1Smacallan#pnaphy* 	at mii? phy ?		# generic HomePNA PHYs
1751.1Smacallan#qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
1761.1Smacallan#sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
1771.1Smacallan#tlphy*		at mii? phy ?		# ThunderLAN PHYs
1781.1Smacallan#tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
1791.1Smacallan#rlphy*		at mii? phy ?		# RealTek PHYs
1801.1Smacallan#ukphy*		at mii? phy ?		# generic unknown PHYs
1811.1Smacallan
1821.1Smacallan
1831.1Smacallan# Pseudo-devices
1841.1Smacallan
1851.1Smacallan# Disk/mass storage pseudo-devices
1861.1Smacallan#pseudo-device	ccd				# concatenated disk devices
1871.1Smacallan#pseudo-device	raid				# RAIDframe disk driver
1881.1Smacallan#pseudo-device	fss				# file system snapshot device
1891.1Smacallan#pseudo-device	md				# memory disk device (ramdisk)
1901.1Smacallan#pseudo-device	vnd				# disk-like interface to files
1911.1Smacallan
1921.1Smacallan# Network pseudo-devices
1931.1Smacallanpseudo-device	bpfilter			# Berkeley packet filter
1941.1Smacallan#pseudo-device	ipfilter			# IP filter (firewall) and NAT
1951.1Smacallanpseudo-device	loop				# network loopback
1961.1Smacallan#pseudo-device	ppp				# Point-to-Point Protocol
1971.1Smacallan#pseudo-device	sl				# Serial Line IP
1981.1Smacallan#pseudo-device	strip				# Starmode Radio IP (Metricom)
1991.1Smacallan#pseudo-device	tun				# network tunneling over tty
2001.1Smacallan#pseudo-device	tap				# virtual Ethernet
2011.1Smacallan#pseudo-device	gre				# generic L3 over IP tunnel
2021.1Smacallan#pseudo-device	ipip				# RFC 2003 IP Encapsulation
2031.1Smacallan#pseudo-device	gif				# RFC1933 tunnel
2041.1Smacallan#pseudo-device	faith				# IPv[46] tcp relay translation
2051.1Smacallan#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
2061.1Smacallan#pseudo-device	vlan				# IEEE 802.1q encapsulation
2071.1Smacallan#pseudo-device	bridge				# simple inter-network bridging
2081.1Smacallan
2091.1Smacallan# Miscellaneous pseudo-devices
2101.1Smacallanpseudo-device	pty				# pseudo-terminals
2111.1Smacallanpseudo-device	clockctl			# user control of clock subsystem
2121.1Smacallanpseudo-device	ksyms				# /dev/ksyms
2131.1Smacallan
2141.1Smacallan# A pseudo device needed for Coda		# also needs CODA (above)
2151.1Smacallan#pseudo-device	vcoda				# coda minicache <-> venus comm.
216