Home | History | Annotate | Line # | Download | only in conf
GUMSTIX revision 1.41
      1 #	$NetBSD: GUMSTIX,v 1.41 2009/12/06 12:23:24 kiyohara Exp $
      2 #
      3 #	GUMSTIX -- Gumstix. Inc. gumstix platforms kernel
      4 #
      5 
      6 include 	"arch/evbarm/conf/std.gumstix"
      7 
      8 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      9 
     10 # estimated number of users
     11 
     12 maxusers	32
     13 
     14 # CPU options
     15 
     16 # For XScale systems
     17 options 	CPU_XSCALE_PXA250	# Support the basix/connex motherboards
     18 options 	CPU_XSCALE_PXA270	# Support the verdex motherboards
     19 makeoptions	CPUFLAGS="-mcpu=xscale"
     20 
     21 # Architecture options
     22 #options 	XSCALE_CACHE_WRITE_THROUGH
     23 options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
     24 
     25 # Standard system options
     26 
     27 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     28 #options 	NTP		# NTP phase/frequency locked loop
     29 
     30 # File systems
     31 
     32 file-system 	FFS		# UFS
     33 file-system 	EXT2FS		# second extended file system (linux)
     34 file-system 	LFS		# log-structured file system
     35 file-system 	MFS		# memory file system
     36 file-system 	NFS		# Network File System client
     37 #file-system 	NTFS		# Windows/NT file system (experimental)
     38 #file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     39 file-system 	MSDOSFS		# MS-DOS file system
     40 file-system 	FDESC		# /dev/fd
     41 file-system 	KERNFS		# /kern
     42 file-system 	NULLFS		# loopback file system
     43 file-system 	OVERLAY		# overlay file system
     44 file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     45 file-system 	PROCFS		# /proc
     46 file-system 	UMAPFS		# NULLFS + uid and gid remapping
     47 file-system 	UNION		# union file system
     48 file-system 	CODA		# Coda File System; also needs vcoda (below)
     49 file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
     50 file-system 	PTYFS		# /dev/ptm support
     51 file-system 	TMPFS		# Efficient memory file-system
     52 #file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
     53 #file-system 	HFS		# experimental - Apple HFS+ (read-only)
     54 
     55 # File system options
     56 #options 	QUOTA		# UFS quotas
     57 #options 	FFS_EI		# FFS Endian Independent support
     58 options 	WAPBL		# File system journaling support - Experimental
     59 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
     60 # It is not recommended for general use.
     61 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
     62 #options 	NFSSERVER	# Network File System server
     63 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     64 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     65 				# immutable) behave as system flags.
     66 
     67 # Networking options
     68 
     69 #options 	GATEWAY		# packet forwarding
     70 options 	INET		# IP + ICMP + TCP + UDP
     71 options 	INET6		# IPV6
     72 options 	IPSEC		# IP security
     73 options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
     74 options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
     75 #options 	IPSEC_DEBUG	# debug for IP security
     76 #options 	MROUTING	# IP multicast routing
     77 #options 	PIM		# Protocol Independent Multicast
     78 #options 	ISO,TPIP	# OSI
     79 #options 	EON		# OSI tunneling over IP
     80 #options 	NETATALK	# AppleTalk networking
     81 #options 	PFIL_HOOKS	# pfil(9) packet filter hooks
     82 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     83 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     84 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     85 #options 	IPFILTER_LOG	# ipmon(8) log support
     86 #options 	IPFILTER_LOOKUP	# ippool(8) support
     87 #options 	IPFILTER_DEFAULT_BLOCK  # block all packets by default
     88 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     89 
     90 options 	NFS_BOOT_BOOTP
     91 options 	NFS_BOOT_DHCP
     92 #options 	NFS_BOOT_BOOTPARAM
     93 
     94 # Compatibility options
     95 
     96 #options 	COMPAT_09	# NetBSD 0.9 compatibility.
     97 #options 	COMPAT_10	# NetBSD 1.0 compatibility.
     98 #options 	COMPAT_11	# NetBSD 1.1 compatibility.
     99 #options 	COMPAT_12	# NetBSD 1.2 compatibility.
    100 #options 	COMPAT_13	# NetBSD 1.3 compatibility.
    101 #options 	COMPAT_14	# NetBSD 1.4 compatibility.
    102 #options 	COMPAT_15	# NetBSD 1.5 compatibility.
    103 options 	COMPAT_16	# NetBSD 1.6 compatibility.
    104 options 	COMPAT_20	# NetBSD 2.0 compatibility.
    105 options 	COMPAT_30	# NetBSD 3.0 compatibility.
    106 options 	COMPAT_40	# NetBSD 4.0 compatibility.
    107 options 	COMPAT_50	# NetBSD 5.0 compatibility.
    108 #options 	COMPAT_43	# 4.3BSD compatibility.
    109 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    110 
    111 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
    112 options 	COMPAT_LINUX	# binary compatibility with Linux
    113 options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    114 
    115 # Shared memory options
    116 
    117 #options 	SYSVMSG		# System V-like message queues
    118 #options 	SYSVSEM		# System V-like semaphores
    119 #options 	SEMMNI=10	# number of semaphore identifiers
    120 #options 	SEMMNS=60	# number of semaphores in system
    121 #options 	SEMUME=10	# max number of undo entries per process
    122 #options 	SEMMNU=30	# number of undo structures in system
    123 #options 	SYSVSHM		# System V-like memory sharing
    124 options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
    125 
    126 # Device options
    127 
    128 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    129 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    130 #options 	MEMORY_DISK_DYNAMIC
    131 #options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
    132 
    133 # Miscellaneous kernel options
    134 
    135 options 	KTRACE		# system call tracing, a la ktrace(1)
    136 options 	IRQSTATS	# manage IRQ statistics
    137 #options 	KMEMSTATS	# kernel memory statistics
    138 options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    139 #options 	USBVERBOSE	# verbose USB device autoconfig messages
    140 options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    141 #options 	DDB_KEYCODE=0x40
    142 #options 	USERCONF	# userconf(4) support
    143 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    144 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    145 
    146 # Development and Debugging options
    147 
    148 #options 	PERFCTRS	# performance counters
    149 options 	DIAGNOSTIC	# internally consistency checks
    150 options 	DEBUG
    151 #options 	LOCKDEBUG
    152 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    153 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    154 options 	DDB		# in-kernel debugger
    155 #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    156 #options 	KGDB
    157 #options 	DEBUG_KGDB
    158 makeoptions	DEBUG="-g -O2"	# compile full symbol table
    159 options 	SYMTAB_SPACE=450000
    160 #options 	AUDIO_DEBUG=2
    161 
    162 config		netbsd		root on ? type ?
    163 config		netbsd-sm0	root on sm0 type nfs
    164 config		netbsd-smsh0	root on smsh0 type nfs
    165 
    166 # The main bus device
    167 mainbus0 at root
    168 
    169 # The boot cpu
    170 cpu0	at mainbus?
    171 
    172 # integrated peripherals
    173 pxaip0	at mainbus?
    174 
    175 pxaintc0 at pxaip?				# interrupt controller
    176 options 	PXAGPIO_HAS_GPION_INTRS
    177 
    178 pxagpio0 at pxaip?				# GPIO
    179 pxartc0	at pxaip? addr 0x40900000		# RTC
    180 
    181 # cotulla integrated 16550 UARTs
    182 options COM_PXA2X0
    183 com0	at pxaip? addr 0x40100000 intr 22	# Full Function UART
    184 com1	at pxaip? addr 0x40700000 intr 20	# Standard UART (console-st)
    185 com2	at pxaip? addr 0x40200000 intr 21	# Bluetooth UART (old bt or vx)
    186 com3	at pxaip? addr 0x41600000 intr 7	# Hardware UART(console-hw, bt)
    187 options 	FFUARTCONSOLE
    188 #options 	STUARTCONSOLE
    189 #options 	BTUARTCONSOLE
    190 #options 	HWUARTCONSOLE
    191 #options 	KGDB_DEVNAME="\"ffuart\""	# or stuart or btuart or hwuart
    192 #options 	KGDB_DEVRATE=115200
    193 
    194 # DMAC support
    195 pxadmac0 at pxaip? addr 0x40000000 intr 25
    196 options 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
    197 #options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority
    198 
    199 # AC97 Audio support
    200 pxaacu0	at pxaip? addr 0x40500000 intr 14	# Audiostix, Audiostx2, GPSstix
    201 
    202 # Audio support
    203 audio*	at audiobus?
    204 
    205 # LCD
    206 lcd0	at pxaip? addr 0x44000000		# consoleLCD-vx,consoleLCD16-vx
    207 wsdisplay* at lcd? console ?
    208 
    209 # USB Host/Device Controller
    210 ohci0	at pxaip? addr 0x4c000000 intr 3	# consoleLCD-vx,consoleLCD16-vx
    211 						# ALSO NEEDS pxaudc
    212 pxaudc0	at pxaip? addr 0x40600000
    213 
    214 # integrated MMC/SD contoller
    215 pxamci0	at pxaip? addr 0x41100000 size 0x48
    216 sdmmc*	at pxamci?
    217 #options 	PXAMCI_DEBUG
    218 #options 	SDMMC_DEBUG
    219 #options 	SDMMC_DUMP_CSD
    220 
    221 ld*	at sdmmc?
    222 
    223 # gumstix device support
    224 gxio0	at pxaip?
    225 options 	GXIO_BLUETOOTH_ON_HWUART	# Bluetooth module on HWUART
    226 #options 	GXIO_DEFAULT_EXPANSION="\"netCF\""
    227 
    228 # gumstix expantion boards
    229 
    230 # SMC 91C111
    231 sm0	at gxio? addr 0x04000300 gpirq ?
    232 #sm0	at gxio? addr 0x04000300 gpirq 36	# etherstix,netMMC,netCF,netDUO
    233 #sm0	at gxio? addr 0x04000300 gpirq 99	# netCF-vx
    234 sm1	at gxio? addr 0x08000300 gpirq 27	# netDUO(2nd NIC)
    235 
    236 # SMSC LAN9117
    237 smsh0	at gxio? addr 0x04000300 gpirq 99	# netmicroSD-vx, netpro-vx
    238 
    239 # Inter-Integrated Circuit controller
    240 gxiic0	at pxaip? addr 0x40300000
    241 iic*	at gxiic?
    242 #dsrtc*	at iic? addr 0x68		# Can mount DS1307 at console, breakout
    243 
    244 # integrated PCMCIA/CF controller
    245 pxapcic0 at pxaip? addr 0x20000000		# cfstix, netCF
    246 
    247 # PCMCIA bus support
    248 pcmcia*	at pxapcic?
    249 
    250 # Marvell 88W8385
    251 #malo*	at pcmcia? function ?		# wifistix, netwifimicrosd, netpro-vx
    252 
    253 
    254 # PCMCIA serial interfaces
    255 com*	at pcmcia? function ?		# Modems and serial cards
    256 
    257 # PCMCIA IDE controllers
    258 wdc*	at pcmcia? function ?
    259 atabus*	at wdc? channel ?
    260 wd*	at atabus? drive ? flags 0x0000
    261 
    262 # PCMCIA network interfaces
    263 ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    264 wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
    265 #xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
    266 #xi*	at xirc?
    267 
    268 # MII/PHY support
    269 #acphy*	at mii? phy ?			# AMD/Altima AC101 PHYs
    270 sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    271 ukphy*	at mii? phy ?			# smsh(4) internal PHY
    272 
    273 # PCMCIA USB controllers
    274 #slhci*	at pcmcia? function ?		# ScanLogic SL811HS
    275 
    276 # USB bus support
    277 usb*	at ohci?
    278 #usb*	at slhci?
    279 
    280 # USB Hubs
    281 uhub*	at usb?
    282 uhub*	at uhub? port ?
    283 
    284 # USB HID device
    285 uhidev* at uhub? port ? configuration ? interface ?
    286 
    287 # USB Mice
    288 ums*	at uhidev? reportid ?
    289 wsmouse* at ums? mux 0
    290 
    291 # USB Keyboards
    292 ukbd*	at uhidev? reportid ?
    293 wskbd*	at ukbd? console ? mux 1
    294 
    295 # USB Mass Storage
    296 umass*	at uhub? port ? configuration ? interface ?
    297 #wd*	at umass?
    298 
    299 # SCSI bus support
    300 scsibus* at scsi?
    301 
    302 # SCSI devices
    303 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    304 
    305 # Bluetooth Controller and Device support
    306 
    307 # Bluetooth PCMCIA Controllers
    308 #btbc*	at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
    309 
    310 # Bluetooth USB Controllers
    311 #ubt*	at uhub? port ?
    312 
    313 # Bluetooth Device Hub
    314 bthub*	at bcsp?
    315 #bthub*	at btbc?
    316 bthub*	at btuart?
    317 #bthub*	at ubt?
    318 
    319 # Bluetooth HID support
    320 bthidev* at bthub?
    321 
    322 # Bluetooth Mouse
    323 btms*	at bthidev? reportid ?
    324 wsmouse* at btms? mux 0
    325 
    326 # Bluetooth Keyboard
    327 btkbd*	at bthidev? reportid ?
    328 wskbd*	at btkbd? console ? mux 1
    329 
    330 # Bluetooth Audio support
    331 btsco*	at bthub?
    332 
    333 # Pseudo-Devices
    334 
    335 pseudo-device	crypto			# /dev/crypto device
    336 pseudo-device	swcrypto		# software crypto implementation
    337 
    338 # disk/mass storage pseudo-devices
    339 #pseudo-device	bio			# RAID control device driver
    340 #pseudo-device	ccd		4	# concatenated/striped disk devices
    341 pseudo-device	cgd		4	# cryptographic disk devices
    342 #pseudo-device	raid		8	# RAIDframe disk driver
    343 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    344 # Options to enable various other RAIDframe RAID types.
    345 #options 	RF_INCLUDE_EVENODD=1
    346 #options 	RF_INCLUDE_RAID5_RS=1
    347 #options 	RF_INCLUDE_PARITYLOGGING=1
    348 #options 	RF_INCLUDE_CHAINDECLUSTER=1
    349 #options 	RF_INCLUDE_INTERDECLUSTER=1
    350 #options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    351 #options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    352 #pseudo-device	fss		4	# file system snapshot device
    353 
    354 #pseudo-device	md		1	# memory disk device (ramdisk)
    355 pseudo-device	vnd			# disk-like interface to files
    356 options 	VND_COMPRESSION		# compressed vnd(4)
    357 pseudo-device	putter			# for puffs and pud
    358 
    359 # network pseudo-devices
    360 pseudo-device	bpfilter		# Berkeley packet filter
    361 #pseudo-device	carp			# Common Address Redundancy Protocol
    362 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    363 pseudo-device	loop			# network loopback
    364 pseudo-device	ppp			# Point-to-Point Protocol
    365 #pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    366 #pseudo-device	sl			# Serial Line IP
    367 #pseudo-device	strip			# Starmode Radio IP (Metricom)
    368 #pseudo-device	irframetty		# IrDA frame line discipline
    369 #pseudo-device	tap			# virtual Ethernet
    370 #pseudo-device	tun			# network tunneling over tty
    371 #pseudo-device	gre			# generic L3 over IP tunnel
    372 #pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    373 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    374 #pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    375 #pseudo-device	vlan			# IEEE 802.1q encapsulation
    376 #pseudo-device	bridge			# simple inter-network bridging
    377 #options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    378 #pseudo-device	agr			# IEEE 802.3ad link aggregation
    379 #pseudo-device	pf			# PF packet filter
    380 #pseudo-device	pflog			# PF log if
    381 
    382 # miscellaneous pseudo-devices
    383 pseudo-device	pty			# pseudo-terminals
    384 #pseudo-device	sequencer	1	# MIDI sequencer
    385 pseudo-device	rnd			# /dev/random and in-kernel generator
    386 options		RND_COM
    387 pseudo-device	clockctl		# user control of clock subsystem
    388 pseudo-device	ksyms			# /dev/ksyms
    389 pseudo-device	bcsp			# BlueCore Serial Protocol
    390 pseudo-device	btuart			# Bluetooth HCI UART (H4)
    391 					# connect with Ericsson Bluetooth Module
    392 					#  or Infineon SingleStone (PBA31307)
    393 					#  or Infineon UniStone (PBA31308)
    394 
    395 # a pseudo device needed for Coda	# also needs CODA (above)
    396 pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    397 
    398 # a pseudo device needed for SMBFS
    399 pseudo-device	nsmb			# experimental - SMB requester
    400 
    401 # wscons pseudo-devices
    402 #pseudo-device	wsmux			# mouse & keyboard multiplexor
    403 #pseudo-device	wsfont
    404 
    405 # data mover pseudo-devices
    406 #pseudo-device	swdmover		# softare dmover(9) back-end
    407 #pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    408 
    409 
    410 # userland interface to drivers, including autoconf and properties retrieval
    411 pseudo-device	drvctl
    412 
    413 #options 	FILEASSOC		# fileassoc(9) - required for Veriexec
    414 
    415 # Veriexec
    416 #pseudo-device	veriexec
    417 #
    418 # Uncomment the fingerprint methods below that are desired. Note that
    419 # removing fingerprint methods will have almost no impact on the kernel
    420 # code size.
    421 #
    422 #options VERIFIED_EXEC_FP_RMD160
    423 #options VERIFIED_EXEC_FP_SHA256
    424 #options VERIFIED_EXEC_FP_SHA384
    425 #options VERIFIED_EXEC_FP_SHA512
    426 #options VERIFIED_EXEC_FP_SHA1
    427 #options VERIFIED_EXEC_FP_MD5
    428 
    429 #options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
    430 #options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
    431