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