Home | History | Annotate | Line # | Download | only in conf
NSLU2 revision 1.50
      1 #	$NetBSD: NSLU2,v 1.50 2022/08/07 02:52:25 simonb 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 	PTYFS		# /dev/ptm support
     50 #file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     51 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     52 #file-system	UNION		# union file system
     53 
     54 # File system options
     55 #options 	FFS_EI		# FFS Endian Independent support
     56 #options 	QUOTA		# legacy UFS quotas
     57 #options 	QUOTA2		# new, in-filesystem UFS quotas
     58 #options 	UFS_DIRHASH	# UFS Large Directory Hashing
     59 #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     60 #options 	DISKLABEL_EI	# disklabel Endian Independent support
     61 #options 	NFSSERVER	# Network File System server
     62 
     63 # Networking options
     64 
     65 #options 	GATEWAY		# packet forwarding
     66 options 	INET		# IP + ICMP + TCP + UDP
     67 options 	INET6		# IPV6
     68 #options 	IPSEC		# IP security
     69 #options 	IPSEC_DEBUG	# debug for IP security
     70 #options 	MROUTING	# IP multicast routing
     71 #options 	NETATALK	# AppleTalk networking
     72 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     73 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     74 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     75 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     76 
     77 #options 	NFS_BOOT_BOOTP
     78 options 	NFS_BOOT_DHCP
     79 #options 	NFS_BOOT_BOOTPARAM
     80 
     81 # Compatibility options
     82 
     83 include 	"conf/compat_netbsd50.config"
     84 options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
     85 
     86 # Shared memory options
     87 
     88 #options 	SYSVMSG		# System V-like message queues
     89 #options 	SYSVSEM		# System V-like semaphores
     90 #options 	SYSVSHM		# System V-like memory sharing
     91 
     92 # Device options
     93 
     94 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
     95 #options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
     96 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
     97 
     98 # Console options.  The default console is speed is 115200 baud.
     99 options 	CONSPEED=115200		# Console speed
    100 options 	CONUNIT=0		# Console port number
    101 
    102 # Miscellaneous kernel options
    103 #options 	KTRACE		# system call tracing, a la ktrace(1)
    104 #options 	IRQSTATS	# manage IRQ statistics
    105 #options 	SCSIVERBOSE	# Verbose SCSI errors
    106 #options 	PCIVERBOSE	# Verbose PCI descriptions
    107 #options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    108 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    109 #options 	DDB_KEYCODE=0x40
    110 #options 	USERCONF	# userconf(4) support
    111 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    112 
    113 # Development and Debugging options
    114 
    115 options 	DIAGNOSTIC	# internal consistency checks
    116 options 	DEBUG
    117 #options 	UVMHIST		# kernhist for uvm/pmap subsystems
    118 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    119 options 	DDB		# in-kernel debugger
    120 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    121 #makeoptions	DEBUG="-g"	# compile full symbol table
    122 makeoptions	COPY_SYMTAB=1
    123 
    124 config		netbsd		root on ? type ?
    125 
    126 # The main bus device
    127 mainbus0	at root
    128 
    129 # The boot cpu
    130 cpu0		at mainbus?
    131 
    132 # IXP425 slow peripheral
    133 ixpsip0		at mainbus?
    134 
    135 #Timer
    136 ixpclk*		at ixpsip? addr 0xc8005000 size 0x30
    137 
    138 # On-board device support
    139 com0		at ixpsip? addr 0xc8000000 size 0x1000 index 0
    140 options 	COM_PXA2X0
    141 
    142 # Watchdog
    143 ixpdog0 	at ixpsip? addr 0xc8005014
    144 
    145 # I2C bus (using bit-banged GPIO pins)
    146 slugiic0	at ixpsip?
    147 iic0		at slugiic0
    148 xrtc0		at iic0 addr 0x6f
    149 
    150 # Power/Reset button support (via sysmon)
    151 slugbutt0 	at ixpsip?
    152 
    153 # Disk activity and ready/status LED support
    154 slugled0 	at ixpsip?
    155 
    156 # Buzzer support (not supported yet)
    157 #slugbuzz0 	at ixpsip?
    158 
    159 # IXP425 fast bus
    160 ixpio0		at mainbus?
    161 
    162 # PCI bus
    163 pci0		at ixpio? bus ?
    164 
    165 
    166 # IXP425 NPE Micro-engine support
    167 ixme0		at mainbus?		# Includes QMGR
    168 ixpnpe0 	at ixme0 npe 1		# NPE-B
    169 #ixpnpe1 	at ixme0 npe 2		# NPE-C (not used on NSLU2)
    170 
    171 # IXP425 NPE Ethernet on NPE-B
    172 npe0		at ixpnpe0 phy 1
    173 
    174 
    175 # USB devices
    176 ehci*	at pci? dev ? function ?
    177 ohci*	at pci? dev ? function ?
    178 usb*	at ehci?
    179 usb*	at ohci?
    180 uhub*	at usb?
    181 uhub*	at uhub? port ?
    182 
    183 # USB Mass Storage Devices
    184 umass*		at uhub? port ? configuration ? interface ?
    185 scsibus*	at umass? channel ?
    186 sd*		at scsibus? target ? lun ?	# SCSI disk drives
    187 
    188 # USB Ethernet adapters
    189 aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    190 axe*	at uhub? port ?		# ASIX AX88172 based adapters
    191 cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
    192 cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    193 kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    194 mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
    195 udav*	at uhub? port ?		# Davicom DM9601 based adapters
    196 ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
    197 url*	at uhub? port ?		# Realtek RTL8150L based adapters
    198 
    199 # MII/PHY support
    200 rgephy*	at mii? phy ?		# Realtek 8169S/8110S/8211 PHYs
    201 rlphy*	at mii? phy ?		# Realtek 8139/8201L PHYs
    202 ukphy*	at mii? phy ?		# Generic/Unknown PHY
    203 
    204 # USB 802.11 adapters
    205 atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
    206 ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
    207 
    208 # USB Generic driver
    209 ugen*		at uhub? port ? configuration ? interface ?
    210 
    211 # Pseudo-Devices
    212 
    213 # disk/mass storage pseudo-devices
    214 #pseudo-device	md			# memory disk device (ramdisk)
    215 #pseudo-device	vnd			# disk-like interface to files
    216 #pseudo-device	fss			# file system snapshot device
    217 #pseudo-device	putter			# for puffs and pud
    218 
    219 # network pseudo-devices
    220 pseudo-device	bpfilter		# Berkeley packet filter
    221 #pseudo-device	npf			# NPF packet filter
    222 pseudo-device	loop			# network loopback
    223 #pseudo-device	ppp			# Point-to-Point Protocol
    224 #pseudo-device	kttcp			# network loopback
    225 #pseudo-device	tun			# network tunneling over tty
    226 #pseudo-device	vlan
    227 #pseudo-device	bridge
    228 #pseudo-device	vether			# Virtual Ethernet for bridge
    229 
    230 # miscellaneous pseudo-devices
    231 pseudo-device	pty			# pseudo-terminals
    232 pseudo-device	clockctl		# user control of clock subsystem
    233 pseudo-device	ksyms			# /dev/ksyms
    234 #pseudo-device	crypto			# opencrypto framework
    235 
    236 # data mover pseudo-devices
    237 #pseudo-device	swdmover		# software dmover(9) back-end
    238 #pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    239