Home | History | Annotate | Line # | Download | only in conf
NETWALKER revision 1.23
      1 #	$NetBSD: NETWALKER,v 1.23 2014/03/07 12:35:14 hkenken 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 # File systems
     27 
     28 file-system	FFS		# UFS
     29 #file-system	LFS		# log-structured file system
     30 file-system	MFS		# memory file system
     31 file-system	NFS		# Network file system
     32 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     33 file-system 	EXT2FS		# second extended file system (linux)
     34 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     35 file-system	MSDOSFS		# MS-DOS file system
     36 file-system	FDESC		# /dev/fd
     37 file-system	KERNFS		# /kern
     38 file-system	NULLFS		# loopback file system
     39 file-system	PROCFS		# /proc
     40 #file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     41 file-system	TMPFS		# memory file system
     42 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     43 #file-system	UNION		# union file system
     44 file-system	PTYFS		# /dev/pts/N support
     45 
     46 # File system options
     47 #options 	QUOTA		# legacy UFS quotas
     48 #options 	QUOTA2		# new, in-filesystem UFS quotas
     49 #options 	FFS_EI		# FFS Endian Independent support
     50 #options 	NFSSERVER
     51 options 	WAPBL		# File system journaling support
     52 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     53 
     54 # Networking options
     55 
     56 #options 	GATEWAY		# packet forwarding
     57 options 	INET		# IP + ICMP + TCP + UDP
     58 options 	INET6		# IPV6
     59 #options 	IPSEC		# IP security
     60 #options 	IPSEC_DEBUG	# debug for IP security
     61 #options 	MROUTING	# IP multicast routing
     62 #options 	PIM		# Protocol Independent Multicast
     63 #options 	NETATALK	# AppleTalk networking
     64 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     65 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     66 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     67 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     68 
     69 #options 	NFS_BOOT_BOOTP
     70 #options 	NFS_BOOT_DHCP
     71 #options 	NFS_BOOT_BOOTPARAM
     72 #options	DEBUG_NFS_BOOT_DHCP
     73 
     74 # Compatibility options
     75 
     76 #options 	COMPAT_43	# 4.3BSD compatibility.
     77 options 	COMPAT_60	# NetBSD 6.0 compatibility.
     78 #options 	COMPAT_50	# NetBSD 5.0 compatibility.
     79 #options 	COMPAT_40	# NetBSD 4.0 compatibility.
     80 #options 	COMPAT_30	# NetBSD 3.0 compatibility.
     81 #options 	COMPAT_20	# NetBSD 2.0 compatibility.
     82 #options 	COMPAT_16	# NetBSD 1.6 compatibility.
     83 #options 	COMPAT_15	# NetBSD 1.5 compatibility.
     84 #options 	COMPAT_14	# NetBSD 1.4 compatibility.
     85 #options 	COMPAT_13	# NetBSD 1.3 compatibility.
     86 #options 	COMPAT_12	# NetBSD 1.2 compatibility.
     87 #options 	COMPAT_11	# NetBSD 1.1 compatibility.
     88 #options 	COMPAT_10	# NetBSD 1.0 compatibility.
     89 #options 	COMPAT_09	# NetBSD 0.9 compatibility.
     90 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     91 
     92 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
     93 #options 	COMPAT_LINUX	# binary compatibility with Linux
     94 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     95 
     96 # Shared memory options
     97 
     98 options 	SYSVMSG		# System V-like message queues
     99 options 	SYSVSEM		# System V-like semaphores
    100 options 	SYSVSHM		# System V-like memory sharing
    101 
    102 # Device options
    103 
    104 # Console options.    also need IMXUARTCONSOLE
    105 options 	CONSDEVNAME="\"imxuart\"",CONADDR=0x73fbc000
    106 options 	CONSPEED=115200	# Console speed
    107 
    108 # kgdb
    109 #options	KGDB
    110 #options 	KGDB_DEVNAME="\"imxuart\""
    111 #options 	KGDB_DEVADDR=0x73fbc000
    112 #options 	KGDB_DEVRATE=115200
    113 
    114 # Miscellaneous kernel options
    115 options 	KTRACE		# system call tracing, a la ktrace(1)
    116 options 	IRQSTATS	# manage IRQ statistics
    117 #options 	KMEMSTATS	# kernel memory statistics
    118 options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    119 options 	USBVERBOSE	# verbose USB device autoconfig messages
    120 #options 	SCSIVERBOSE	# Verbose SCSI errors
    121 options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    122 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    123 #options 	DDB_KEYCODE=0x40
    124 options 	USERCONF	# userconf(4) support
    125 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    126 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    127 options 	NO_POWERSAVE	# uncomment this to run under ICE
    128 
    129 # Development and Debugging options
    130 #options 	PERFCTRS	# performance counters
    131 options 	DIAGNOSTIC	# internally consistency checks
    132 #options 	DEBUG
    133 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
    134 options 	DDB		# in-kernel debugger
    135 options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
    136 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    137 options 	DDB_VERBOSE_HELP
    138 #options 	LOCKDEBUG
    139 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    140 #options 	IPKDB		# remote kernel debugging
    141 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    142 makeoptions	DEBUG="-g"	# compile full symbol table
    143 #makeoptions	COPTS="-O2"
    144 #options 	SYSCALL_STATS	# per syscall counts
    145 #options 	SYSCALL_TIMES 	# per syscall times
    146 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
    147 #options 	SCSIPI_DEBUG
    148 #options	SCSIPI_DEBUG_TYPE=SCSIPI_BUSTYPE_SCSI
    149 #options	SCSIPI_DEBUG_TARGET=0
    150 #options	SCSIPI_DEBUG_LUN=0
    151 
    152 # Kernel root file system and dump configuration.
    153 config		netbsd		root on ? type ?
    154 
    155 # The main bus device
    156 mainbus0	at root
    157 
    158 # The boot cpu
    159 cpu0		at mainbus?
    160 
    161 # Devices
    162 # On-chip
    163 # On-chip bus
    164 axi0		at mainbus?
    165 
    166 # Interrupt Cotroller
    167 tzic0		at axi? addr 0xe0000000 size 0x4000 irqbase 0
    168 
    169 # Serial
    170 imxuart0	at axi? addr 0x73fbc000 irq 31		# UART1
    171 #imxuart1	at axi? addr 0x73fc0000 irq 32
    172 #imxuart2	at axi? addr 0x7000c000 irq 33
    173 #options	IMXUARTCONSOLE
    174 
    175 # Clock Control
    176 imxccm0		at axi? addr 0x73fd4000
    177 options		IMX51_CKIL_FREQ=32768
    178 
    179 # Enhanced Periodic Interrupt Timer
    180 imxclock0	at axi? addr 0x73fac000 size 0x4000 irq 40
    181 imxclock1	at axi? addr 0x73fb0000 size 0x4000 irq 41
    182 
    183 # IOMUX
    184 imxiomux0	at axi? addr 0x73fa8000
    185 
    186 # GPIO
    187 imxgpio0	at axi? addr 0x73f84000
    188 imxgpio1	at axi? addr 0x73f88000
    189 imxgpio2	at axi? addr 0x73f8c000
    190 imxgpio3	at axi? addr 0x73f90000
    191 
    192 # SD/MMC
    193 sdhc0    	at axi? addr 0x70004000 irq 1	     # eSDHC1
    194 #sdhc1   	at axi? addr 0x70008000 irq 2	     # eSDHC2
    195 sdmmc*		at sdhc?
    196 ld*		at sdmmc?			# MMC/SD card
    197 #options 	SDHC_DEBUG
    198 #options 	SDMMC_DEBUG
    199 
    200 # USB
    201 imxusbc0  at axi?  addr 0x73f80000
    202 ehci0	  at imxusbc0	unit 0	irq 18 # OTG
    203 ehci1	  at imxusbc0	unit 1	irq 14 # Host1
    204 #ehci2	  at imxusbc0	unit 2	irq 16 # Host2
    205 #ehci3	  at imxusbc0	unit 3	irq 17 # Host3
    206 
    207 usb*		at ehci?
    208 
    209 # USB device drivers
    210 include "dev/usb/usbdevices.config"
    211 
    212 ukphy*		at mii? phy ?
    213 
    214 # IPUv3 LCD Controller
    215 ipu0		at axi?
    216 wsdisplay0	at wsemuldisplaydev? console ?
    217 wsdisplay*	at wsemuldisplaydev?
    218 #options	IPUV3_DEBUG=1
    219 #options	LCD_DEBUG
    220 options 	IMXIPUCONSOLE
    221 
    222 # various options for wscons - we try to look as much like a standard
    223 # sun console as possible
    224 options 	WSEMUL_VT100		# sun terminal emulation
    225 options 	WS_DEFAULT_FG=WSCOL_WHITE
    226 options 	WS_DEFAULT_BG=WSCOL_BLACK
    227 options		WS_KERNEL_FG=WSCOL_GREEN
    228 options		WS_KERNEL_BG=WSCOL_BLACK
    229 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    230 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    231 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    232 options 	WSDISPLAY_DEFAULTSCREENS=4
    233 
    234 # Pseudo-Devices
    235 
    236 pseudo-device	crypto			# /dev/crypto device
    237 pseudo-device	swcrypto		# software crypto implementation
    238 
    239 # disk/mass storage pseudo-devices
    240 #pseudo-device	md			# memory disk device (ramdisk)
    241 #pseudo-device	vnd			# disk-like interface to files
    242 #pseudo-device	fss			# file system snapshot device
    243 #pseudo-device	putter			# for puffs and pud
    244 
    245 # network pseudo-devices
    246 pseudo-device	bpfilter		# Berkeley packet filter
    247 #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    248 pseudo-device	loop			# network loopback
    249 #pseudo-device	ppp			# Point-to-Point Protocol
    250 
    251 # miscellaneous pseudo-devices
    252 pseudo-device	pty			# pseudo-terminals
    253 pseudo-device	ksyms			# /dev/ksyms
    254 pseudo-device	clockctl		# NTP clockctl
    255 
    256 # wscons pseudo-devices
    257 pseudo-device	wsmux			# mouse & keyboard multiplexor
    258 pseudo-device	wsfont
    259 
    260 # local configuration
    261 cinclude "arch/evbarm/conf/NETWALKER.local"
    262