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