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