Home | History | Annotate | Line # | Download | only in conf
NETWALKER revision 1.17
      1 #	$NetBSD: NETWALKER,v 1.17 2012/10/17 14:48:10 apb Exp $
      2 #
      3 #	NETWALKER -- http://www.sharp.co.jp/netwalker/
      4 #
      5 
      6 include	"arch/evbarm/conf/std.netwalker"
      7 
      8 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      9 
     10 # estimated number of users
     11 
     12 maxusers	32
     13 
     14 # Standard system options
     15 
     16 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     17 #options 	NTP		# NTP phase/frequency locked loop
     18 
     19 # CPU options
     20 options 	CPU_CORTEXA8	# Support the ARM-v7a core
     21 options 	IMX51
     22 options 	PMAPCOUNTERS
     23 
     24 # Architecture options
     25 
     26 options        IMX51_IPGCLK_FREQ=50000000   # XXX This value is not correct.
     27 
     28 # File systems
     29 
     30 file-system	FFS		# UFS
     31 #file-system	LFS		# log-structured file system
     32 file-system	MFS		# memory file system
     33 file-system	NFS		# Network file system
     34 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     35 file-system 	EXT2FS		# second extended file system (linux)
     36 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     37 file-system	MSDOSFS		# MS-DOS file system
     38 file-system	FDESC		# /dev/fd
     39 file-system	KERNFS		# /kern
     40 file-system	NULLFS		# loopback file system
     41 file-system	PROCFS		# /proc
     42 #file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     43 file-system	TMPFS		# memory file system
     44 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     45 #file-system	UNION		# union file system
     46 file-system	PTYFS		# /dev/pts/N support
     47 
     48 # File system options
     49 #options 	QUOTA		# legacy UFS quotas
     50 #options 	QUOTA2		# new, in-filesystem UFS quotas
     51 #options 	FFS_EI		# FFS Endian Independent support
     52 #options 	NFSSERVER
     53 options 	WAPBL		# File system journaling support
     54 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     55 
     56 # Networking options
     57 
     58 #options 	GATEWAY		# packet forwarding
     59 options 	INET		# IP + ICMP + TCP + UDP
     60 options 	INET6		# IPV6
     61 #options 	IPSEC		# IP security
     62 #options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
     63 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
     64 #options 	IPSEC_DEBUG	# debug for IP security
     65 #options 	MROUTING	# IP multicast routing
     66 #options 	PIM		# Protocol Independent Multicast
     67 #options 	ISO,TPIP	# OSI
     68 #options 	EON		# OSI tunneling over IP
     69 #options 	NETATALK	# AppleTalk networking
     70 #options 	PFIL_HOOKS	# pfil(9) packet filter hooks
     71 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     72 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     73 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     74 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     75 
     76 #options 	NFS_BOOT_BOOTP
     77 #options 	NFS_BOOT_DHCP
     78 #options 	NFS_BOOT_BOOTPARAM
     79 #options	DEBUG_NFS_BOOT_DHCP
     80 
     81 # Compatibility options
     82 
     83 #options 	COMPAT_43	# 4.3BSD compatibility.
     84 options 	COMPAT_60	# NetBSD 6.0 compatibility.
     85 options 	COMPAT_50	# NetBSD 5.0 compatibility.
     86 options 	COMPAT_40	# NetBSD 4.0 compatibility.
     87 #options 	COMPAT_30	# NetBSD 3.0 compatibility.
     88 #options 	COMPAT_20	# NetBSD 2.0 compatibility.
     89 #options 	COMPAT_16	# NetBSD 1.6 compatibility.
     90 #options 	COMPAT_15	# NetBSD 1.5 compatibility.
     91 #options 	COMPAT_14	# NetBSD 1.4 compatibility.
     92 #options 	COMPAT_13	# NetBSD 1.3 compatibility.
     93 #options 	COMPAT_12	# NetBSD 1.2 compatibility.
     94 #options 	COMPAT_11	# NetBSD 1.1 compatibility.
     95 #options 	COMPAT_10	# NetBSD 1.0 compatibility.
     96 #options 	COMPAT_09	# NetBSD 0.9 compatibility.
     97 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     98 
     99 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
    100 #options 	COMPAT_LINUX	# binary compatibility with Linux
    101 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    102 
    103 # Shared memory options
    104 
    105 options 	SYSVMSG		# System V-like message queues
    106 options 	SYSVSEM		# System V-like semaphores
    107 options 	SYSVSHM		# System V-like memory sharing
    108 
    109 # Device options
    110 
    111 # Console options.    also need IMXUARTCONSOLE
    112 options 	CONSDEVNAME="\"imxuart\"",CONADDR=0x73fbc000
    113 options 	CONSPEED=115200	# Console speed
    114 
    115 # kgdb
    116 #options	KGDB
    117 #options 	KGDB_DEVNAME="\"imxuart\""
    118 #options 	KGDB_DEVADDR=0x73fbc000
    119 #options 	KGDB_DEVRATE=115200
    120 
    121 # Miscellaneous kernel options
    122 options 	KTRACE		# system call tracing, a la ktrace(1)
    123 options 	IRQSTATS	# manage IRQ statistics
    124 #options 	KMEMSTATS	# kernel memory statistics
    125 options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    126 options 	USBVERBOSE	# verbose USB device autoconfig messages
    127 #options 	SCSIVERBOSE	# Verbose SCSI errors
    128 options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    129 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    130 #options 	DDB_KEYCODE=0x40
    131 options 	USERCONF	# userconf(4) support
    132 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    133 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    134 options 	NO_POWERSAVE	# uncomment this to run under ICE
    135 
    136 # Development and Debugging options
    137 #options 	PERFCTRS	# performance counters
    138 options 	DIAGNOSTIC	# internally consistency checks
    139 #options 	DEBUG
    140 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
    141 options 	DDB		# in-kernel debugger
    142 options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
    143 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    144 options 	DDB_VERBOSE_HELP
    145 #options 	LOCKDEBUG
    146 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    147 #options 	IPKDB		# remote kernel debugging
    148 options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    149 makeoptions	DEBUG="-g"	# compile full symbol table
    150 #makeoptions	COPTS="-O2"
    151 #options 	SYSCALL_STATS	# per syscall counts
    152 #options 	SYSCALL_TIMES 	# per syscall times
    153 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
    154 #options 	SCSIPI_DEBUG
    155 #options	SCSIPI_DEBUG_TYPE=SCSIPI_BUSTYPE_SCSI
    156 #options	SCSIPI_DEBUG_TARGET=0
    157 #options	SCSIPI_DEBUG_LUN=0
    158 
    159 # Kernel root file system and dump configuration.
    160 config		netbsd		root on ? type ?
    161 
    162 # The main bus device
    163 mainbus0	at root
    164 
    165 # The boot cpu
    166 cpu0		at mainbus?
    167 
    168 # Devices
    169 # On-chip
    170 # On-chip bus
    171 axi0		at mainbus?
    172 
    173 # Interrupt Cotroller
    174 tzic0		at axi? addr 0xe0000000 size 0x4000 irqbase 0
    175 
    176 # Serial
    177 imxuart0	at axi? addr 0x73fbc000 irq 31		# UART1
    178 #imxuart1	at axi? addr 0x73fc0000 irq 32
    179 #imxuart2	at axi? addr 0x7000c000 irq 33
    180 options		IMXUARTCONSOLE
    181 
    182 # Clock Control
    183 imxccm0		at axi? addr 0x73fd4000
    184 options		IMX51_CKIL_FREQ=32768
    185 
    186 # Enhanced Periodic Interrupt Timer
    187 imxclock0	at axi? addr 0x73fac000 size 0x4000 irq 40
    188 imxclock1	at axi? addr 0x73fb0000 size 0x4000 irq 41
    189 
    190 # IOMUX
    191 imxiomux0	at axi? addr 0x73fa8000
    192 
    193 # GPIO
    194 imxgpio0	at axi? addr 0x73f84000
    195 imxgpio1	at axi? addr 0x73f88000
    196 imxgpio2	at axi? addr 0x73f8c000
    197 imxgpio3	at axi? addr 0x73f90000
    198 
    199 # SD/MMC
    200 sdhc0    	at axi? addr 0x70004000 irq 1	     # eSDHC1
    201 #sdhc1   	at axi? addr 0x70008000 irq 2	     # eSDHC2
    202 sdmmc*		at sdhc?
    203 ld*		at sdmmc?			# MMC/SD card
    204 #options 	SDHC_DEBUG
    205 #options 	SDMMC_DEBUG
    206 
    207 # USB
    208 imxusbc0  at axi?  addr 0x73f80000
    209 ehci0	  at imxusbc0	unit 0	irq 18 # OTG
    210 ehci1	  at imxusbc0	unit 1	irq 14 # Host1
    211 #ehci2	  at imxusbc0	unit 2	irq 16 # Host2
    212 #ehci3	  at imxusbc0	unit 3	irq 17 # Host3
    213 
    214 usb*		at ehci?
    215 uhub*		at usb?
    216 uhub*		at uhub? port ?
    217 ugen*		at uhub? port ?
    218 
    219 # USB HID device
    220 uhidev* at uhub? port ? configuration ? interface ?
    221 
    222 # USB Mice
    223 ums*	at uhidev? reportid ?
    224 wsmouse* at ums? mux 0
    225 
    226 # USB Keyboards
    227 ukbd*	at uhidev? reportid ?
    228 wskbd*	at ukbd? console ? mux 1
    229 
    230 # USB Mass Storage
    231 umass*	at uhub? port ? configuration ? interface ?
    232 wd*	at umass?
    233 
    234 # Serial adapters
    235 ubsa*	at uhub? port ?		# Belkin serial adapter
    236 ucom*	at ubsa? portno ?
    237 
    238 uchcom* at uhub? port ? 	# WinChipHead CH341/CH340 serial adapter
    239 ucom*	at uchcom? portno ?
    240 
    241 uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
    242 ucom*	at uftdi? portno ?
    243 
    244 umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
    245 ucom*	at umct? portno ?
    246 
    247 uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
    248 ucom*	at uplcom? portno ?
    249 
    250 uslsa*	at uhub? port ?		# Silicon Labs USB-RS232 serial adapter
    251 ucom*	at uslsa? portno ?
    252 
    253 uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
    254 ucom*	at uvscom? portno ?
    255 
    256 # USB generic serial port (e.g., data over cellular)
    257 ugensa* at uhub? port ?
    258 ucom*	at ugensa?
    259 
    260 # IPUv3 LCD Controller
    261 ipu0		at axi?
    262 wsdisplay0	at wsemuldisplaydev? console ?
    263 wsdisplay*	at wsemuldisplaydev?
    264 #options	IPUV3_DEBUG=1
    265 #options	LCD_DEBUG
    266 options 	IMXIPUCONSOLE
    267 
    268 # various options for wscons - we try to look as much like a standard
    269 # sun console as possible
    270 options 	WSEMUL_VT100		# sun terminal emulation
    271 options 	WS_DEFAULT_FG=WSCOL_WHITE
    272 options 	WS_DEFAULT_BG=WSCOL_BLACK
    273 options		WS_KERNEL_FG=WSCOL_GREEN
    274 options		WS_KERNEL_BG=WSCOL_BLACK
    275 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    276 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    277 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    278 options 	WSDISPLAY_DEFAULTSCREENS=4
    279 
    280 # SCSI bus support
    281 scsibus* at scsi?
    282 
    283 # SCSI devices
    284 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    285 
    286 # Pseudo-Devices
    287 
    288 pseudo-device	crypto			# /dev/crypto device
    289 pseudo-device	swcrypto		# software crypto implementation
    290 
    291 # disk/mass storage pseudo-devices
    292 #pseudo-device	md			# memory disk device (ramdisk)
    293 #pseudo-device	vnd			# disk-like interface to files
    294 #pseudo-device	fss			# file system snapshot device
    295 #pseudo-device	putter			# for puffs and pud
    296 
    297 # network pseudo-devices
    298 #pseudo-device	bpfilter		# Berkeley packet filter
    299 #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    300 pseudo-device	loop			# network loopback
    301 pseudo-device	ppp			# Point-to-Point Protocol
    302 
    303 # miscellaneous pseudo-devices
    304 pseudo-device	pty			# pseudo-terminals
    305 pseudo-device	ksyms			# /dev/ksyms
    306 pseudo-device	clockctl		# NTP clockctl
    307 
    308 # wscons pseudo-devices
    309 pseudo-device	wsmux			# mouse & keyboard multiplexor
    310 pseudo-device	wsfont
    311