Home | History | Annotate | Line # | Download | only in conf
NSLU2 revision 1.25
      1 #	$NetBSD: NSLU2,v 1.25 2012/09/01 14:50:11 matt Exp $
      2 #
      3 #	Linksys NSLU2 "Slug" NAS Device
      4 #
      5 
      6 include	"arch/evbarm/conf/std.nslu2"
      7 
      8 # estimated number of users
      9 maxusers	8
     10 
     11 # Feeling bloated? These might help...
     12 #options 	VNODE_OP_NOINLINE
     13 #options 	EVBARM_SPL_NOINLINE
     14 #makeoptions 	COPTS="-Os"
     15 
     16 # Standard system options
     17 
     18 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     19 options 	NTP		# NTP phase/frequency locked loop
     20 
     21 # CPU options
     22 
     23 # For XScale systems
     24 options 	CPU_XSCALE_IXP425	# Support the XScale core
     25 makeoptions	CPUFLAGS="-mcpu=xscale -mbig-endian"
     26 
     27 # Architecture options
     28 options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
     29 #options 	HZ=512
     30 
     31 # Board Type
     32 makeoptions	BOARDTYPE="nslu2"
     33 options 	IXP425_CLOCK_FREQ=66000000
     34 
     35 # File systems
     36 
     37 file-system	FFS		# UFS
     38 #file-system	LFS		# log-structured file system
     39 file-system	MFS		# memory file system
     40 file-system	NFS		# Network file system
     41 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     42 #file-system 	EXT2FS		# second extended file system (linux)
     43 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     44 #file-system	MSDOSFS		# MS-DOS file system
     45 #file-system	FDESC		# /dev/fd
     46 #file-system	KERNFS		# /kern
     47 #file-system	NULLFS		# loopback file system
     48 #file-system	PROCFS		# /proc
     49 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     50 #file-system	UNION		# union file system
     51 
     52 # File system options
     53 #options 	QUOTA		# legacy UFS quotas
     54 #options 	QUOTA2		# new, in-filesystem UFS quotas
     55 #options 	FFS_EI		# FFS Endian Independent support
     56 #options 	NFSSERVER
     57 
     58 # Networking options
     59 
     60 #options 	GATEWAY		# packet forwarding
     61 options 	INET		# IP + ICMP + TCP + UDP
     62 options 	INET6		# IPV6
     63 #options 	IPSEC		# IP security
     64 #options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
     65 #options 	IPSEC_DEBUG	# debug for IP security
     66 #options 	MROUTING	# IP multicast routing
     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 	IPFILTER_LOG	# ipmon(8) log support
     75 #options 	IPFILTER_LOOKUP	# ippool(8) support
     76 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     77 
     78 #options 	NFS_BOOT_BOOTP
     79 options 	NFS_BOOT_DHCP
     80 #options 	NFS_BOOT_BOOTPARAM
     81 
     82 # Compatibility options
     83 
     84 #options 	COMPAT_43	# 4.3BSD 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.5 compatibility.
     90 #options 	COMPAT_15	# NetBSD 1.6 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 options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     99 
    100 # Shared memory options
    101 
    102 #options 	SYSVMSG		# System V-like message queues
    103 #options 	SYSVSEM		# System V-like semaphores
    104 #options 	SYSVSHM		# System V-like memory sharing
    105 
    106 # Device options
    107 
    108 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    109 #options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
    110 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    111 
    112 # Console options.  The default console is speed is 115200 baud.
    113 options 	CONSPEED=115200		# Console speed
    114 options 	CONUNIT=0		# Console port number
    115 
    116 # Miscellaneous kernel options
    117 #options 	KTRACE		# system call tracing, a la ktrace(1)
    118 #options 	IRQSTATS	# manage IRQ statistics
    119 #options 	KMEMSTATS	# kernel memory statistics
    120 #options 	SCSIVERBOSE	# Verbose SCSI errors
    121 #options 	PCIVERBOSE	# Verbose PCI descriptions
    122 #options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    123 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    124 #options 	DDB_KEYCODE=0x40
    125 #options 	USERCONF	# userconf(4) support
    126 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    127 
    128 # Development and Debugging options
    129 
    130 #options 	PERFCTRS	# performance counters
    131 options 	DIAGNOSTIC	# internally consistency checks
    132 options 	DEBUG
    133 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    134 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    135 options 	DDB		# in-kernel debugger
    136 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    137 #makeoptions	DEBUG="-g"	# compile full symbol table
    138 options 	SYMTAB_SPACE=530000
    139 
    140 config		netbsd		root on ? type ?
    141 
    142 # The main bus device
    143 mainbus0	at root
    144 
    145 # The boot cpu
    146 cpu0		at mainbus?
    147 
    148 # IXP425 slow peripheral
    149 ixpsip0		at mainbus?
    150 
    151 #Timer
    152 ixpclk*		at ixpsip? addr 0xc8005000 size 0x30
    153 
    154 # On-board device support
    155 com0		at ixpsip? addr 0xc8000000 size 0x1000 index 0
    156 options 	COM_PXA2X0
    157 
    158 # Watchdog
    159 ixpdog0 	at ixpsip? addr 0xc8005014
    160 
    161 # I2C bus (using bit-banged GPIO pins)
    162 slugiic0	at ixpsip?
    163 iic0		at slugiic0
    164 xrtc0		at iic0 addr 0x6f
    165 
    166 # Power/Reset button support (via sysmon)
    167 slugbutt0 	at ixpsip?
    168 
    169 # Disk activity and ready/status LED support
    170 slugled0 	at ixpsip?
    171 
    172 # Buzzer support (not supported yet)
    173 #slugbuzz0 	at ixpsip?
    174 
    175 # IXP425 fast bus
    176 ixpio0		at mainbus?
    177 
    178 # PCI bus
    179 pci0		at ixpio? bus ?
    180 
    181 
    182 # IXP425 NPE Micro-engine support
    183 ixme0		at mainbus?		# Includes QMGR
    184 ixpnpe0 	at ixme0 npe 1		# NPE-B
    185 #ixpnpe1 	at ixme0 npe 2		# NPE-C (not used on NSLU2)
    186 
    187 # IXP425 NPE Ethernet on NPE-B
    188 npe0		at ixpnpe0 phy 1
    189 
    190 
    191 # USB devices
    192 ehci*	at pci? dev ? function ?
    193 ohci*	at pci? dev ? function ?
    194 usb*	at ehci?
    195 usb*	at ohci?
    196 uhub*	at usb?
    197 uhub*	at uhub? port ?
    198 
    199 # USB Mass Storage Devices
    200 umass*		at uhub? port ? configuration ? interface ?
    201 wd* 		at umass?
    202 scsibus*	at umass? channel ?
    203 sd*		at scsibus? target ? lun ?	# SCSI disk drives
    204 
    205 # USB Ethernet adapters
    206 aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    207 axe*	at uhub? port ?		# ASIX AX88172 based adapters
    208 cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
    209 cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    210 kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    211 udav*	at uhub? port ?		# Davicom DM9601 based adapters
    212 url*	at uhub? port ?		# Realtek RTL8150L based adapters
    213 
    214 # MII/PHY support
    215 rlphy*	at mii? phy ?		# Realtek RTL8201
    216 ukphy*	at mii? phy ?		# Generic/Unknown PHY
    217 
    218 # USB 802.11 adapters
    219 atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
    220 ral*	at uhub? port ?		# Ralink Technology RT25x0 802.11a/b/g
    221 
    222 # USB Generic driver
    223 ugen*		at uhub? port ? configuration ? interface ?
    224 
    225 # Pseudo-Devices
    226 
    227 # disk/mass storage pseudo-devices
    228 #pseudo-device	md			# memory disk device (ramdisk)
    229 #pseudo-device	vnd		4	# disk-like interface to files
    230 
    231 # network pseudo-devices
    232 pseudo-device	bpfilter	4	# Berkeley packet filter
    233 #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    234 pseudo-device	loop			# network loopback
    235 #pseudo-device	ppp		2	# Point-to-Point Protocol
    236 #pseudo-device	kttcp			# network loopback
    237 #pseudo-device	tun		2	# network tunneling over tty
    238 #pseudo-device	vlan
    239 #pseudo-device	bridge
    240 
    241 # miscellaneous pseudo-devices
    242 pseudo-device	pty			# pseudo-terminals
    243 pseudo-device	clockctl		# user control of clock subsystem
    244 pseudo-device	ksyms			# /dev/ksyms
    245 #pseudo-device	crypto			# opencrypto framework
    246 
    247 # data mover pseudo-devices
    248 #pseudo-device	swdmover		# software dmover(9) back-end
    249 #pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    250