CI20 revision 1.11
11.11Smacallan# $NetBSD: CI20,v 1.11 2015/03/17 07:28:18 macallan Exp $ 21.1Smacallan# 31.1Smacallan# MIPS Creator CI20 41.1Smacallan# 51.1Smacallan 61.1Smacallaninclude "arch/evbmips/conf/std.ingenic" 71.1Smacallan 81.1Smacallan#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 91.1Smacallan 101.11Smacallan#ident "CI20-$Revision: 1.11 $" 111.1Smacallan 121.1Smacallanmaxusers 32 131.1Smacallan 141.1Smacallan#makeoptions COPTS="-Os" # Optimise for space. Implies -O2 151.1Smacallan 161.1Smacallanoptions MIPS32R2 171.1Smacallanmakeoptions CPUFLAGS+="-mips32r2" 181.1Smacallanmakeoptions NEED_MDSETIMAGE="yes" 191.1Smacallanmakeoptions NEED_BINARY="yes" 201.1Smacallanmakeoptions NEED_UBOOTIMAGE="gz" 211.3Smacallanoptions COM_TOLERANCE=50 # +/- 5% 221.1Smacallanoptions CONSPEED=115200 # u-boot default 231.1Smacallan 241.1Smacallan# Options for necessary to use MD 251.1Smacallan#options MEMORY_DISK_HOOKS 261.1Smacallan#options MEMORY_DISK_IS_ROOT # force root on memory disk 271.1Smacallan#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 281.1Smacallan#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 291.1Smacallan#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 301.1Smacallan#options MEMORY_DISK_ROOT_SIZE=7300 311.1Smacallan 321.1Smacallan# Size reduction options 331.1Smacallan#options VNODE_OP_NOINLINE 341.1Smacallan#options PIPE_SOCKETPAIR 351.1Smacallanoptions SOSEND_NO_LOAN 361.1Smacallan 371.1Smacallan# Standard system options 381.1Smacallanoptions KTRACE # system call tracing support 391.1Smacallan#options SYSVMSG # System V message queues 401.1Smacallan#options SYSVSEM # System V semaphores 411.1Smacallan#options SYSVSHM # System V shared memory 421.1Smacallanoptions NTP # network time protocol 431.1Smacallan 441.1Smacallan# Debugging options 451.1Smacallanoptions DIAGNOSTIC # extra kernel sanity checking 461.1Smacallanoptions DEBUG # extra kernel debugging support 471.1Smacallan#options KMEMSTATS # kernel memory statistics (vmstat -m) 481.1Smacallan#options USERCONF # userconf(4) support 491.1Smacallan#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 501.1Smacallanoptions DDB # kernel dynamic debugger 511.1Smacallanoptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 521.1Smacallanmakeoptions DEBUG="-g" # compile full symbol table 531.1Smacallanmakeoptions COPY_SYMTAB=1 # size for embedded symbol table 541.1Smacallan 551.8Smacallan#options INGENIC_DEBUG 561.8Smacallan#options INGENIC_CLOCK_DEBUG 571.6Smacallan#options INGENIC_INTR_DEBUG # *very* spammy 581.5Smacallan 591.1Smacallan# Compatibility options 601.1Smacallan#options COMPAT_43 # compatibility with 4.3BSD binaries 611.1Smacallan#options COMPAT_09 # NetBSD 0.9, 621.1Smacallan#options COMPAT_10 # NetBSD 1.0, 631.1Smacallan#options COMPAT_11 # NetBSD 1.1, 641.1Smacallan#options COMPAT_12 # NetBSD 1.2, 651.1Smacallan#options COMPAT_13 # NetBSD 1.3, 661.1Smacallan#options COMPAT_14 # NetBSD 1.4, 671.1Smacallan#options COMPAT_15 # NetBSD 1.5, 681.1Smacallan#options COMPAT_16 # NetBSD 1.6, 691.1Smacallan#options COMPAT_20 # NetBSD 2.0, 701.1Smacallan#options COMPAT_30 # NetBSD 3.0, and 711.1Smacallan#options COMPAT_40 # NetBSD 4.0 binary compatibility. 721.1Smacallan#options EXEC_ECOFF # exec ECOFF binaries 731.1Smacallan#options COMPAT_ULTRIX # binary compatibility with Ultrix 741.1Smacallan#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 751.1Smacallan 761.1Smacallan# File systems 771.1Smacallanfile-system FFS # Berkeley Fast Filesystem 781.8Smacallan#file-system MFS # memory-based filesystem 791.1Smacallan#file-system EXT2FS # second extended file system (linux) 801.1Smacallanfile-system NFS # Sun NFS-compatible filesystem client 811.8Smacallanfile-system KERNFS # kernel data-structure filesystem 821.1Smacallan#file-system NULLFS # NULL layered filesystem 831.1Smacallan#file-system OVERLAY # overlay file system 841.1Smacallan#file-system FDESC # user file descriptor filesystem 851.1Smacallan#file-system UMAPFS # uid/gid remapping filesystem 861.1Smacallan#file-system LFS # Log-based filesystem (still experimental) 871.8Smacallanfile-system PROCFS # /proc 881.1Smacallan#file-system CD9660 # ISO 9660 + Rock Ridge file system 891.1Smacallan#file-system UNION # union file system 901.8Smacallanfile-system MSDOSFS # MS-DOS FAT filesystem(s). 911.1Smacallan#file-system CODA # Coda File System; also needs vcoda (below) 921.8Smacallanfile-system PTYFS # /dev/pts/N support 931.8Smacallanfile-system TMPFS # Efficient memory file-system 941.1Smacallan 951.1Smacallan# File system options 961.1Smacallan#options NFSSERVER # Sun NFS-compatible filesystem server 971.1Smacallan#options QUOTA # legacy UFS quotas 981.1Smacallan#options QUOTA2 # new, in-filesystem UFS quotas 991.1Smacallan#options FFS_EI # FFS Endian Independent support 1001.1Smacallanoptions WAPBL # File system journaling support 1011.1Smacallanoptions FFS_NO_SNAPSHOT # No FFS snapshot support 1021.1Smacallan#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1031.1Smacallan # immutable) behave as system flags. 1041.1Smacallan 1051.1Smacallan# Networking options 1061.1Smacallan#options GATEWAY # IP packet forwarding 1071.1Smacallanoptions INET # Internet protocols 1081.8Smacallanoptions INET6 # IPV6 1091.1Smacallan#options IPSEC # IP security 1101.1Smacallan#options IPSEC_DEBUG # debug for IP security 1111.1Smacallan#options MROUTING # packet forwarding of multicast packets 1121.1Smacallan#options PIM # Protocol Independent Multicast 1131.1Smacallan#options NETATALK # AppleTalk (over Ethernet) protocol 1141.1Smacallan#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1151.1Smacallan#options PPP_DEFLATE # Deflate compression support for PPP 1161.1Smacallan#options PPP_FILTER # Active filter support for PPP (requires bpf) 1171.1Smacallan#options IPFILTER_LOG # ipmon(8) log support 1181.1Smacallan#options IPFILTER_LOOKUP # ippool(8) support 1191.1Smacallan 1201.1Smacallan# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. 1211.1Smacallan#options TCP_COMPAT_42 1221.1Smacallan 1231.1Smacallan# JIT compiler for bpfilter 1241.1Smacallan#options SLJIT 1251.1Smacallan#options BPFJIT 1261.1Smacallan 1271.1Smacallan# These options enable verbose messages for several subsystems. 1281.1Smacallan# Warning, these may compile large string tables into the kernel! 1291.1Smacallanoptions MIIVERBOSE # verbose PHY autoconfig messages 1301.1Smacallan 1311.1Smacallanoptions NFS_BOOT_BOOTP 1321.8Smacallanoptions NFS_BOOT_DHCP 1331.1Smacallan#options NFS_V2_ONLY 1341.1Smacallan 1351.8Smacallanconfig netbsd root on sd0a type ffs 1361.8Smacallan#config netbsd root on axe0 type nfs 1371.1Smacallan 1381.1Smacallanmainbus0 at root 1391.1Smacallancpu0 at mainbus? 1401.1Smacallan#wdog0 at mainbus? 1411.1Smacallancom* at mainbus? 1421.4Smacallanapbus0 at mainbus? 1431.3Smacallan 1441.3Smacallan# On-board USB 1451.11Smacallandwctwo* at apbus? 1461.7Smacallan#options DWC2_DEBUG 1471.5Smacallanusb* at dwctwo? 1481.9Smacallan 1491.11Smacallanohci* at apbus? 1501.9Smacallanusb* at ohci? 1511.9Smacallan 1521.9Smacallan# this one doesn't work yet 1531.11Smacallan#ehci* at apbus? 1541.9Smacallan#usb* at ehci? 1551.9Smacallan 1561.10Smacallan# onboard ethernet 1571.11Smacallandme* at apbus? 1581.10Smacallan 1591.3Smacallan#jzgpio* at apbus? addr ? 1601.3Smacallan#gpio* at jzgpio? 1611.1Smacallan 1621.1Smacallan# no RTC! so fake with a stub (required to prevent evbmips panic) 1631.1Smacallan 1641.10Smacallan# USB stuff 1651.10Smacallanuhub* at usb? 1661.10Smacallanuhub* at uhub? port ? 1671.10Smacallan 1681.7Smacallan# USB HID device 1691.7Smacallanuhidev* at uhub? port ? configuration ? interface ? 1701.7Smacallan 1711.7Smacallan# USB Mice 1721.7Smacallanums* at uhidev? reportid ? 1731.7Smacallanwsmouse* at ums? mux 0 1741.7Smacallan 1751.7Smacallan# USB Keyboards 1761.7Smacallanukbd* at uhidev? reportid ? 1771.7Smacallanwskbd* at ukbd? console ? mux 1 1781.7Smacallan 1791.7Smacallan# USB Generic HID devices 1801.7Smacallanuhid* at uhidev? reportid ? 1811.7Smacallan 1821.7Smacallan# USB Mass Storage 1831.7Smacallanumass* at uhub? port ? configuration ? interface ? 1841.7Smacallanscsibus* at umass? channel ? 1851.7Smacallansd* at scsibus? target ? lun ? # SCSI disk drives 1861.7Smacallancd* at scsibus? target ? lun ? # SCSI CD-ROM drives 1871.7Smacallan 1881.7Smacallan# Ethernet 1891.7Smacallanaxe* at uhub? port ? 1901.1Smacallan 1911.1Smacallan# MII/PHY support 1921.1Smacallan#acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 1931.1Smacallan#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 1941.1Smacallan#dmphy* at mii? phy ? # Davicom DM9101 PHYs 1951.1Smacallan#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 1961.1Smacallan#gphyter* at mii? phy ? # NS83861 Gig-E PHY 1971.1Smacallan#icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 1981.1Smacallan#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 1991.1Smacallan#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 2001.1Smacallan#nsphy* at mii? phy ? # NS83840 PHYs 2011.1Smacallan#nsphyter* at mii? phy ? # NS83843 PHYs 2021.1Smacallan#pnaphy* at mii? phy ? # generic HomePNA PHYs 2031.1Smacallan#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 2041.1Smacallan#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 2051.1Smacallan#tlphy* at mii? phy ? # ThunderLAN PHYs 2061.1Smacallan#tqphy* at mii? phy ? # TDK Semiconductor PHYs 2071.1Smacallan#rlphy* at mii? phy ? # RealTek PHYs 2081.7Smacallanukphy* at mii? phy ? # generic unknown PHYs 2091.1Smacallan 2101.1Smacallan 2111.1Smacallan# Pseudo-devices 2121.1Smacallan 2131.1Smacallan# Disk/mass storage pseudo-devices 2141.1Smacallan#pseudo-device ccd # concatenated disk devices 2151.1Smacallan#pseudo-device raid # RAIDframe disk driver 2161.1Smacallan#pseudo-device fss # file system snapshot device 2171.1Smacallan#pseudo-device md # memory disk device (ramdisk) 2181.1Smacallan#pseudo-device vnd # disk-like interface to files 2191.1Smacallan 2201.1Smacallan# Network pseudo-devices 2211.1Smacallanpseudo-device bpfilter # Berkeley packet filter 2221.1Smacallan#pseudo-device ipfilter # IP filter (firewall) and NAT 2231.1Smacallanpseudo-device loop # network loopback 2241.1Smacallan#pseudo-device ppp # Point-to-Point Protocol 2251.1Smacallan#pseudo-device sl # Serial Line IP 2261.1Smacallan#pseudo-device strip # Starmode Radio IP (Metricom) 2271.1Smacallan#pseudo-device tun # network tunneling over tty 2281.1Smacallan#pseudo-device tap # virtual Ethernet 2291.1Smacallan#pseudo-device gre # generic L3 over IP tunnel 2301.1Smacallan#pseudo-device ipip # RFC 2003 IP Encapsulation 2311.1Smacallan#pseudo-device gif # RFC1933 tunnel 2321.1Smacallan#pseudo-device faith # IPv[46] tcp relay translation 2331.1Smacallan#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2341.1Smacallan#pseudo-device vlan # IEEE 802.1q encapsulation 2351.1Smacallan#pseudo-device bridge # simple inter-network bridging 2361.1Smacallan 2371.1Smacallan# Miscellaneous pseudo-devices 2381.1Smacallanpseudo-device pty # pseudo-terminals 2391.1Smacallanpseudo-device clockctl # user control of clock subsystem 2401.1Smacallanpseudo-device ksyms # /dev/ksyms 2411.1Smacallan 2421.1Smacallan# A pseudo device needed for Coda # also needs CODA (above) 2431.1Smacallan#pseudo-device vcoda # coda minicache <-> venus comm. 244