Home | History | Annotate | Line # | Download | only in conf
GUMSTIX revision 1.23
      1 #	$NetBSD: GUMSTIX,v 1.23 2008/01/06 01:35:34 matt 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 XScale core
     18 makeoptions	CPUFLAGS="-mcpu=xscale"
     19 
     20 # Architecture options
     21 #options 	XSCALE_CACHE_WRITE_THROUGH
     22 options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
     23 
     24 # Standard system options
     25 
     26 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     27 #options 	NTP		# NTP phase/frequency locked loop
     28 
     29 # File systems
     30 
     31 file-system 	FFS		# UFS
     32 file-system 	EXT2FS		# second extended file system (linux)
     33 file-system 	LFS		# log-structured file system
     34 file-system 	MFS		# memory file system
     35 file-system 	NFS		# Network file system client
     36 #file-system 	NTFS		# Windows/NT file system (experimental)
     37 #file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     38 file-system 	MSDOSFS		# MS-DOS file system
     39 file-system 	FDESC		# /dev/fd
     40 file-system 	KERNFS		# /kern
     41 file-system 	NULLFS		# loopback file system
     42 file-system 	OVERLAY		# overlay file system
     43 file-system 	PORTAL		# portal filesystem (still experimental)
     44 file-system 	PROCFS		# /proc
     45 file-system 	UMAPFS		# NULLFS + uid and gid remapping
     46 file-system 	UNION		# union file system
     47 file-system 	CODA		# Coda File System; also needs vcoda (below)
     48 file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
     49 file-system 	PTYFS		# /dev/pts/N support
     50 file-system 	TMPFS		# Efficient memory file-system
     51 #file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
     52 #file-system 	HFS		# experimental - Apple HFS+ (read-only)
     53 
     54 # File system options
     55 #options 	QUOTA		# UFS quotas
     56 #options 	FFS_EI		# FFS Endian Independant support
     57 options 	SOFTDEP
     58 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
     59 # It is not recommended for general use.
     60 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
     61 #options 	NFSSERVER
     62 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     63 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     64 				# immutable) behave as system flags.
     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_ESP	# IP security (encryption part; define w/ IPSEC)
     73 options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
     74 #options 	IPSEC_DEBUG	# debug for IP security
     75 #options 	MROUTING	# IP multicast routing
     76 #options 	ISO,TPIP	# OSI
     77 #options 	EON		# OSI tunneling over IP
     78 #options 	NETATALK	# AppleTalk networking
     79 #options 	PFIL_HOOKS	# pfil(9) packet filter hooks
     80 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     81 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     82 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     83 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     84 
     85 options 	NFS_BOOT_BOOTP
     86 options 	NFS_BOOT_DHCP
     87 #options 	NFS_BOOT_BOOTPARAM
     88 
     89 # Compatibility options
     90 
     91 #options 	COMPAT_09	# NetBSD 0.9 compatibility.
     92 #options 	COMPAT_10	# NetBSD 1.0 compatibility.
     93 #options 	COMPAT_11	# NetBSD 1.1 compatibility.
     94 #options 	COMPAT_12	# NetBSD 1.2 compatibility.
     95 #options 	COMPAT_13	# NetBSD 1.3 compatibility.
     96 #options 	COMPAT_14	# NetBSD 1.4 compatibility.
     97 #options 	COMPAT_15	# NetBSD 1.5 compatibility.
     98 options 	COMPAT_16	# NetBSD 1.6 compatibility.
     99 options 	COMPAT_20	# NetBSD 2.0 compatibility.
    100 options 	COMPAT_30	# NetBSD 3.0 compatibility.
    101 options 	COMPAT_40	# NetBSD 4.0 compatibility.
    102 #options 	COMPAT_43	# 4.3BSD compatibility.
    103 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    104 
    105 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
    106 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    107 
    108 # Shared memory options
    109 
    110 #options 	SYSVMSG		# System V-like message queues
    111 #options 	SYSVSEM		# System V-like semaphores
    112 #options 	SEMMNI=10	# number of semaphore identifiers
    113 #options 	SEMMNS=60	# number of semaphores in system
    114 #options 	SEMUME=10	# max number of undo entries per process
    115 #options 	SEMMNU=30	# number of undo structures in system
    116 #options 	SYSVSHM		# System V-like memory sharing
    117 #options 	SHMMAXPGS=1024	# 1024 pages is the default
    118 options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
    119 
    120 # Device options
    121 
    122 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    123 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    124 #options 	MEMORY_DISK_DYNAMIC
    125 #options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
    126 #options 	MEMORY_RBFLAGS=RB_AUTOBOOT
    127 
    128 # Miscellaneous kernel options
    129 
    130 options 	KTRACE		# system call tracing, a la ktrace(1)
    131 options 	IRQSTATS	# manage IRQ statistics
    132 #options 	LKM		# loadable kernel modules
    133 #options 	KMEMSTATS	# kernel memory statistics
    134 options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    135 #options 	USBVERBOSE	# verbose USB device autoconfig messages
    136 options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    137 #options 	DDB_KEYCODE=0x40
    138 #options 	USERCONF	# userconf(4) support
    139 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    140 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    141 
    142 # Development and Debugging options
    143 
    144 #options 	PERFCTRS	# performance counters
    145 options 	DIAGNOSTIC	# internally consistency checks
    146 options 	DEBUG
    147 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    148 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    149 options 	DDB		# in-kernel debugger
    150 #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    151 #options 	KGDB
    152 #options 	DEBUG_KGDB
    153 makeoptions	DEBUG="-g -O2"	# compile full symbol table
    154 options 	SYMTAB_SPACE=380000
    155 #options 	AUDIO_DEBUG=2
    156 
    157 config		netbsd		root on ? type ?
    158 config		netbsd-sm0	root on sm0 type nfs
    159 
    160 # The main bus device
    161 mainbus0 at root
    162 
    163 # The boot cpu
    164 cpu0	at mainbus?
    165 
    166 # integrated peripherals
    167 pxaip0	at mainbus?
    168 
    169 pxaintc0 at pxaip?				# interrupt controller
    170 options 	PXAGPIO_HAS_GPION_INTRS
    171 
    172 pxagpio0 at pxaip?				# GPIO
    173 pxartc0	at pxaip?				# RTC
    174 
    175 # cotulla integrated 16550 UARTs
    176 options COM_PXA2X0
    177 com0	at pxaip? addr 0x40100000 intr 22	# Full Function UART
    178 com1	at pxaip? addr 0x40700000 intr 20	# Standard UART (console-st)
    179 com2	at pxaip? addr 0x40200000 intr 21	# Bluetooth UART (older -bt)
    180 com3	at pxaip? addr 0x41600000 intr 7	# Hardware UART(console-hw, -bt)
    181 options 	FFUARTCONSOLE
    182 #options 	STUARTCONSOLE
    183 #options 	BTUARTCONSOLE
    184 #options 	HWUARTCONSOLE
    185 #options 	KGDB_DEVNAME="\"ffuart\""	# or stuart or btuart or hwuart
    186 #options 	KGDB_DEVRATE=115200
    187 
    188 # DMAC support
    189 pxadmac0 at pxaip? addr 0x40000000 intr 25
    190 options 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
    191 #options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority
    192 
    193 # AC97 Audio support
    194 pxaacu0	at pxaip? addr 0x40500000 intr 14
    195 
    196 # Audio support
    197 audio*	at audiobus?
    198 
    199 # LCD
    200 #lcd0	at pxaip?
    201 #wsdisplay* at lcd? console ?
    202 
    203 # USB Controller and Devices
    204 pxaudc0	at pxaip?				# USB Device Controller
    205 
    206 # integrated MMC/SD contoller
    207 #pxamci0	at pxaip? addr 0x41100000 size 0x48
    208 #sdmmc*	at pxamci?
    209 #options 	PXAMCI_DEBUG
    210 #options 	SDMMC_DEBUG
    211 #options 	SDMMC_DUMP_CSD
    212 
    213 # SCSI bus support
    214 #scsibus* at scsi?
    215 
    216 # SCSI devices
    217 #sd*	at scsibus? target ? lun ? # SCSI disk drives
    218 #uk*	at scsibus? target ? lun ? # SCSI unknown
    219 
    220 # gumstix device support
    221 gxio0	at pxaip?
    222 options 	GXIO_BLUETOOTH_ON_HWUART	# Bluetooth module on HWUART
    223 options 	GXIO_DEFAULT_EXPANSION="\"netCF\""
    224 
    225 # gumstix expantion boards
    226 
    227 # SMC 91C111
    228 sm0	at gxio? addr 0x04000300 gpirq 36	# etherstix, net{MMC,CF,DUO}
    229 sm1	at gxio? addr 0x08000300 gpirq 27	# netDUO(2nd NIC)
    230 
    231 # Inter-Integrated Circuit controller
    232 gxiic0	at pxaip?
    233 iic*	at gxiic?
    234 #dsrtc*	at iic? addr 0x68		# Can mount DS1307 at console, breakout
    235 
    236 # integrated PCMCIA/CF controller
    237 pxapcic0 at pxaip?				# cfstix, netCF
    238 
    239 # PCMCIA bus support
    240 pcmcia*	at pxapcic?
    241 
    242 # PCMCIA serial interfaces
    243 com*	at pcmcia? function ?		# Modems and serial cards
    244 
    245 # PCMCIA IDE controllers
    246 wdc*	at pcmcia? function ?
    247 atabus*	at wdc? channel ?
    248 wd*	at atabus? drive ? flags 0x0000
    249 
    250 # PCMCIA network interfaces
    251 ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    252 wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
    253 #xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
    254 #xi*	at xirc?
    255 
    256 # MII/PHY support
    257 #acphy*	at mii? phy ?			# AMD/Altima AC101 PHYs
    258 sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    259 
    260 # USB Devices
    261 
    262 # USB bus support
    263 
    264 # USB Hubs
    265 #uhub*	at usb?
    266 #uhub*	at uhub? port ?
    267 
    268 # USB HID device
    269 #uhidev*	at uhub? port ? configuration ? interface ?
    270 
    271 # USB Mice
    272 #ums*	at uhidev? reportid ?
    273 #wsmouse* at ums? mux 0
    274 
    275 # USB eGalax touch-panel
    276 #uep*	at uhub? port ?
    277 #wsmouse* at uep? mux 0
    278 
    279 # USB Keyboards
    280 #ukbd*	at uhidev? reportid ?
    281 #wskbd*	at ukbd? console ? mux 1
    282 
    283 # USB serial adapter
    284 #ucycom*	at uhidev? reportid ?
    285 
    286 # USB Generic HID devices
    287 #uhid*	at uhidev? reportid ?
    288 
    289 # USB Printer
    290 #ulpt*	at uhub? port ? configuration ? interface ?
    291 
    292 # USB Modem
    293 #umodem*	at uhub? port ? configuration ?
    294 #ucom*	at umodem?
    295 
    296 # USB Mass Storage
    297 #umass*	at uhub? port ? configuration ? interface ?
    298 #wd*	at umass?
    299 
    300 # USB audio
    301 #uaudio*	at uhub? port ? configuration ?
    302 
    303 # USB MIDI
    304 #umidi* at uhub? port ? configuration ?
    305 
    306 # USB IrDA
    307 # USB-IrDA bridge spec
    308 #uirda* at uhub? port ? configuration ? interface ?
    309 #irframe* at uirda?
    310 
    311 #stuirda* at uhub? port ? configuration ? interface ?
    312 #irframe* at stuirda?
    313 
    314 # SigmaTel STIr4200 USB/IrDA Bridge
    315 #ustir* at uhub? port ?
    316 #irframe* at ustir?
    317 
    318 # USB Ethernet adapters
    319 #aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    320 #axe*	at uhub? port ?		# ASIX AX88172 based adapters
    321 #cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
    322 #cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    323 #kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    324 #udav*	at uhub? port ?		# Davicom DM9601 based adapters
    325 #url*	at uhub? port ?		# Realtek RTL8150L based adapters
    326 
    327 # USB 802.11 adapters
    328 #atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
    329 #ral*	at uhub? port ?		# Ralink Technology RT25x0 802.11a/b/g
    330 #rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
    331 #zyd*	at uhub? port ?		# Zydas ZD1211
    332 
    333 # Prolific PL2301/PL2302 host-to-host adapter
    334 #upl*	at uhub? port ?
    335 
    336 # Serial adapters
    337 #ubsa*	at uhub? port ?		# Belkin serial adapter
    338 #ucom*	at ubsa? portno ?
    339 
    340 #uchcom*	at uhub? port ?		# WinChipHead CH341/CH340 serial adapter
    341 #ucom*	at uchcom? portno ?
    342 
    343 #uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
    344 #ucom*	at uftdi? portno ?
    345 
    346 #uipaq*	at uhub? port ?		# iPAQ PDAs
    347 #ucom*	at uipaq? portno ?
    348 
    349 #umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
    350 #ucom*	at umct? portno ?
    351 
    352 #uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
    353 #ucom*	at uplcom? portno ?
    354 
    355 #uslsa*	at uhub? port ?		# Silicon Labs USB-RS232 serial adapter
    356 #ucom*	at uslsa? portno ?
    357 
    358 #uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
    359 #ucom*	at uvscom? portno ?
    360 
    361 # Diamond Multimedia Rio 500
    362 #urio*	at uhub? port ?
    363 
    364 # USB Handspring Visor
    365 #uvisor*	at uhub? port ?
    366 #ucom*	at uvisor?
    367 
    368 # Kyocera AIR-EDGE PHONE
    369 #ukyopon* at uhub? port ?
    370 #ucom*	at ukyopon? portno ?
    371 
    372 # USB scanners
    373 #uscanner* at uhub? port ?
    374 
    375 # USB scanners that use SCSI emulation, e.g., HP5300
    376 #usscanner* at uhub? port ?
    377 
    378 # Topfield TF5000PVR range of DVB recorders
    379 #utoppy*	at uhub? port ?
    380 
    381 # Y@P firmware loader
    382 #uyap* at uhub? port ?
    383 
    384 # D-Link DSB-R100 USB radio
    385 #udsbr*	at uhub? port ?
    386 #radio*	at udsbr?
    387 
    388 # USB Generic driver
    389 #ugen*	at uhub? port ?
    390 # On ugen bulk endpoints, perform read-ahead and write-behind.
    391 #options UGEN_BULK_RA_WB
    392 
    393 # USB generic serial port (e.g., data over cellular)
    394 #ugensa*	at uhub? port ?
    395 #ucom*	at ugensa?
    396 
    397 # Bluetooth Controller and Device support
    398 
    399 # Bluetooth PCMCIA Controllers
    400 #bt3c*	at pcmcia? function ?		# 3Com 3CRWB6096-A
    401 #btbc*	at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
    402 
    403 # Bluetooth USB Controllers
    404 #ubt*	at uhub? port ?
    405 
    406 # Bluetooth Device Hub
    407 #bthub*	at bcsp?
    408 #bthub*	at bt3c?
    409 #bthub*	at btbc?
    410 bthub*	at btuart?
    411 #bthub*	at ubt?
    412 
    413 # Bluetooth HID support
    414 #bthidev* at bthub?
    415 
    416 # Bluetooth Mouse
    417 #btms*	at bthidev? reportid ?
    418 #wsmouse* at btms? mux 0
    419 
    420 # Bluetooth Keyboard
    421 #btkbd*	at bthidev? reportid ?
    422 #wskbd*	at btkbd? console ? mux 1
    423 
    424 # Bluetooth Audio support
    425 #btsco*	at bthub?
    426 
    427 # Pseudo-Devices
    428 
    429 pseudo-device	crypto			# /dev/crypto device
    430 pseudo-device	swcrypto		# software crypto implementation
    431 
    432 # disk/mass storage pseudo-devices
    433 #pseudo-device	bio			# RAID control device driver
    434 #pseudo-device	ccd		4	# concatenated/striped disk devices
    435 pseudo-device	cgd		4	# cryptographic disk devices
    436 #pseudo-device	raid		8	# RAIDframe disk driver
    437 #options	RAID_AUTOCONFIG		# auto-configuration of RAID components
    438 # Options to enable various other RAIDframe RAID types.
    439 #options	RF_INCLUDE_EVENODD=1
    440 #options	RF_INCLUDE_RAID5_RS=1
    441 #options	RF_INCLUDE_PARITYLOGGING=1
    442 #options	RF_INCLUDE_CHAINDECLUSTER=1
    443 #options	RF_INCLUDE_INTERDECLUSTER=1
    444 #options	RF_INCLUDE_PARITY_DECLUSTERING=1
    445 #options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    446 #pseudo-device	fss		4	# file system snapshot device
    447 
    448 pseudo-device	md		1	# memory disk device (ramdisk)
    449 pseudo-device	vnd			# disk-like interface to files
    450 options		VND_COMPRESSION		# compressed vnd(4)
    451 
    452 # network pseudo-devices
    453 pseudo-device	bpfilter		# Berkeley packet filter
    454 #pseudo-device	carp			# Common Address Redundancy Protocol
    455 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    456 pseudo-device	loop			# network loopback
    457 pseudo-device	ppp			# Point-to-Point Protocol
    458 #pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    459 #pseudo-device	sl			# Serial Line IP
    460 #pseudo-device	strip			# Starmode Radio IP (Metricom)
    461 #pseudo-device	irframetty		# IrDA frame line discipline
    462 #pseudo-device	tap			# virtual Ethernet
    463 #pseudo-device	tun			# network tunneling over tty
    464 #pseudo-device	gre			# generic L3 over IP tunnel
    465 #pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    466 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    467 #pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    468 #pseudo-device	vlan			# IEEE 802.1q encapsulation
    469 #pseudo-device	bridge			# simple inter-network bridging
    470 #options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    471 #pseudo-device	agr			# IEEE 802.3ad link aggregation
    472 #pseudo-device	pf			# PF packet filter
    473 #pseudo-device	pflog			# PF log if
    474 
    475 # miscellaneous pseudo-devices
    476 pseudo-device	pty			# pseudo-terminals
    477 #pseudo-device	sequencer	1	# MIDI sequencer
    478 pseudo-device	rnd			# /dev/random and in-kernel generator
    479 options		RND_COM
    480 pseudo-device	clockctl		# user control of clock subsystem
    481 pseudo-device	ksyms			# /dev/ksyms
    482 pseudo-device	bcsp			# BlueCore Serial Protocol
    483 pseudo-device	btuart			# Bluetooth HCI UART (H4)
    484 					# connect with Ericsson Bluetooth Module
    485 
    486 # a pseudo device needed for Coda	# also needs CODA (above)
    487 pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    488 
    489 # a pseudo device needed for SMBFS
    490 pseudo-device	nsmb			# experimental - SMB requester
    491 
    492 # wscons pseudo-devices
    493 #pseudo-device	wsmux			# mouse & keyboard multiplexor
    494 #pseudo-device	wsfont
    495 
    496 # data mover pseudo-devices
    497 #pseudo-device	swdmover		# softare dmover(9) back-end
    498 #pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    499 
    500 # Veriexec
    501 #pseudo-device	veriexec
    502 #
    503 # Uncomment the fingerprint methods below that are desired. Note that
    504 # removing fingerprint methods will have almost no impact on the kernel
    505 # code size.
    506 #
    507 #options VERIFIED_EXEC_FP_RMD160
    508 #options VERIFIED_EXEC_FP_SHA256
    509 #options VERIFIED_EXEC_FP_SHA384
    510 #options VERIFIED_EXEC_FP_SHA512
    511 #options VERIFIED_EXEC_FP_SHA1
    512 #options VERIFIED_EXEC_FP_MD5
    513