Home | History | Annotate | Line # | Download | only in conf
CI20 revision 1.21.2.1
      1  1.21.2.1  pgoyette #	$NetBSD: CI20,v 1.21.2.1 2017/03/20 06:57:13 pgoyette Exp $
      2       1.1  macallan #
      3       1.1  macallan # MIPS Creator CI20
      4       1.1  macallan #
      5       1.1  macallan 
      6       1.1  macallan include 	"arch/evbmips/conf/std.ingenic"
      7       1.1  macallan 
      8       1.1  macallan #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      9       1.1  macallan 
     10  1.21.2.1  pgoyette #ident 		"CI20-$Revision: 1.21.2.1 $"
     11       1.1  macallan 
     12       1.1  macallan maxusers	32
     13       1.1  macallan 
     14       1.1  macallan #makeoptions	COPTS="-Os"		# Optimise for space. Implies -O2
     15       1.1  macallan 
     16       1.1  macallan options 	MIPS32R2
     17       1.1  macallan makeoptions	CPUFLAGS+="-mips32r2"
     18       1.1  macallan makeoptions	NEED_MDSETIMAGE="yes"
     19       1.1  macallan makeoptions	NEED_BINARY="yes"
     20       1.1  macallan makeoptions	NEED_UBOOTIMAGE="gz"
     21       1.3  macallan options 	COM_TOLERANCE=50	# +/- 5%
     22       1.1  macallan options 	CONSPEED=115200	# u-boot default
     23       1.1  macallan 
     24       1.1  macallan # Options for necessary to use MD
     25       1.1  macallan #options 	MEMORY_DISK_HOOKS
     26       1.1  macallan #options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
     27       1.1  macallan #options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
     28       1.1  macallan #options 	MEMORY_DISK_ROOT_SIZE=6144	# size of memory disk, in blocks
     29       1.1  macallan #options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
     30       1.1  macallan #options 	MEMORY_DISK_ROOT_SIZE=7300
     31       1.1  macallan 
     32       1.1  macallan # Size reduction options
     33       1.1  macallan #options 	VNODE_OP_NOINLINE
     34       1.1  macallan #options 	PIPE_SOCKETPAIR
     35       1.1  macallan options		SOSEND_NO_LOAN
     36       1.1  macallan 
     37       1.1  macallan # Standard system options
     38       1.1  macallan options 	KTRACE		# system call tracing support
     39       1.1  macallan #options 	SYSVMSG		# System V message queues
     40       1.1  macallan #options 	SYSVSEM		# System V semaphores
     41       1.1  macallan #options 	SYSVSHM		# System V shared memory
     42       1.1  macallan options 	NTP		# network time protocol
     43       1.1  macallan 
     44       1.1  macallan # Debugging options
     45       1.1  macallan options 	DIAGNOSTIC	# extra kernel sanity checking
     46      1.14  macallan #options 	DEBUG		# extra kernel debugging support
     47       1.1  macallan #options 	USERCONF	# userconf(4) support
     48       1.1  macallan #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     49       1.1  macallan options 	DDB		# kernel dynamic debugger
     50       1.1  macallan options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
     51       1.1  macallan makeoptions 	DEBUG="-g"	# compile full symbol table
     52       1.1  macallan makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
     53       1.1  macallan 
     54       1.8  macallan #options 	INGENIC_DEBUG
     55       1.8  macallan #options 	INGENIC_CLOCK_DEBUG
     56       1.6  macallan #options 	INGENIC_INTR_DEBUG	# *very* spammy
     57       1.5  macallan 
     58       1.1  macallan # Compatibility options
     59       1.1  macallan #options 	COMPAT_43	# compatibility with 4.3BSD binaries
     60       1.1  macallan #options 	COMPAT_09	# NetBSD 0.9,
     61       1.1  macallan #options 	COMPAT_10	# NetBSD 1.0,
     62       1.1  macallan #options 	COMPAT_11	# NetBSD 1.1,
     63       1.1  macallan #options 	COMPAT_12	# NetBSD 1.2,
     64       1.1  macallan #options 	COMPAT_13	# NetBSD 1.3,
     65       1.1  macallan #options 	COMPAT_14	# NetBSD 1.4,
     66       1.1  macallan #options 	COMPAT_15	# NetBSD 1.5,
     67       1.1  macallan #options 	COMPAT_16	# NetBSD 1.6,
     68       1.1  macallan #options 	COMPAT_20	# NetBSD 2.0,
     69       1.1  macallan #options 	COMPAT_30	# NetBSD 3.0, and
     70       1.1  macallan #options 	COMPAT_40	# NetBSD 4.0 binary compatibility.
     71       1.1  macallan #options 	EXEC_ECOFF	# exec ECOFF binaries
     72       1.1  macallan #options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
     73       1.1  macallan #options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     74       1.1  macallan 
     75       1.1  macallan # File systems
     76       1.1  macallan file-system	FFS		# Berkeley Fast Filesystem
     77       1.8  macallan #file-system	MFS		# memory-based filesystem
     78       1.1  macallan #file-system 	EXT2FS		# second extended file system (linux)
     79       1.1  macallan file-system	NFS		# Sun NFS-compatible filesystem client
     80       1.8  macallan file-system	KERNFS		# kernel data-structure filesystem
     81       1.1  macallan #file-system	NULLFS		# NULL layered filesystem
     82       1.1  macallan #file-system 	OVERLAY		# overlay file system
     83       1.1  macallan #file-system	FDESC		# user file descriptor filesystem
     84       1.1  macallan #file-system	UMAPFS		# uid/gid remapping filesystem
     85       1.1  macallan #file-system	LFS		# Log-based filesystem (still experimental)
     86       1.8  macallan file-system	PROCFS		# /proc
     87       1.1  macallan #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     88       1.1  macallan #file-system	UNION		# union file system
     89       1.8  macallan file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
     90       1.1  macallan #file-system 	CODA		# Coda File System; also needs vcoda (below)
     91       1.8  macallan file-system	PTYFS		# /dev/pts/N support
     92       1.8  macallan file-system	TMPFS		# Efficient memory file-system
     93       1.1  macallan 
     94       1.1  macallan # File system options
     95       1.1  macallan #options 	NFSSERVER	# Sun NFS-compatible filesystem server
     96       1.1  macallan #options 	QUOTA		# legacy UFS quotas
     97       1.1  macallan #options 	QUOTA2		# new, in-filesystem UFS quotas
     98  1.21.2.1  pgoyette #options 	DISKLABEL_EI	# disklabel Endian Independent support
     99       1.1  macallan #options 	FFS_EI		# FFS Endian Independent support
    100       1.1  macallan options 	WAPBL		# File system journaling support
    101       1.1  macallan options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
    102       1.1  macallan #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    103       1.1  macallan 				# immutable) behave as system flags.
    104       1.1  macallan 
    105       1.1  macallan # Networking options
    106       1.1  macallan #options 	GATEWAY		# IP packet forwarding
    107       1.1  macallan options 	INET		# Internet protocols
    108       1.8  macallan options 	INET6		# IPV6
    109       1.1  macallan #options 	IPSEC		# IP security
    110       1.1  macallan #options 	IPSEC_DEBUG	# debug for IP security
    111       1.1  macallan #options 	MROUTING	# packet forwarding of multicast packets
    112       1.1  macallan #options 	PIM		# Protocol Independent Multicast
    113       1.1  macallan #options 	NETATALK	# AppleTalk (over Ethernet) protocol
    114       1.1  macallan #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    115       1.1  macallan #options 	PPP_DEFLATE	# Deflate compression support for PPP
    116       1.1  macallan #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    117       1.1  macallan #options 	IPFILTER_LOG	# ipmon(8) log support
    118       1.1  macallan #options 	IPFILTER_LOOKUP	# ippool(8) support
    119       1.1  macallan 
    120       1.1  macallan # Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
    121       1.1  macallan #options 	TCP_COMPAT_42
    122       1.1  macallan 
    123       1.1  macallan # JIT compiler for bpfilter
    124       1.1  macallan #options	SLJIT
    125       1.1  macallan #options	BPFJIT
    126       1.1  macallan 
    127       1.1  macallan # These options enable verbose messages for several subsystems.
    128       1.1  macallan # Warning, these may compile large string tables into the kernel!
    129       1.1  macallan options 	MIIVERBOSE	# verbose PHY autoconfig messages
    130       1.1  macallan 
    131       1.1  macallan options 	NFS_BOOT_BOOTP
    132       1.8  macallan options 	NFS_BOOT_DHCP
    133       1.1  macallan #options 	NFS_V2_ONLY
    134       1.1  macallan 
    135       1.8  macallan config		netbsd	root on sd0a type ffs
    136       1.8  macallan #config		netbsd	root on axe0 type nfs
    137      1.14  macallan #config		netbsd	root on dme0 type nfs
    138       1.1  macallan 
    139       1.1  macallan mainbus0 	at root
    140      1.12  macallan #options 	MULTIPROCESSOR
    141      1.14  macallan 
    142      1.21  macallan cpu* 		at mainbus?
    143       1.1  macallan #wdog0		at mainbus?
    144       1.4  macallan apbus0		at mainbus?
    145       1.3  macallan 
    146      1.14  macallan # On-chip UARTs
    147      1.14  macallan com*		at apbus?
    148      1.14  macallan 
    149      1.19  macallan # EFUSE
    150      1.19  macallan efuse* 		at apbus?
    151      1.19  macallan 
    152      1.14  macallan # On-chip USB
    153      1.11  macallan dwctwo* 	at apbus?
    154       1.7  macallan #options 	DWC2_DEBUG
    155       1.5  macallan usb* 		at dwctwo?
    156       1.9  macallan 
    157      1.11  macallan ohci*		at apbus?
    158       1.9  macallan usb* 		at ohci?
    159       1.9  macallan 
    160      1.14  macallan # this one doesn't work right just yet
    161      1.19  macallan ehci*		at apbus?
    162      1.14  macallan #options 	INGENIC_EHCI_DEBUG
    163      1.14  macallan #options 	EHCI_DEBUG
    164      1.14  macallan #options 	USBVERBOSE
    165      1.19  macallan #options 	USBHIST
    166      1.19  macallan usb* 		at ehci?
    167       1.9  macallan 
    168      1.10  macallan # onboard ethernet
    169      1.11  macallan dme*		at apbus?
    170      1.10  macallan 
    171      1.12  macallan # I2C/SMBus
    172      1.12  macallan jziic* 		at apbus?
    173      1.12  macallan #options 	JZIIC_DEBUG	# spammy
    174      1.12  macallan iic* 		at jziic?
    175      1.12  macallan 
    176      1.12  macallan # voltage control and the like, no driver yet
    177      1.12  macallan #act8600pm0 	at iic0 addr 0x5a
    178      1.12  macallan 
    179      1.12  macallan # XXX
    180      1.12  macallan # the manual says there's a Pericom RTC at SMB4 addr 0x68
    181      1.12  macallan # on my preproduction CI20 that's not the case, instead there's something that
    182      1.12  macallan # looks like a PCF8563 at addr 0x51
    183      1.12  macallan  
    184      1.12  macallan # the Pericom PT7C4337 seems to be a DS1339 clone
    185      1.12  macallan #dsrtc0 	at iic4 addr 0x68 flags 1339
    186      1.12  macallan 
    187      1.12  macallan # at least some CI20 have this instead
    188      1.12  macallan pcf8563rtc0	at iic4 addr 0x51
    189      1.12  macallan 
    190       1.3  macallan #jzgpio* 	at apbus? addr ?
    191       1.3  macallan #gpio*		at jzgpio?
    192       1.1  macallan 
    193      1.14  macallan # MSC / SDMMC - unfinished
    194      1.14  macallan #jzmmc* 		at apbus?
    195      1.14  macallan #options 	JZMMC_DEBUG
    196      1.14  macallan #sdmmc* 		at jzmmc?
    197      1.14  macallan #ld* 		at sdmmc?
    198      1.14  macallan 
    199      1.10  macallan # USB stuff
    200      1.10  macallan uhub*		at usb?
    201      1.10  macallan uhub*		at uhub? port ?
    202      1.10  macallan 
    203       1.7  macallan # USB HID device
    204       1.7  macallan uhidev*	at uhub? port ? configuration ? interface ?
    205       1.7  macallan 
    206       1.7  macallan # USB Mice
    207       1.7  macallan ums*		at uhidev? reportid ?
    208       1.7  macallan wsmouse*	at ums? mux 0
    209       1.7  macallan 
    210       1.7  macallan # USB Keyboards
    211       1.7  macallan ukbd*	at uhidev? reportid ?
    212       1.7  macallan wskbd*	at ukbd? console ? mux 1
    213       1.7  macallan 
    214       1.7  macallan # USB Generic HID devices
    215       1.7  macallan uhid*	at uhidev? reportid ?
    216       1.7  macallan 
    217       1.7  macallan # USB Mass Storage
    218       1.7  macallan umass*	at uhub? port ? configuration ? interface ?
    219       1.7  macallan scsibus*	at umass? channel ?
    220       1.7  macallan sd*		at scsibus? target ? lun ?	# SCSI disk drives
    221       1.7  macallan cd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
    222       1.7  macallan 
    223       1.7  macallan # Ethernet
    224      1.19  macallan #axe*	at uhub? port ?
    225      1.19  macallan #urtwn*	at uhub? port ?
    226       1.1  macallan 
    227      1.15  macallan # Random number generator
    228      1.15  macallan jzrng0	at apbus0
    229      1.15  macallan 
    230       1.1  macallan # MII/PHY support
    231       1.1  macallan #acphy*		at mii? phy ?		# DAltima AC101 and AMD Am79c874 PHYs
    232       1.1  macallan #amhphy* 	at mii? phy ?		# AMD 79c901 Ethernet PHYs
    233       1.1  macallan #dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
    234       1.1  macallan #glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
    235       1.1  macallan #gphyter*	at mii? phy ?		# NS83861 Gig-E PHY
    236       1.1  macallan #icsphy* 	at mii? phy ?		# Integrated Circuit Systems ICS1890
    237       1.1  macallan #lxtphy* 	at mii? phy ?		# Level One LXT-970 PHYs
    238       1.1  macallan #makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
    239       1.1  macallan #nsphy*		at mii? phy ?		# NS83840 PHYs
    240       1.1  macallan #nsphyter*	at mii? phy ?		# NS83843 PHYs
    241       1.1  macallan #pnaphy* 	at mii? phy ?		# generic HomePNA PHYs
    242       1.1  macallan #qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
    243       1.1  macallan #sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
    244       1.1  macallan #tlphy*		at mii? phy ?		# ThunderLAN PHYs
    245       1.1  macallan #tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
    246       1.1  macallan #rlphy*		at mii? phy ?		# RealTek PHYs
    247      1.20  macallan #ukphy*		at mii? phy ?		# generic unknown PHYs
    248       1.1  macallan 
    249       1.1  macallan 
    250       1.1  macallan # Pseudo-devices
    251       1.1  macallan 
    252       1.1  macallan # Disk/mass storage pseudo-devices
    253       1.1  macallan #pseudo-device	ccd				# concatenated disk devices
    254       1.1  macallan #pseudo-device	raid				# RAIDframe disk driver
    255       1.1  macallan #pseudo-device	fss				# file system snapshot device
    256       1.1  macallan #pseudo-device	md				# memory disk device (ramdisk)
    257       1.1  macallan #pseudo-device	vnd				# disk-like interface to files
    258       1.1  macallan 
    259       1.1  macallan # Network pseudo-devices
    260       1.1  macallan pseudo-device	bpfilter			# Berkeley packet filter
    261       1.1  macallan #pseudo-device	ipfilter			# IP filter (firewall) and NAT
    262       1.1  macallan pseudo-device	loop				# network loopback
    263       1.1  macallan #pseudo-device	ppp				# Point-to-Point Protocol
    264       1.1  macallan #pseudo-device	sl				# Serial Line IP
    265       1.1  macallan #pseudo-device	strip				# Starmode Radio IP (Metricom)
    266       1.1  macallan #pseudo-device	tun				# network tunneling over tty
    267       1.1  macallan #pseudo-device	tap				# virtual Ethernet
    268       1.1  macallan #pseudo-device	gre				# generic L3 over IP tunnel
    269       1.1  macallan #pseudo-device	ipip				# RFC 2003 IP Encapsulation
    270       1.1  macallan #pseudo-device	gif				# RFC1933 tunnel
    271       1.1  macallan #pseudo-device	faith				# IPv[46] tcp relay translation
    272       1.1  macallan #pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
    273       1.1  macallan #pseudo-device	vlan				# IEEE 802.1q encapsulation
    274       1.1  macallan #pseudo-device	bridge				# simple inter-network bridging
    275       1.1  macallan 
    276       1.1  macallan # Miscellaneous pseudo-devices
    277       1.1  macallan pseudo-device	pty				# pseudo-terminals
    278       1.1  macallan pseudo-device	clockctl			# user control of clock subsystem
    279       1.1  macallan pseudo-device	ksyms				# /dev/ksyms
    280       1.1  macallan 
    281       1.1  macallan # A pseudo device needed for Coda		# also needs CODA (above)
    282       1.1  macallan #pseudo-device	vcoda				# coda minicache <-> venus comm.
    283      1.13    martin 
    284      1.13    martin 
    285      1.13    martin cinclude 	"arch/evbmips/conf/CI20.local"
    286      1.13    martin 
    287