Home | History | Annotate | Line # | Download | only in conf
NETWALKER revision 1.27
      1  1.27   hkenken #	$NetBSD: NETWALKER,v 1.27 2014/05/06 11:22:53 hkenken Exp $
      2   1.1       bsh #
      3   1.9       bsh #	NETWALKER -- http://www.sharp.co.jp/netwalker/
      4   1.1       bsh #
      5   1.1       bsh 
      6   1.1       bsh include	"arch/evbarm/conf/std.netwalker"
      7   1.1       bsh 
      8   1.1       bsh #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      9   1.1       bsh 
     10   1.1       bsh # estimated number of users
     11   1.1       bsh 
     12   1.1       bsh maxusers	32
     13   1.1       bsh 
     14   1.1       bsh # Standard system options
     15   1.1       bsh 
     16   1.1       bsh options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     17   1.1       bsh #options 	NTP		# NTP phase/frequency locked loop
     18   1.1       bsh 
     19   1.1       bsh # CPU options
     20   1.9       bsh options 	CPU_CORTEXA8	# Support the ARM-v7a core
     21   1.1       bsh options 	IMX51
     22   1.1       bsh options 	PMAPCOUNTERS
     23   1.1       bsh 
     24   1.1       bsh # Architecture options
     25   1.1       bsh 
     26   1.1       bsh # File systems
     27   1.1       bsh 
     28   1.1       bsh file-system	FFS		# UFS
     29   1.1       bsh #file-system	LFS		# log-structured file system
     30   1.1       bsh file-system	MFS		# memory file system
     31   1.1       bsh file-system	NFS		# Network file system
     32   1.1       bsh #file-system 	ADOSFS		# AmigaDOS-compatible file system
     33   1.1       bsh file-system 	EXT2FS		# second extended file system (linux)
     34   1.1       bsh #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     35   1.1       bsh file-system	MSDOSFS		# MS-DOS file system
     36   1.1       bsh file-system	FDESC		# /dev/fd
     37   1.1       bsh file-system	KERNFS		# /kern
     38   1.1       bsh file-system	NULLFS		# loopback file system
     39   1.1       bsh file-system	PROCFS		# /proc
     40  1.16   msaitoh #file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     41   1.1       bsh file-system	TMPFS		# memory file system
     42   1.1       bsh #file-system	UMAPFS		# NULLFS + uid and gid remapping
     43   1.1       bsh #file-system	UNION		# union file system
     44   1.1       bsh file-system	PTYFS		# /dev/pts/N support
     45   1.1       bsh 
     46   1.1       bsh # File system options
     47   1.4    bouyer #options 	QUOTA		# legacy UFS quotas
     48   1.4    bouyer #options 	QUOTA2		# new, in-filesystem UFS quotas
     49   1.5       wiz #options 	FFS_EI		# FFS Endian Independent support
     50   1.1       bsh #options 	NFSSERVER
     51   1.7  dholland options 	WAPBL		# File system journaling support
     52   1.1       bsh #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     53   1.1       bsh 
     54   1.1       bsh # Networking options
     55   1.1       bsh 
     56   1.1       bsh #options 	GATEWAY		# packet forwarding
     57   1.1       bsh options 	INET		# IP + ICMP + TCP + UDP
     58   1.1       bsh options 	INET6		# IPV6
     59   1.1       bsh #options 	IPSEC		# IP security
     60   1.1       bsh #options 	IPSEC_DEBUG	# debug for IP security
     61   1.1       bsh #options 	MROUTING	# IP multicast routing
     62   1.1       bsh #options 	PIM		# Protocol Independent Multicast
     63   1.1       bsh #options 	NETATALK	# AppleTalk networking
     64   1.1       bsh #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     65   1.1       bsh #options 	PPP_DEFLATE	# Deflate compression support for PPP
     66   1.1       bsh #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     67   1.1       bsh #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     68   1.1       bsh 
     69   1.1       bsh #options 	NFS_BOOT_BOOTP
     70   1.1       bsh #options 	NFS_BOOT_DHCP
     71   1.1       bsh #options 	NFS_BOOT_BOOTPARAM
     72   1.1       bsh #options	DEBUG_NFS_BOOT_DHCP
     73   1.1       bsh 
     74   1.1       bsh # Compatibility options
     75   1.1       bsh 
     76   1.1       bsh #options 	COMPAT_43	# 4.3BSD compatibility.
     77  1.17       apb options 	COMPAT_60	# NetBSD 6.0 compatibility.
     78  1.23   hkenken #options 	COMPAT_50	# NetBSD 5.0 compatibility.
     79  1.23   hkenken #options 	COMPAT_40	# NetBSD 4.0 compatibility.
     80   1.1       bsh #options 	COMPAT_30	# NetBSD 3.0 compatibility.
     81   1.1       bsh #options 	COMPAT_20	# NetBSD 2.0 compatibility.
     82   1.1       bsh #options 	COMPAT_16	# NetBSD 1.6 compatibility.
     83   1.1       bsh #options 	COMPAT_15	# NetBSD 1.5 compatibility.
     84   1.1       bsh #options 	COMPAT_14	# NetBSD 1.4 compatibility.
     85   1.1       bsh #options 	COMPAT_13	# NetBSD 1.3 compatibility.
     86   1.1       bsh #options 	COMPAT_12	# NetBSD 1.2 compatibility.
     87   1.1       bsh #options 	COMPAT_11	# NetBSD 1.1 compatibility.
     88   1.1       bsh #options 	COMPAT_10	# NetBSD 1.0 compatibility.
     89   1.1       bsh #options 	COMPAT_09	# NetBSD 0.9 compatibility.
     90   1.1       bsh #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     91   1.1       bsh 
     92   1.1       bsh options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
     93   1.1       bsh #options 	COMPAT_LINUX	# binary compatibility with Linux
     94   1.1       bsh options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     95   1.1       bsh 
     96   1.1       bsh # Shared memory options
     97   1.1       bsh 
     98   1.1       bsh options 	SYSVMSG		# System V-like message queues
     99   1.1       bsh options 	SYSVSEM		# System V-like semaphores
    100   1.1       bsh options 	SYSVSHM		# System V-like memory sharing
    101   1.1       bsh 
    102   1.1       bsh # Device options
    103   1.1       bsh 
    104   1.1       bsh # Console options.    also need IMXUARTCONSOLE
    105   1.1       bsh options 	CONSDEVNAME="\"imxuart\"",CONADDR=0x73fbc000
    106   1.1       bsh options 	CONSPEED=115200	# Console speed
    107   1.1       bsh 
    108   1.1       bsh # kgdb
    109   1.1       bsh #options	KGDB
    110   1.1       bsh #options 	KGDB_DEVNAME="\"imxuart\""
    111   1.1       bsh #options 	KGDB_DEVADDR=0x73fbc000
    112   1.1       bsh #options 	KGDB_DEVRATE=115200
    113   1.1       bsh 
    114   1.1       bsh # Miscellaneous kernel options
    115   1.1       bsh options 	KTRACE		# system call tracing, a la ktrace(1)
    116   1.1       bsh options 	IRQSTATS	# manage IRQ statistics
    117   1.1       bsh #options 	KMEMSTATS	# kernel memory statistics
    118   1.1       bsh options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    119   1.1       bsh options 	USBVERBOSE	# verbose USB device autoconfig messages
    120   1.1       bsh #options 	SCSIVERBOSE	# Verbose SCSI errors
    121   1.1       bsh options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    122   1.1       bsh #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    123   1.1       bsh #options 	DDB_KEYCODE=0x40
    124   1.1       bsh options 	USERCONF	# userconf(4) support
    125   1.1       bsh #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    126   1.1       bsh #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    127   1.1       bsh options 	NO_POWERSAVE	# uncomment this to run under ICE
    128   1.1       bsh 
    129   1.1       bsh # Development and Debugging options
    130   1.1       bsh #options 	PERFCTRS	# performance counters
    131  1.25   hkenken #options 	DIAGNOSTIC	# internally consistency checks
    132   1.1       bsh #options 	DEBUG
    133   1.1       bsh #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
    134   1.1       bsh options 	DDB		# in-kernel debugger
    135  1.24  szptvlfn options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
    136   1.1       bsh options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    137   1.1       bsh options 	DDB_VERBOSE_HELP
    138   1.1       bsh #options 	LOCKDEBUG
    139   1.1       bsh #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    140   1.1       bsh #options 	IPKDB		# remote kernel debugging
    141  1.23   hkenken #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    142  1.15   msaitoh makeoptions	DEBUG="-g"	# compile full symbol table
    143  1.15   msaitoh #makeoptions	COPTS="-O2"
    144   1.1       bsh #options 	SYSCALL_STATS	# per syscall counts
    145   1.1       bsh #options 	SYSCALL_TIMES 	# per syscall times
    146   1.1       bsh #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
    147   1.1       bsh #options 	SCSIPI_DEBUG
    148   1.1       bsh #options	SCSIPI_DEBUG_TYPE=SCSIPI_BUSTYPE_SCSI
    149   1.1       bsh #options	SCSIPI_DEBUG_TARGET=0
    150   1.1       bsh #options	SCSIPI_DEBUG_LUN=0
    151   1.1       bsh 
    152  1.26   hkenken # Valid options for BOOT_ARGS:
    153  1.26   hkenken #  single		Boot to single user only
    154  1.26   hkenken #  kdb			Give control to kernel debugger
    155  1.26   hkenken #  ask			Ask for file name to reboot from
    156  1.26   hkenken #  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
    157  1.26   hkenken #  memorydisk=<n>	Set memorydisk size to <n> KB
    158  1.26   hkenken #  quiet		Show aprint_naive output
    159  1.26   hkenken #  verbose		Show aprint_normal and aprint_verbose output
    160  1.26   hkenken #options		BOOT_ARGS="\"verbose\""
    161  1.26   hkenken #options		BOOT_ARGS="\"pmapdebug=1\""
    162  1.26   hkenken 
    163   1.1       bsh # Kernel root file system and dump configuration.
    164   1.1       bsh config		netbsd		root on ? type ?
    165  1.25   hkenken config		netbsd-ld0	root on ld0 type ffs
    166   1.1       bsh 
    167   1.1       bsh # The main bus device
    168   1.1       bsh mainbus0	at root
    169   1.1       bsh 
    170   1.1       bsh # The boot cpu
    171   1.1       bsh cpu0		at mainbus?
    172   1.1       bsh 
    173   1.1       bsh # Devices
    174   1.1       bsh # On-chip
    175   1.1       bsh # On-chip bus
    176   1.1       bsh axi0		at mainbus?
    177   1.1       bsh 
    178   1.1       bsh # Interrupt Cotroller
    179   1.1       bsh tzic0		at axi? addr 0xe0000000 size 0x4000 irqbase 0
    180   1.1       bsh 
    181   1.1       bsh # Serial
    182   1.1       bsh imxuart0	at axi? addr 0x73fbc000 irq 31		# UART1
    183   1.1       bsh #imxuart1	at axi? addr 0x73fc0000 irq 32
    184   1.1       bsh #imxuart2	at axi? addr 0x7000c000 irq 33
    185  1.22   hkenken #options	IMXUARTCONSOLE
    186   1.1       bsh 
    187  1.10       bsh # Clock Control
    188  1.10       bsh imxccm0		at axi? addr 0x73fd4000
    189  1.10       bsh options		IMX51_CKIL_FREQ=32768
    190  1.25   hkenken #options	IMXCCMDEBUG
    191  1.10       bsh 
    192   1.1       bsh # Enhanced Periodic Interrupt Timer
    193   1.1       bsh imxclock0	at axi? addr 0x73fac000 size 0x4000 irq 40
    194   1.1       bsh imxclock1	at axi? addr 0x73fb0000 size 0x4000 irq 41
    195   1.1       bsh 
    196   1.3       bsh # IOMUX
    197   1.3       bsh imxiomux0	at axi? addr 0x73fa8000
    198   1.3       bsh 
    199  1.25   hkenken # WatchDog
    200  1.25   hkenken imxwdog0	at axi? addr 0x73f98000 irq 58 flags 0
    201  1.25   hkenken 
    202   1.3       bsh # GPIO
    203  1.25   hkenken imxgpio0	at axi? addr 0x73f84000 irqbase 128 irq 50
    204  1.25   hkenken imxgpio1	at axi? addr 0x73f88000 irqbase 160 irq 52
    205  1.25   hkenken imxgpio2	at axi? addr 0x73f8c000 irqbase 192 irq 54
    206  1.25   hkenken imxgpio3	at axi? addr 0x73f90000 irqbase 224 irq 56
    207  1.25   hkenken gpio*		at imxgpio?
    208  1.25   hkenken options		IMX_GPIO_INTR_SPLIT
    209  1.25   hkenken 
    210  1.25   hkenken # I2C
    211  1.25   hkenken #imxi2c0	at axi? addr 0x83fc8000 irq 62
    212  1.25   hkenken #imxi2c1	at axi? addr 0x83fc4000 irq 63
    213  1.25   hkenken 
    214  1.25   hkenken # IIC
    215  1.25   hkenken #iic*	   at imxi2c?
    216  1.25   hkenken 
    217  1.25   hkenken # SPI bus
    218  1.25   hkenken imxspi0		at axi? addr 0x70010000 irq 36 flags 1
    219  1.25   hkenken #imxspi1	at axi? addr 0x83fac000 irq 37 flags 1
    220  1.25   hkenken #imxspi2	at axi? addr 0x83fc0000 irq 38 flags 0
    221  1.25   hkenken spi0		at imxspi0 # eCSPI1
    222  1.25   hkenken #spi1		at imxspi1 # eCSPI2
    223  1.25   hkenken #spi2		at imxspi2 # CSPI1
    224  1.25   hkenken options		IMXSPINSLAVES=3
    225  1.25   hkenken #options	IMXSPI_DEBUG=10
    226  1.25   hkenken 
    227  1.25   hkenken # Optical Joystick
    228  1.25   hkenken oj6sh0		at spi0 slave 2
    229  1.25   hkenken #options	OJ6SH_DEBUG=4
    230  1.25   hkenken options		OJ6SH_UP_X_LEFT_Y
    231  1.25   hkenken wsmouse*	at oj6sh? mux 0
    232  1.26   hkenken 
    233  1.26   hkenken mousebtn0	at gpio1 offset 22 mask 0x03 # intr 182, 183
    234  1.26   hkenken #options	MOUSEBTN_POLLING
    235  1.25   hkenken wsmouse*	at mousebtn? mux 0
    236  1.25   hkenken 
    237  1.26   hkenken pwrbtn0		at gpio1 offset 21 mask 0x01 # intr 181
    238  1.26   hkenken lidsw0		at gpio3 offset 12 mask 0x01 # intr 236
    239  1.27   hkenken imxpwm0		at axi? addr 0x73FB4000 irq 61
    240  1.26   hkenken 
    241  1.25   hkenken # SPI NOR-Flash
    242  1.25   hkenken #spiflash0	at spiflashbus?
    243  1.25   hkenken #m25p0		at spi0 slave 1
    244   1.3       bsh 
    245  1.12       bsh # SD/MMC
    246  1.12       bsh sdhc0    	at axi? addr 0x70004000 irq 1	     # eSDHC1
    247  1.12       bsh #sdhc1   	at axi? addr 0x70008000 irq 2	     # eSDHC2
    248  1.12       bsh sdmmc*		at sdhc?
    249  1.12       bsh ld*		at sdmmc?			# MMC/SD card
    250  1.12       bsh #options 	SDHC_DEBUG
    251  1.12       bsh #options 	SDMMC_DEBUG
    252  1.12       bsh 
    253   1.3       bsh # USB
    254   1.3       bsh imxusbc0  at axi?  addr 0x73f80000
    255   1.3       bsh ehci0	  at imxusbc0	unit 0	irq 18 # OTG
    256   1.3       bsh ehci1	  at imxusbc0	unit 1	irq 14 # Host1
    257   1.3       bsh #ehci2	  at imxusbc0	unit 2	irq 16 # Host2
    258   1.3       bsh #ehci3	  at imxusbc0	unit 3	irq 17 # Host3
    259   1.3       bsh 
    260   1.3       bsh usb*		at ehci?
    261   1.3       bsh 
    262  1.23   hkenken # USB device drivers
    263  1.23   hkenken include "dev/usb/usbdevices.config"
    264   1.3       bsh 
    265  1.23   hkenken ukphy*		at mii? phy ?
    266   1.3       bsh 
    267  1.11       bsh # IPUv3 LCD Controller
    268  1.11       bsh ipu0		at axi?
    269  1.11       bsh wsdisplay0	at wsemuldisplaydev? console ?
    270  1.11       bsh wsdisplay*	at wsemuldisplaydev?
    271  1.11       bsh #options	IPUV3_DEBUG=1
    272  1.11       bsh #options	LCD_DEBUG
    273  1.11       bsh options 	IMXIPUCONSOLE
    274  1.11       bsh 
    275  1.11       bsh # various options for wscons - we try to look as much like a standard
    276  1.11       bsh # sun console as possible
    277  1.11       bsh options 	WSEMUL_VT100		# sun terminal emulation
    278  1.11       bsh options 	WS_DEFAULT_FG=WSCOL_WHITE
    279  1.11       bsh options 	WS_DEFAULT_BG=WSCOL_BLACK
    280  1.11       bsh options		WS_KERNEL_FG=WSCOL_GREEN
    281  1.11       bsh options		WS_KERNEL_BG=WSCOL_BLACK
    282  1.11       bsh options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    283  1.13       abs options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    284  1.11       bsh options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    285  1.11       bsh options 	WSDISPLAY_DEFAULTSCREENS=4
    286  1.11       bsh 
    287   1.1       bsh # Pseudo-Devices
    288   1.1       bsh 
    289   1.1       bsh pseudo-device	crypto			# /dev/crypto device
    290   1.1       bsh pseudo-device	swcrypto		# software crypto implementation
    291   1.1       bsh 
    292   1.1       bsh # disk/mass storage pseudo-devices
    293   1.2   hannken #pseudo-device	md			# memory disk device (ramdisk)
    294  1.25   hkenken pseudo-device	vnd			# disk-like interface to files
    295  1.16   msaitoh #pseudo-device	fss			# file system snapshot device
    296  1.25   hkenken pseudo-device	putter			# for puffs and pud
    297   1.1       bsh 
    298   1.1       bsh # network pseudo-devices
    299  1.23   hkenken pseudo-device	bpfilter		# Berkeley packet filter
    300   1.1       bsh #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    301   1.1       bsh pseudo-device	loop			# network loopback
    302  1.23   hkenken #pseudo-device	ppp			# Point-to-Point Protocol
    303   1.1       bsh 
    304   1.1       bsh # miscellaneous pseudo-devices
    305   1.1       bsh pseudo-device	pty			# pseudo-terminals
    306  1.25   hkenken pseudo-device	clockctl		# NTP clockctl
    307   1.1       bsh pseudo-device	ksyms			# /dev/ksyms
    308  1.25   hkenken pseudo-device	lockstat		# lock profiling
    309   1.1       bsh 
    310   1.1       bsh # wscons pseudo-devices
    311   1.1       bsh pseudo-device	wsmux			# mouse & keyboard multiplexor
    312  1.11       bsh pseudo-device	wsfont
    313  1.23   hkenken 
    314  1.25   hkenken # data mover pseudo-devices
    315  1.25   hkenken #pseudo-device	swdmover		# software dmover(9) back-end
    316  1.25   hkenken #pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    317  1.25   hkenken 
    318  1.25   hkenken # userland interface to drivers, including autoconf and properties retrieval
    319  1.25   hkenken pseudo-device 	drvctl
    320  1.25   hkenken 
    321  1.23   hkenken # local configuration
    322  1.23   hkenken cinclude "arch/evbarm/conf/NETWALKER.local"
    323